Paul Schaub
|
1aa6541766
|
Merge branch 'key_generator_rework'
|
2021-09-20 14:50:02 +02:00 |
Paul Schaub
|
ce645fc429
|
Postpone decryption of PKESK if secret key passphrase is missing and try next PKESK first before passphrase retrieval using callback
Fixes #186
|
2021-09-15 16:33:03 +02:00 |
Paul Schaub
|
81379a5176
|
Add MessageInspector utility class which can be used to determine encryption keys for a message
|
2021-09-14 21:49:02 +02:00 |
Paul Schaub
|
21f424551b
|
Simplify KeySpecBuilder
|
2021-09-13 19:46:18 +02:00 |
Paul Schaub
|
0a45f4de9e
|
Add documentation to SignatureVerification class
|
2021-09-13 18:18:50 +02:00 |
Paul Schaub
|
f28232893c
|
Refactoring: Move cleartext signed message processing to decryption_verification
|
2021-09-13 18:09:53 +02:00 |
Paul Schaub
|
90a00e0541
|
Move signature verification to dedicated streams
|
2021-09-07 14:02:07 +02:00 |
Paul Schaub
|
ba0e5eb3fe
|
Improve readability of DecryptionStreamFactory
|
2021-09-06 17:15:17 +02:00 |
Paul Schaub
|
e81ee648d8
|
Clean DecryptionStream: We only ever have one IntegrityProtectedInputStream at most
|
2021-09-06 15:14:13 +02:00 |
Paul Schaub
|
97c8ff8312
|
Throw WrongConsumingMethodException when processing Cleartext Signed Messages with Inband Signature verification API and vice versa
|
2021-08-29 13:35:27 +02:00 |
Paul Schaub
|
943360aa65
|
Document OpenPgpMetadata class
|
2021-08-26 19:53:15 +02:00 |
Paul Schaub
|
1124c6fd15
|
Wip: Configure logback logging
|
2021-08-26 15:03:20 +02:00 |
Paul Schaub
|
200e00990b
|
Remove unused class and move detached sig initialization in own method
|
2021-08-23 14:27:02 +02:00 |
Paul Schaub
|
829068d5a8
|
Switch from JUL logging to SLF4J
|
2021-08-23 14:20:25 +02:00 |
Paul Schaub
|
03efb5e14c
|
Rename verifySignatureCreationTimeIsInBounds method
|
2021-08-18 14:50:01 +02:00 |
Paul Schaub
|
8c3b694a71
|
Refactoring
|
2021-08-18 13:19:43 +02:00 |
Paul Schaub
|
5a9b8a2c50
|
Verify notBefore and notAfter on any message signatures
|
2021-08-18 12:55:24 +02:00 |
Paul Schaub
|
099b160656
|
Native support for notBefore and notAfter signature creation time constraints
|
2021-08-17 14:47:07 +02:00 |
Paul Schaub
|
54a4625fed
|
fix comments and javadoc
|
2021-08-15 15:46:41 +02:00 |
Paul Schaub
|
e5b15fe0c2
|
Use String-formatting in Logger statements
|
2021-08-15 15:46:41 +02:00 |
Paul Schaub
|
ab951fcf03
|
InputStreams: overwrite read(b, off, len) for improved performance
|
2021-08-15 15:46:41 +02:00 |
Paul Schaub
|
5eb470862e
|
Remove OpenPgpMetadata.FileInfo subclass
|
2021-08-15 15:46:41 +02:00 |
Paul Schaub
|
fb16db5db4
|
Improve handling of signatures with missing issuerKeyId packets
|
2021-07-31 22:24:39 +02:00 |
Paul Schaub
|
107e53c03e
|
Fully drain ArmoredInputStreams to verify CRC checksum.
Fixes #159 (for real this time)
|
2021-07-27 15:09:59 +02:00 |
Paul Schaub
|
8cf5347b52
|
Base PGPainlessCLI on new sop-java module
* Rename pgpainless-sop -> pgpainless-cli
* Introduce sop-java (implementation-independent SOP API)
* Introduce sop-java-picocli (CLI frontend for sop-java)
* Introduce pgpainless-sop (implementation of sop-java using PGPainless)
* Rework pgpainless-cli (plugs pgpainless-sop into sop-java-picocli)
|
2021-07-15 17:03:56 +02:00 |
Paul Schaub
|
2ba782c451
|
Move file-related encryption-info into ProducerOptions
|
2021-07-10 12:22:47 +02:00 |
Paul Schaub
|
6a90c4303e
|
OpenPgpMetadat: identify verified sigs by SubkeyIdentifier
|
2021-07-04 13:08:24 +02:00 |
Paul Schaub
|
ab347dab43
|
Remove deprecated decryption API code
|
2021-06-29 16:15:36 +02:00 |
Paul Schaub
|
df22c2a102
|
Remove duplicate code and throw NotYetImplementedExceptions where sensible
|
2021-06-16 15:49:43 +02:00 |
Paul Schaub
|
88891e1337
|
Remove usage of deprecated decryption/verification API in tests
|
2021-06-16 15:38:02 +02:00 |
Paul Schaub
|
715d055b41
|
Add documentation and deprecate old methods
|
2021-06-15 17:56:36 +02:00 |
Paul Schaub
|
8f425cd31d
|
Fix parsing of non-OpenPGP messages when handling detached signatures
|
2021-06-15 17:35:58 +02:00 |
Paul Schaub
|
70c4dcd1d2
|
Begin introducing new Decryption API
|
2021-06-15 17:08:40 +02:00 |
Paul Schaub
|
9b9064beae
|
Small code style fixes and optimizations
|
2021-06-10 12:42:48 +02:00 |
Paul Schaub
|
845779d40b
|
Avoid deprecated methods
|
2021-06-10 12:42:03 +02:00 |
Paul Schaub
|
13c7572c8c
|
Restore functionality of MissingPublicKeyCallback + JUnit test it
|
2021-05-29 12:19:12 +02:00 |
Paul Schaub
|
ea03c66400
|
Throw MissingDecryptionMethodException when missing decryption key or -passphrase
|
2021-05-28 23:20:25 +02:00 |
Paul Schaub
|
197cfab0d6
|
Respect symmetric algorithm policy during decryption and throw UnacceptableAlgorithmException if policy is violated
|
2021-05-17 13:47:46 +02:00 |
Paul Schaub
|
5a56949dd7
|
Throw WrongPassphraseException when wrong passphrase is provided to unlock secret key
|
2021-05-14 13:18:34 +02:00 |
Paul Schaub
|
431a65517e
|
Add documentation to signature related classes
|
2021-05-03 13:37:47 +02:00 |
Paul Schaub
|
ec85f53bb6
|
Incorporate feedback from @IvanPizhenko. Thanks!
|
2021-04-30 10:23:12 +02:00 |
Paul Schaub
|
64cc9ecca4
|
Proper Signature Verification
|
2021-04-30 09:49:19 +02:00 |
Paul Schaub
|
6ee8a9416f
|
Prevent decryption of messages using SED instead of SEIP packets and create dedicated exceptions for MDC related errors
|
2021-04-27 12:27:25 +02:00 |
Paul Schaub
|
0b3511486c
|
Add documentation to DecryptionStream(Interface)
|
2021-04-25 13:34:30 +02:00 |
Paul Schaub
|
2c4a3fca6a
|
Introduce OpenPgpMetadata.FileInfo class for setting/getting file name, mod date, encoding...
|
2021-04-25 00:28:48 +02:00 |
Paul Schaub
|
81393a7285
|
Abort decryption process at a depth of 16 nested packets
|
2021-02-19 21:37:54 +01:00 |
Paul Schaub
|
217609679d
|
Add SignatureValidationUtil and NotationRegistry classes
|
2021-02-19 21:22:25 +01:00 |
Paul Schaub
|
ea89289852
|
Check MDC when stream is closed
|
2021-02-17 21:04:05 +01:00 |
Paul Schaub
|
d2a581de9b
|
Fix decryption of messages with Wildcard recipient
Fixes #76
|
2021-02-17 20:20:10 +01:00 |
Paul Schaub
|
506a8b18af
|
Reject NULL encryption algorithm when decrypting messages
Fixes #77
|
2021-02-17 20:07:54 +01:00 |