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

1517 commits

Author SHA1 Message Date
b5bd4875ae Use S2K usage SHA1 in GnuDummyKeyUtil 2022-11-03 11:56:38 +01:00
54ed7a5387 Add documentation to GnuDummyKeyUtil 2022-11-03 11:56:38 +01:00
489419459a Add and test GnuDummyKeyUtil 2022-11-03 11:56:38 +01:00
220f186336 Move CachingBcPublicKeyDataDecryptorFactoryTest to correct package 2022-11-03 11:56:38 +01:00
4b8367dcca Fix HardwareSecurity.getIdsOfHardwareBackedKeys() 2022-11-03 11:56:38 +01:00
09aaa9fa4e Fix CachingBcPublicKeyDataDecryptorFactory 2022-11-03 11:56:38 +01:00
1be4d8e5c4 Implement caching PublicKeyDataDecryptorFactory 2022-11-03 11:56:38 +01:00
d94fa6b74b Add comments 2022-11-03 11:56:38 +01:00
d5fcb3bc29 Add (commented-out) read(buf, off, len) implementation for DelayedTeeInputStream 2022-11-03 11:56:38 +01:00
6716e363c7 Allow injection of different syntax into PDA 2022-11-03 11:56:38 +01:00
291f59b9e4 Clean up old unused code 2022-11-03 11:56:38 +01:00
a0c8de57e9 More cleanup and better error reporting 2022-11-03 11:56:38 +01:00
3c94f3677f Rename *Alphabet to *Symbol and add javadoc 2022-11-03 11:56:38 +01:00
a9f67c508f Separate out syntax logic 2022-11-03 11:56:38 +01:00
c4e937c0f9 Improve syntax error reporting 2022-11-03 11:56:38 +01:00
0feafbf7ed Remove debugging fields 2022-11-03 11:56:38 +01:00
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