1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-16 17:32:06 +01:00
Commit graph

1501 commits

Author SHA1 Message Date
4aaecb7df8 Remove superfluous states 2022-11-03 11:56:38 +01:00
d8ff266406 Handle unknown packet versions gracefully 2022-11-03 11:56:38 +01:00
651ca93f90 Add missing REUSE license headers 2022-11-03 11:56:38 +01:00
08ceee9243 Wrap MalformedOpenPgpMessageException in BadData 2022-11-03 11:56:38 +01:00
160a5fe8ff Fix last two broken tests 2022-11-03 11:56:38 +01:00
4c6edc067b Fix more tests 2022-11-03 11:56:38 +01:00
2a4bc03555 Only check message integrity once 2022-11-03 11:56:38 +01:00
9ec4c47309 Delete old DecryptionStreamFactory 2022-11-03 11:56:38 +01:00
09d036f17b Fix CRCing test and fully depend on new stream for decryption 2022-11-03 11:56:38 +01:00
7aaeb8ccfd Further increase coverage of PDA class 2022-11-03 11:56:38 +01:00
bb1b154745 Add more direct PDA tests 2022-11-03 11:56:38 +01:00
9dbee67304 Rename automaton package to syntax_check 2022-11-03 11:56:38 +01:00
f67f1954e7 Add detailled logging to OpenPgpMessageInputStream 2022-11-03 11:56:38 +01:00
789a0086c9 Enable logging in tests 2022-11-03 11:56:38 +01:00
8fb8aa1a30 Throw UnacceptableAlgEx for unencrypted encData 2022-11-03 11:56:38 +01:00
0d62cea8a5 Implement custom decryptor factories in pda 2022-11-03 11:56:38 +01:00
a60917549d Identify custom decryptor factories by subkey id 2022-11-03 11:56:38 +01:00
02c68460a9 Make map final 2022-11-03 11:56:38 +01:00
24ed479b87 Change HardwareSecurity DecryptionCallback to emit key-id 2022-11-03 11:56:38 +01:00
0f5103577e Implement exploratory support for custom decryption factories
This may enable decryption of messages with hardware-backed keys
2022-11-03 11:56:38 +01:00
f15040dae0 WIP: Explore Hardware Decryption 2022-11-03 11:56:38 +01:00
0f768a7258 Work on postponed keys 2022-11-03 11:56:38 +01:00
5c61559647 Reuse *SignatureCheck class 2022-11-03 11:56:38 +01:00
0a7c76a2dd Enfore max recursion depth and fix CRC test 2022-11-03 11:56:38 +01:00
6324455cf5 Fix NPEs and expose decryption keys 2022-11-03 11:56:38 +01:00
513ab0e3ed Fix checkstyle issues 2022-11-03 11:56:38 +01:00
8a9ebdbb3e Reinstate integrity-protection and fix tests
Integrity Protection is now checked when reading from the stream,
not only when closing.
2022-11-03 11:56:38 +01:00
da6582e1d3 Properly expose signatures 2022-11-03 11:56:38 +01:00
78e607ab85 Cleaning up and collect signature verifications 2022-11-03 11:56:38 +01:00
f4ce669d44 It was the buffering. 2022-11-03 11:56:37 +01:00
ef310f201f Create TeeBCPGInputStream to move teeing logic out of OpenPgpMessageInputStream 2022-11-03 11:56:05 +01:00
c65e484bb4 2/3 the way to working sig verification 2022-11-03 11:56:05 +01:00
37dc362cc3 WIP: So close to working notarizations 2022-11-03 11:56:04 +01:00
b31d72bd65 Reformat KeyRingReader 2022-11-03 11:55:35 +01:00
9eea028cf7 Suppress DefaultCharset warning 2022-11-03 11:55:35 +01:00
17f90eb721 Convert links in javadoc to html 2022-11-03 11:55:35 +01:00
73cdf34b02 DO NOT MERGE: Disable broken test 2022-11-03 11:55:35 +01:00
6809a490c1 Remove unnecessary throws declarations 2022-11-03 11:55:34 +01:00
be8439532d Use BCs Arrays.constantTimeAreEqual(char[], char[]) 2022-11-03 11:54:24 +01:00
fe767389a0 Fix ModificationDetectionException by not calling PGPUtil.getDecoderStream() 2022-11-03 11:54:24 +01:00
9ba3fcd8b0 SIGNATURE VERIFICATION IN OPENPGP SUCKS BIG TIME 2022-11-03 11:53:43 +01:00
c40a7976e2 Wip 2022-11-03 11:53:43 +01:00
f614c325cb Wip: Work on OPS verification 2022-11-03 11:53:43 +01:00
7cb22f1530 Fix checkstyle issues 2022-11-03 11:53:43 +01:00
714e424eac Wip: Introduce MessageMetadata class 2022-11-03 11:53:43 +01:00
a3957d3372 WIP: Play around with TeeInputStreams 2022-11-03 11:53:43 +01:00
61949240b3 WIP: Add LayerMetadata class 2022-11-03 11:53:43 +01:00
ef33d9d584 Implement experimental signature verification (correctness only) 2022-11-03 11:53:43 +01:00
3ac17281ea Add read(b,off,len) 2022-11-03 11:53:43 +01:00
8625b2086c Clean close() method 2022-11-03 11:53:42 +01:00