Commit Graph

870 Commits

Author SHA1 Message Date
Paul Schaub 78269e0294
Fix reuse compliance 2021-10-29 21:01:12 +02:00
Paul Schaub 56d9067a0f
Create codeql-analysis.yml 2021-10-29 20:54:25 +02:00
Paul Schaub 5971cd35a0 Create SECURITY.md with information on how to report security issues 2021-10-29 20:50:57 +02:00
Paul Schaub a691ac65d1
PGPainless-0.2.20-SNAPSHOT 2021-10-29 20:35:32 +02:00
Paul Schaub d96b43220a
PGPainless 0.2.19 2021-10-29 20:30:00 +02:00
Paul Schaub a9a61bc799
Improve library usage of slf4j and logback.
Logback-classic is now a test dependency and is additionally declared as OPTIONAL runtime dependency.
Applications that don't want to use logback can now easily disable it by not explicitly depending on it.
2021-10-29 20:28:14 +02:00
Paul Schaub 2d364d0939
Replace OpenPgpV4Fingerprint with OpenPgpFingerprint in examples 2021-10-29 20:08:11 +02:00
Paul Schaub 3a9473ad6c
V5 Key-readyness: Replace usages of OpenPgpV4Fingerprint with abstract super class 2021-10-27 17:38:25 +02:00
Paul Schaub 383f51277e
Prepare for V5 keys: Extract abstract super class OpenPgpFingerprint from OpenPgpV4Fingerprint 2021-10-27 17:12:06 +02:00
Paul Schaub bc2afea7ed
Add toString() methods for SignatureVerification & failure 2021-10-27 17:11:40 +02:00
Paul Schaub e8bf2ea9e7
Add tests for message inspection 2021-10-27 15:54:50 +02:00
Paul Schaub aed06fc832
Add MessageInspector.determineEncryptionInfo(String) 2021-10-27 15:54:34 +02:00
Paul Schaub abdc5c8fdd
Fix license of KleopatraCompatibilityTest 2021-10-27 14:29:05 +02:00
Paul Schaub 4bf2031414
PGPainless-0.2.19-SNAPSHOT 2021-10-27 13:42:08 +02:00
Paul Schaub 40926b69f8
PGPainless 0.2.18 2021-10-27 13:34:33 +02:00
Paul Schaub 5c3fa28946 Fix Kleopatra Interoperability
The cause of this issue was that we skipped the first (proper) PKESK and instead tried to decrypt
the wildcard PKESKs.

Furthermore, we had an issue in MessageInspector which read past the PKESK packets
2021-10-27 13:26:49 +02:00
Paul Schaub 4857056986 Add failing Kleopatra interoperability test 2021-10-27 13:26:49 +02:00
Paul Schaub 3fd929916d
EncryptionOptions: Change return val of overrideEncryptionAlgorithm to EncryptionOptions 2021-10-26 23:06:41 +02:00
Paul Schaub 963a8170da
Fix decryption of signed messages created with PGPainless < 0.2.10 2021-10-23 16:44:40 +02:00
Paul Schaub 2b2639bde7
Fix checkstyle issues 2021-10-20 21:37:48 +02:00
Paul Schaub a8998f27ad
Introduce HashAlgorithmNegotiator 2021-10-20 21:26:47 +02:00
Paul Schaub 3f31b076dd
PGPainless-0.2.18-SNAPSHOT 2021-10-20 15:30:37 +02:00
Paul Schaub 2435e2e130
PGPainless 0.2.17 2021-10-20 15:25:26 +02:00
Paul Schaub 3de69b83e7
Small README fixes 2021-10-20 14:33:41 +02:00
Paul Schaub f05be3dc30
Fix prematurely throwing of MissingPassphraseException 2021-10-19 18:13:23 +02:00
Paul Schaub b7bf722ecf
PGPainless-0.2.17-SNAPSHOT 2021-10-18 16:28:52 +02:00
Paul Schaub c6f9c723ee
PGPainless 0.2.16 2021-10-18 16:24:22 +02:00
Paul Schaub dc0b96278e
Add javadoc 2021-10-18 16:19:12 +02:00
Paul Schaub 2ad917d27c
Add ConsumerOptions.setMissingKeyPassphraseStrategy()
This allows switching missing passphrase handling from interactive mode
(fire callbacks to prompt user for missing key passphrases) to non-interactive mode
(throw MissingPassphraseException with all keys with missing passphrase in it).

Fixes #193
2021-10-18 16:01:19 +02:00
Paul Schaub bebb9709ac
Add tests for how unbound subkeys are handled in KeyRingInfo 2021-10-14 16:16:06 +02:00
Paul Schaub 23b714f61b
Only consider validly bound subkeys when determining latest key creation date 2021-10-14 16:15:42 +02:00
Paul Schaub aef213a672
Fix AssertionError when determining encryption subkeys from set containing unbound key 2021-10-14 15:53:49 +02:00
Paul Schaub 5ea8294a60
Improve javadoc of Feature class 2021-10-14 15:27:01 +02:00
Paul Schaub 4e16cf13c5
Remove unused subclass 2021-10-12 15:31:38 +02:00
Paul Schaub b04ecc4eef
Further increase coverage of KeyRingInfo 2021-10-12 14:56:24 +02:00
Paul Schaub ee1d38a38a
Increase test coverage for KeyRingInfo 2021-10-12 14:18:59 +02:00
Paul Schaub bbc68e9803
Fix Picking of Subkey Revocation Signatures 2021-10-12 14:04:23 +02:00
Paul Schaub 15736586dd
SOP: Add convenience methods to deal with byte arrays 2021-10-10 16:34:17 +02:00
Paul Schaub 32f3f0246e
Declare gradle license via .reuse/dep5 2021-10-08 14:52:37 +02:00
Paul Schaub 2bf8e5ecd7
PGPainless-0.2.16-SNAPSHOT 2021-10-08 14:20:44 +02:00
Paul Schaub bf80e9262f
PGPainless 0.2.15 2021-10-08 14:14:02 +02:00
Paul Schaub 33f516efe8
Fix detection of signed messages when verification keys are missing
Fixes #187, supersedes #189
2021-10-08 14:03:12 +02:00
Paul Schaub 0c122c1643
Add REUSE badge to README 2021-10-07 16:31:46 +02:00
Paul Schaub a4d1a95c59 Fix typo 2021-10-07 16:28:41 +02:00
Paul Schaub bb0873f1e4 Add reuse tool to CI 2021-10-07 16:28:31 +02:00
Paul Schaub a28033cd65 Add licenses for external dependencies to LICENSE file 2021-10-07 16:28:31 +02:00
Paul Schaub e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
Paul Schaub 722477673d
Fix hen and egg problem with signature detaching in SOP 2021-10-04 16:48:27 +02:00
Paul Schaub 620959abc6
Some more pgpainless-sop tests 2021-10-04 16:28:56 +02:00
Paul Schaub 637bd18ca6
Add ArmorTest 2021-10-04 16:03:24 +02:00