Paul Schaub
0515c38133
gradle jar: define duplicate-strategy
2021-11-15 13:03:00 +01:00
Paul Schaub
19b1a0238d
Fix API for accessing preferred algorithms
2021-11-15 13:02:26 +01:00
Paul Schaub
8a40cdeefb
Update changelog
2021-11-15 11:22:05 +01:00
Paul Schaub
c68cdc4e31
Fix compile-time dependency of pgpainless-{core|sop} on logback-classic
...
Fixes #214
2021-11-14 14:26:34 +01:00
Paul Schaub
021fd7846e
Rename user-id deletion methods
2021-11-13 16:05:55 +01:00
Paul Schaub
74609e0ef7
Add another test for deletion of non-existent user-ids from key
2021-11-12 16:56:27 +01:00
Paul Schaub
d036cf2593
Add tests for KeyRingUtils.deleteUserIdFrom*KeyRing methods
2021-11-12 16:56:27 +01:00
Paul Schaub
0f77d81bd1
Add deprecated utility methods for deleting user-ids from keys/certificates
2021-11-12 16:56:27 +01:00
Paul Schaub
e4d1aa7edf
Remove support for deleting user-ids and subkeys. Use revoke* instead.
2021-11-12 16:56:27 +01:00
Paul Schaub
2ac10e7bc7
Rename method to set'Key'ExpirationDateInSubpacketGenerator()
2021-11-06 17:39:04 +01:00
Paul Schaub
d9ef55e22f
PGPainless-1.0.0-rc2-SNAPSHOT
2021-11-02 13:07:15 +01:00
Paul Schaub
87d7a37e26
PGPainless 1.0.0-rc1
2021-11-02 13:01:43 +01:00
Paul Schaub
c20b8c7a0c
Update README
2021-11-02 12:25:52 +01:00
Paul Schaub
03a350d279
Separate key generation from scratch and from templates in to buildKeyRing() and generateKeyRing()
2021-11-02 12:23:05 +01:00
Paul Schaub
59c9ec341e
Hide distinction between clearsigned and inline signed message verification
2021-11-02 12:12:29 +01:00
Paul Schaub
bd67d9c0fa
Rename EncryptionPurpose.STORAGE_AND_COMMUNICATION -> ANY
2021-11-02 11:30:44 +01:00
Paul Schaub
cf1881a140
Fix detection of non-armored data
2021-10-30 15:00:04 +02:00
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