Inline OpenPGP and PGP/MIME¶
GnuPG can sign cleartext. For email, select an interoperable MIME profile in the client.
Setup¶
Prepare your values and Debian packages. CLI tests use only your local test files and configuration.
Prepare OpenPGP. Select PGP/MIME in the mailclient; inline PGP is a different format. RateMyMail recognizes inline declarations but does not verify them.
Test¶
set -euo pipefail
export GNUPGHOME=/root/mail-pgp
gpg --batch --yes --pinentry-mode loopback --passphrase-file /root/mail-pgp/passphrase \
--clearsign --output /root/mail-pgp/inline.asc /root/mail-pgp/message.txt
gpg --verify /root/mail-pgp/inline.asc
echo 'GnuPG verifies the inline signature; this does not enable an inline verifier in RateMyMail.'
This CLI test confirms the local behavior described above. For production, send your own message using the actual client and MTA through the real sending route and verify it at a recipient you control.