Armor headers
Albert Reiner
areiner at tph.tuwien.ac.at
Sat Oct 8 16:34:26 CEST 2005
[lusfert <lusfert at gmail.com>, Sat, 08 Oct 2005 16:15:43 +0400]:
> How can I change text (not by manually editing) in armor headers (for
> example, "Version:") or armor headers themselves (add, remove)? Will it
> affect compatibility with other applications?
Not an expert, but I don't think you can put custom text into the
"Version:" field, but you can omit it and put custom text into a
"Comment:" field:
$ echo | gpg --armor --encrypt --recip z --trust-model always
--comment 'hi there' --no-emit-version
-----BEGIN PGP MESSAGE-----
Comment: hi there
hQEOAySceYtaaKyoEAP7BRdkZhUotlFOHtp891NG1aSO0727JKiSE/C8l9P2oKgm
tnwhctB29507aDOqxsA20ZWl7VqmoJ3lMwQpvZ4iKsCzcoi2i7sH8eU1glozqVKv
K0hPYPsKCyHz/Wjn7Yo243CP9ulktwN10MAsGuojQjg9XPcMm3DEgphcHFKk+KID
/RWu7taGDOj+1oYyzPNiElHUoHgS0IDeFE+bDf6VB6M6nysOqwwdVAzSdILi/vts
mz59hZQ1MEDl6PzitDBiID6jKuC7PwB+kP1hJOQKYLfjpkJb+76tjzSdvdHLijve
Upxvgkj///I5lfxOvmk6ypBC8uDBc6wCCFHKwLLAO9Xx0jwBEG+yymDUq5pmVFzd
UxwQlvD7Z/NqJauti9AtvFhDGB3ocGFY9ew7hLkTG6ldLMaaXgRkeQi1G8+v7xg=
=Ntod
-----END PGP MESSAGE-----
HTH,
Albert.
More information about the Gnupg-users
mailing list