1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-10 14:35:59 +01:00
Commit graph

2161 commits

Author SHA1 Message Date
8f6227c14b Rework some tests to use MessageMetadata 2022-11-23 20:42:54 +01:00
39f8f89fe0 Add convenience methods to MessageMetadata 2022-11-23 20:42:54 +01:00
3ae2afcfa0 Update changelog 2022-11-23 20:42:54 +01:00
616e14d043 Enable tests for unsupported s2k identifiers 2022-11-23 20:42:54 +01:00
24ec665f76 Bump bcpg to 1.72.3 2022-11-23 20:42:53 +01:00
e4560ac5b5 Cleartext Signaure Framework: Support for multiple Hash: headers 2022-11-23 20:42:17 +01:00
a19fc9ebda Add tests for inline-detach 2022-11-23 20:42:17 +01:00
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
75c39c2fde Add tests for inline-verify 2022-11-23 20:42:17 +01:00
508864c4ff Add test for inline-sign --as=text 2022-11-23 20:42:17 +01:00
ce929fd055 Add inline-verify test for message without verifiable signatures 2022-11-23 20:42:17 +01:00
a9014f1985 Add disabled test for broken data during dearmor 2022-11-23 20:42:17 +01:00
b9f985a84c Add tests for SOP decrypt 2022-11-23 20:42:17 +01:00
de76f4b3a9 Fix indentation for CLI tests 2022-11-23 20:42:17 +01:00
b9152d5cde SOP: Add test to ensure that armoring already-armored data is idempotent 2022-11-23 20:42:17 +01:00
6ba7e91f2a Add documentation and removal-TODO to old OpenPgpMetadata class 2022-11-23 20:42:17 +01:00
4e4c095d8d Rename tests to end in Test 2022-11-23 20:42:17 +01:00
b95568f30a Rename IgnoreMarkerPacketsTest 2022-11-23 20:42:17 +01:00
8faec25ecf Enable previously disabled test for marker+seipd packet processing 2022-11-23 20:42:17 +01:00
fd2f6523ec More specific exception message for when nesting depth is exceeded 2022-11-23 20:42:17 +01:00
1437604836 Add documentation to DecryptionStream 2022-11-23 20:42:17 +01:00
70cca563d7 Add javadoc to getMetadata() and getResult() 2022-11-23 20:42:17 +01:00
33d9a784bb Add javadoc to MEssageMetadata class 2022-11-23 20:42:17 +01:00
3023d532e3 Make DecryptionStream.getMetadata() first-class, deprecate getResult() 2022-11-23 20:42:17 +01:00
e976cc6dd2 Move getResult() method around 2022-11-23 20:42:17 +01:00
03d04fb324 Tests: Replace usages of default algorithm policies with specific policies 2022-11-23 20:42:17 +01:00
847d4b5e33 Update SECURITY.md 2022-11-23 20:42:17 +01:00
936a3f654f Docs: Add usage examples for pgpainless-cli 2022-11-23 20:42:17 +01:00
38a2162d6a Docs: Document generation/updating of man pages 2022-11-23 20:42:17 +01:00
bfeed54ede Docs: Update output of pgpainless-cli help command 2022-11-23 20:42:17 +01:00
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
093d786329 Doc: Add section about indirect data types 2022-11-23 20:42:17 +01:00
90c3a01577 Add test to verify proper functionality of MatchMakingSecretKeyRingProtector 2022-11-23 20:42:17 +01:00
3877410a65 Update CHANGELOG 2022-11-23 20:42:17 +01:00
d7e4fcaec6 OpenPgpMessageInputStream: Source verification certs from ConsumerOptions.getCertificateSource() 2022-11-23 20:42:17 +01:00
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
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
c19b8297a3 Add TODO for when bumping cert-d-java 2022-11-23 20:42:17 +01:00
4594b494a9 Implement signature verification with certificate stores as cert source 2022-11-23 20:42:17 +01:00
22abb62443 Add test for encryption to cert from certificate store 2022-11-23 20:42:17 +01:00
d0277fbbec Bump cert-d-java to 0.2.0 2022-11-23 20:42:17 +01:00
6dc5b84d66 Depend on pgp-certificate-store again 2022-11-23 20:42:17 +01:00
d486a17cf1 Implement EncryptionOptions.addRecipient(store, fingerprint) 2022-11-23 20:42:17 +01:00
b287d28a28 Depend on pgp-certificate-store 2022-11-23 20:42:17 +01:00
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
5524596082 Add more tests for sop code 2022-11-23 20:42:17 +01:00
2dc72d7690 Update CHANGELOG 2022-11-23 20:42:17 +01:00
6dcc1e68cd Fix expected exception in roundtrip test 2022-11-23 20:42:17 +01:00
963b678a9e Enable test for decryption of messages without ESKs 2022-11-23 20:42:17 +01:00