Name Description Size Coverage
data -
test_alias.js Tests for OpenPGP encryption alias rules. 9488 -
test_badKeys.js Tests for bad OpenPGP keys. 8832 -
test_encryptAndOrSign.js Tests for RNP.encryptAndOrSign(). 7142 -
test_externalGnuPGSigning.js Tests signing with a secret key that is managed by an external GnuPG installation, which we drive through GPGME. A gpg executable and a loadable gpgme library are required. If either is missing, the tasks are skipped. If both are present, the results are checked strictly. The external GnuPG is configured for RFC 4880 compliance, tests must not depend on LibrePGP extensions. 9696 -
test_externalSigningKey.js Tests for selecting a signing key when the secret key is managed externally (e.g. by GnuPG), so that only the public key is available in our own keyring. 1695 -
test_integrityProtection.js Tests for the integrity-protection signal RNP.decrypt() reports for bug 1994709. Remote content may be permitted for an encrypted OpenPGP message only when RNP confirms the message was integrity protected (MDC/SEIPD v1 or AEAD/SEIPD v2); RNP signals this via EnigmailConstants.EXT_INTEGRITY_PROTECTED in the result's extStatusFlags. These tests also cover security invariant #1 (verify before render): when integrity verification fails, RNP must NOT return decrypted plaintext. 5800 -
test_revocation.js Tests regarding revocations of OpenPGP keys. 1086 -
test_secretKeys.js Tests for secret keys. 11969 -
test_strip.js Tests stripping keys. 3516 -
test_uid.js Tests for OpenPGP encryption alias rules. 2917 -
xpcshell.toml 439 -