1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-05 20:15:59 +01:00
Commit graph

1526 commits

Author SHA1 Message Date
b216fd9d10
PGPainless 1.4.0-rc1 2022-11-03 12:34:52 +01:00
e2fc9ccb9c
Update changelog 2022-11-03 12:29:50 +01:00
cdef935974
Add comment for ArmorUtils method 2022-11-03 12:07:26 +01:00
c20e80f716 Implement efficient read(buf,off,len) for DelayedInputStream 2022-11-03 12:04:40 +01:00
dfb7d068bd Small clean-ups in OpenPgpMessageInputStream 2022-11-03 11:56:38 +01:00
3e120fbf7f Properly handle failed decryption caused by removed private keys 2022-11-03 11:56:38 +01:00
25fd3fa1d6 Move classes related to GNU dummy keys to gnupg package 2022-11-03 11:56:38 +01:00
b74e7bcb7c Add test for decryption with removed private key 2022-11-03 11:56:38 +01:00
3b9159e632 Rename GnuPGDummyExtension + GnuPGDummyKeyUtil 2022-11-03 11:56:38 +01:00
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