Commit Graph

1710 Commits

Author SHA1 Message Date
Paul Schaub 39f8f89fe0 Add convenience methods to MessageMetadata 2022-11-23 20:42:54 +01:00
Paul Schaub 3ae2afcfa0 Update changelog 2022-11-23 20:42:54 +01:00
Paul Schaub 616e14d043 Enable tests for unsupported s2k identifiers 2022-11-23 20:42:54 +01:00
Paul Schaub 24ec665f76 Bump bcpg to 1.72.3 2022-11-23 20:42:53 +01:00
Paul Schaub e4560ac5b5 Cleartext Signaure Framework: Support for multiple Hash: headers 2022-11-23 20:42:17 +01:00
Paul Schaub a19fc9ebda Add tests for inline-detach 2022-11-23 20:42:17 +01:00
Paul Schaub ab82a638cc Add tests for inline-sign 2022-11-23 20:42:17 +01:00
GregorGott a34f46b6c6 Correct method name
Correct `verifyWith()` to `verifyWithCert()´
2022-11-23 20:42:17 +01:00
Paul Schaub 75c39c2fde Add tests for inline-verify 2022-11-23 20:42:17 +01:00
Paul Schaub 508864c4ff Add test for inline-sign --as=text 2022-11-23 20:42:17 +01:00
Paul Schaub ce929fd055 Add inline-verify test for message without verifiable signatures 2022-11-23 20:42:17 +01:00
Paul Schaub a9014f1985 Add disabled test for broken data during dearmor 2022-11-23 20:42:17 +01:00
Paul Schaub b9f985a84c Add tests for SOP decrypt 2022-11-23 20:42:17 +01:00
Paul Schaub de76f4b3a9 Fix indentation for CLI tests 2022-11-23 20:42:17 +01:00
Paul Schaub b9152d5cde SOP: Add test to ensure that armoring already-armored data is idempotent 2022-11-23 20:42:17 +01:00
Paul Schaub 6ba7e91f2a Add documentation and removal-TODO to old OpenPgpMetadata class 2022-11-23 20:42:17 +01:00
Paul Schaub 4e4c095d8d Rename tests to end in Test 2022-11-23 20:42:17 +01:00
Paul Schaub b95568f30a Rename IgnoreMarkerPacketsTest 2022-11-23 20:42:17 +01:00
Paul Schaub 8faec25ecf Enable previously disabled test for marker+seipd packet processing 2022-11-23 20:42:17 +01:00
Paul Schaub fd2f6523ec More specific exception message for when nesting depth is exceeded 2022-11-23 20:42:17 +01:00
Paul Schaub 1437604836 Add documentation to DecryptionStream 2022-11-23 20:42:17 +01:00
Paul Schaub 70cca563d7 Add javadoc to getMetadata() and getResult() 2022-11-23 20:42:17 +01:00
Paul Schaub 33d9a784bb Add javadoc to MEssageMetadata class 2022-11-23 20:42:17 +01:00
Paul Schaub 3023d532e3 Make DecryptionStream.getMetadata() first-class, deprecate getResult() 2022-11-23 20:42:17 +01:00
Paul Schaub e976cc6dd2 Move getResult() method around 2022-11-23 20:42:17 +01:00
Paul Schaub 03d04fb324 Tests: Replace usages of default algorithm policies with specific policies 2022-11-23 20:42:17 +01:00
Paul Schaub 847d4b5e33 Update SECURITY.md 2022-11-23 20:42:17 +01:00
Paul Schaub 936a3f654f Docs: Add usage examples for pgpainless-cli 2022-11-23 20:42:17 +01:00
Paul Schaub 38a2162d6a Docs: Document generation/updating of man pages 2022-11-23 20:42:17 +01:00
Paul Schaub bfeed54ede Docs: Update output of pgpainless-cli help command 2022-11-23 20:42:17 +01:00
Paul Schaub b7478729b1 Update man pages
Since commit 0e777de14f927ad4b265adfc5ba201be29b1bde1 in pgpainless/sop-java,
man page generation is reproducible.
This very commit adopts reproducible man pages for the first time
2022-11-23 20:42:17 +01:00
Paul Schaub 093d786329 Doc: Add section about indirect data types 2022-11-23 20:42:17 +01:00
Paul Schaub 90c3a01577 Add test to verify proper functionality of MatchMakingSecretKeyRingProtector 2022-11-23 20:42:17 +01:00
Paul Schaub 3877410a65 Update CHANGELOG 2022-11-23 20:42:17 +01:00
Paul Schaub d7e4fcaec6 OpenPgpMessageInputStream: Source verification certs from ConsumerOptions.getCertificateSource() 2022-11-23 20:42:17 +01:00
Paul Schaub a792952845 Remove code to manually throw NSEE for missing certs
This is now done further down in the store itself
2022-11-23 20:42:17 +01:00
Paul Schaub 43e0f43bd9 Bump cert-d-java to 0.2.1 and cert-d-pgpainless to 0.2.0 2022-11-23 20:42:17 +01:00
Paul Schaub c19b8297a3 Add TODO for when bumping cert-d-java 2022-11-23 20:42:17 +01:00
Paul Schaub 4594b494a9 Implement signature verification with certificate stores as cert source 2022-11-23 20:42:17 +01:00
Paul Schaub 22abb62443 Add test for encryption to cert from certificate store 2022-11-23 20:42:17 +01:00
Paul Schaub d0277fbbec Bump cert-d-java to 0.2.0 2022-11-23 20:42:17 +01:00
Paul Schaub 6dc5b84d66 Depend on pgp-certificate-store again 2022-11-23 20:42:17 +01:00
Paul Schaub d486a17cf1 Implement EncryptionOptions.addRecipient(store, fingerprint) 2022-11-23 20:42:17 +01:00
Paul Schaub b287d28a28 Depend on pgp-certificate-store 2022-11-23 20:42:17 +01:00
Paul Schaub 86c7229172 Do not reject bnacksig signatures when they predate subkey binding date
Fixes #334

SOP verify: force data to be non-openpgp data

Update changelog

SOP: Unify key/certificate reading code

Fix key/password matching in SOPs detached sign command

Rework CLI tests

update changelog

PGPainless 1.3.11

PGPainless 1.3.12-SNAPSHOT

Merge branch 'release/1.3'
2022-11-23 20:42:17 +01:00
Paul Schaub 5524596082 Add more tests for sop code 2022-11-23 20:42:17 +01:00
Paul Schaub 2dc72d7690 Update CHANGELOG 2022-11-23 20:42:17 +01:00
Paul Schaub 6dcc1e68cd Fix expected exception in roundtrip test 2022-11-23 20:42:17 +01:00
Paul Schaub 963b678a9e Enable test for decryption of messages without ESKs 2022-11-23 20:42:17 +01:00
Paul Schaub 59e81dc514 Use BCs PGPEncryptedDataList.extractSessionKeyEncryptedData() for decryption with session key 2022-11-23 20:42:17 +01:00