1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-24 13:22:06 +01:00
Commit graph

2074 commits

Author SHA1 Message Date
68886613a6
SOP KeyReader: wrap IOException in BadData 2022-11-24 22:14:06 +01:00
5bdd4f6ad0
Test rejection of messages with unacceptable skesk kek algorithm 2022-11-24 22:09:22 +01:00
a495f2275c
Precise error message for IntegrityProtectedInputStream 2022-11-24 21:34:25 +01:00
c72b3a4b8e Improve CachingBcPublicKeyDataDecryptorFactoryTest 2022-11-23 20:42:54 +01:00
be7349f0b5 Clean up CachingBcPublicKeyDataDecryptorFactory 2022-11-23 20:42:54 +01:00
b495e602e5 More precise error message for malformed message 2022-11-23 20:42:54 +01:00
25190fc5df SOP: Use new MessageMetadata class 2022-11-23 20:42:54 +01:00
b36b5413e2 Fix isEncryptedFor() 2022-11-23 20:42:54 +01:00
2c7801b759 Add MatchMakingSecretKeyRingProtectorTest 2022-11-23 20:42:54 +01:00
27fd15a012 Update examples with new MessageMetadata class 2022-11-23 20:42:54 +01:00
f005885318 Add MessageMetadata.isVerifiedSigned() and .getVerifiedSignatures() 2022-11-23 20:42:54 +01:00
c031ea9285 Remove empty newlines 2022-11-23 20:42:54 +01:00
6926cedf61 Fix compilation errors and simplify LayerIterator by introducing Packet interface 2022-11-23 20:42:54 +01:00
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