From 8a1a6026fb9b0e2ee0b1ee859a207cce0ec2e232 Mon Sep 17 00:00:00 2001 From: "Tammi L. Coles" Date: Fri, 16 Feb 2024 15:11:10 +0100 Subject: [PATCH] fix display of space-example --- book/source/adv/certificates.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/book/source/adv/certificates.md b/book/source/adv/certificates.md index 135baa2..2762235 100644 --- a/book/source/adv/certificates.md +++ b/book/source/adv/certificates.md @@ -190,14 +190,14 @@ Overall, certificate minimization for email presents a promising approach to enh [^space-example]: This example demonstrates how to minimize a certificate using GnuPG commands, targeting only relevant components: -```sh -gpg --export-options export-minimal,export-clean,no-export-attributes \ - --export-filter keep-uid=mbox=wiktor@metacode.biz \ - --export-filter 'drop-subkey=expired -t || revoked -t || usage =~ a' \ - --export wiktor@metacode.biz -``` -The process significantly reduces the certificate size from 152,322 bytes to just 3,771 bytes, demonstrating a substantial decrease in size by over 40 times. Such minimization is particularly crucial in contexts with strict size limitations, like embedding certificate data in email headers. + ```sh + gpg --export-options export-minimal,export-clean,no-export-attributes \ + --export-filter keep-uid=mbox=wiktor@metacode.biz \ + --export-filter 'drop-subkey=expired -t || revoked -t || usage =~ a' \ + --export wiktor@metacode.biz + ``` + The process significantly reduces the certificate size from 152,322 bytes to just 3,771 bytes, demonstrating a substantial decrease in size by over 40 times. Such minimization is particularly crucial in contexts with strict size limitations, like embedding certificate data in email headers. ## Identifying certificates: Fingerprints and Key IDs