11c1c54111
Kotlin conversion: ProviderFactory
2023-10-09 12:49:17 +02:00
1cdce5c93a
Kotlin conversion: ImplementationFactory classes
2023-10-09 12:49:17 +02:00
d707dcf74a
Move now unused utility classes to test directory
2023-10-09 12:49:17 +02:00
841b386226
Kotlin conversion: MultiMap
...
Warning: This commit changes the semantics of MultiMap.put()
put() now replaces values, while plus() adds them.
2023-10-09 12:49:16 +02:00
c9f988b2d1
Kotlin conversion: SelectUserId
2023-10-09 12:49:15 +02:00
68ac5af255
Kotlin conversion: UserId
2023-10-09 12:49:13 +02:00
ec8ae3eff0
Kotlin conversion: SecretKeyRingEditor
2023-10-09 12:49:13 +02:00
76cf6173e8
Add test for OpenPgpFingerprint.getBytes()
2023-10-09 12:49:12 +02:00
85e2fe956a
Add test for SubkeyIdentifier.isPrimaryKey()
2023-10-09 12:45:47 +02:00
1234c8800a
Kotlin conversion: MissingPublicKeyCallback
2023-10-09 12:44:23 +02:00
4cfdcca2e0
Kotlin conversion: MessageMetadata
2023-10-09 12:44:23 +02:00
d075ed6637
Kotlin conversion: PGPKeyRingCollection
2023-10-09 12:44:21 +02:00
f3ea9f62e1
Kotlin conversion: EncryptionOptions
2023-10-09 12:44:21 +02:00
5fce443ad9
Kotlin conversion: SecretKeyRingProtector and subclasses
2023-10-09 12:44:19 +02:00
1a701333e3
Remove deprecated OpenPgpMetadata class
2023-10-09 12:29:33 +02:00
4a19e6ca20
WIP: Kotlin conversion: ConsumerOptions
2023-10-09 12:29:32 +02:00
1ab5377f70
Rename syntax checker enums to screaming snake case
2023-10-09 12:29:31 +02:00
64dfefc9e7
Remove usage of PublicKeyAlgorithm.EC
2023-10-09 12:22:02 +02:00
bf6c89af64
Test usability of keyflag-less key
2023-10-09 12:09:22 +02:00
1b96919d84
Allow generation of keys with empty key flags.
...
Forbid certification of thirdparty certificates if CERTIFY_OTHERS flag is missing
2023-10-09 12:02:10 +02:00
41dfe71994
Pad long KeyIDs with zeros to 16 chars
2023-09-04 14:18:13 +02:00
16a4836f8a
Override evaluation date in test with expiring key
2023-08-03 14:51:43 +02:00
975d59c5a9
Add method to allow for encryption for keys with missing keyflags.
...
There are legacy keys around, which do not carry any key flags.
This commit adds a method to EncryptionOptions that allow PGPainless to encrypt
for such keys.
Fixes #400
2023-08-03 14:04:40 +02:00
8cdb7ee4e0
Add more tests for V6 fingerprints
2023-08-01 15:29:24 +02:00
30481cd510
Fix unreliable unit test
...
Fixes #389
2023-07-07 11:07:14 +02:00
bbdb300814
Add test to verify correct behavior dealing with non-utf8 userID
2023-07-07 10:42:32 +02:00
f7576abd35
Minimal revocation certificate test: Test merging
2023-06-20 17:37:18 +02:00
53d6260210
Implement method to create minimal revocation certificate.
...
Fixes #386
2023-06-20 17:30:19 +02:00
2a7c6af022
Rename SecretKeyRingEditor.createRevocationCertificate() to createRevocation()
2023-06-20 16:41:46 +02:00
82cea93e7b
Replace JcaPGPObjectFactory with custom PGPObjectFactory.
...
Workaround for https://github.com/bcgit/bc-java/issues/1428
2023-06-15 15:20:08 +02:00
2b119e8214
Basic V6 parsing test (only check non-crashing)
2023-06-15 14:41:41 +02:00
6b145475a8
Add test for anonymous recipients
2023-06-15 14:28:56 +02:00
383c9799c3
Add test for minimal revocation certificate
2023-06-13 19:46:56 +02:00
814421fe79
Test constructor of RevocationState.softRevoked() requires non-null date
2023-06-12 15:04:57 +02:00
b9c2e8dfe9
Add test for weak public key behavior
2023-06-12 14:27:07 +02:00
1fca51d771
SigningOptions: Add methods to sign with a single, chosen signing subkey
2023-06-08 14:04:06 +02:00
d3ef513960
Fix checkstyle issues
2023-06-05 21:12:16 +02:00
41e663e25b
Allow setting custom version header when encrypting/signing message
2023-06-05 20:18:06 +02:00
add1b89019
Add test for MultiMap.putAll()
2023-06-05 19:44:58 +02:00
324302c536
Add MultiMap.flatten()
2023-06-05 19:44:47 +02:00
41d734f2db
ProviderFactory: Provide default implementation of _getProviderName()
2023-06-05 19:30:14 +02:00
e1038a8bb3
Replace more occurrences of new Date().getTime() with System.currentTimeMillis()
2023-06-02 00:03:55 +02:00
d25e7419c9
Replace new Date().getTime() with System.getCurrentTimeMillis()
2023-06-02 00:01:34 +02:00
528591f906
Key generation: Set default expiration periof of 5 years
...
Can be changed by calling 'keyRingBuilder.setExpirationDate(null);'
2023-06-01 23:43:41 +02:00
be5562d273
Fix typo in feature name
2023-05-30 14:51:32 +02:00
55058d6070
Rename GNUPG features
2023-05-22 14:37:02 +02:00
92a5e559f8
Earlier catching of NPEs in tests
2023-05-03 17:26:21 +02:00
495ff6aa5d
Fix javadoc reference
2023-05-03 17:25:19 +02:00
005b9d477a
KeyRingReader: Remove unused @throws IOException
2023-05-03 17:23:13 +02:00
5c76f9046f
Turn empty catch block into test failure
2023-05-03 17:16:10 +02:00