Paul Schaub
|
69f1028fd9
|
Add method to change expiration time of subkeys
Port of e06f60f62c to kotlin
|
2023-12-15 18:20:51 +01:00 |
Paul Schaub
|
481dfac455
|
Revert PassphraseProvider API change
|
2023-11-15 19:23:52 +01:00 |
Paul Schaub
|
68ac5af255
|
Kotlin conversion: UserId
|
2023-10-09 12:49:13 +02:00 |
Paul Schaub
|
ec8ae3eff0
|
Kotlin conversion: SecretKeyRingEditor
|
2023-10-09 12:49:13 +02:00 |
Paul Schaub
|
76cf6173e8
|
Add test for OpenPgpFingerprint.getBytes()
|
2023-10-09 12:49:12 +02:00 |
Paul Schaub
|
85e2fe956a
|
Add test for SubkeyIdentifier.isPrimaryKey()
|
2023-10-09 12:45:47 +02:00 |
Paul Schaub
|
d075ed6637
|
Kotlin conversion: PGPKeyRingCollection
|
2023-10-09 12:44:21 +02:00 |
Paul Schaub
|
5fce443ad9
|
Kotlin conversion: SecretKeyRingProtector and subclasses
|
2023-10-09 12:44:19 +02:00 |
Paul Schaub
|
1a701333e3
|
Remove deprecated OpenPgpMetadata class
|
2023-10-09 12:29:33 +02:00 |
Paul Schaub
|
64dfefc9e7
|
Remove usage of PublicKeyAlgorithm.EC
|
2023-10-09 12:22:02 +02:00 |
Paul Schaub
|
bf6c89af64
|
Test usability of keyflag-less key
|
2023-10-09 12:09:22 +02:00 |
Paul Schaub
|
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 |
Paul Schaub
|
41dfe71994
|
Pad long KeyIDs with zeros to 16 chars
|
2023-09-04 14:18:13 +02:00 |
Paul Schaub
|
8cdb7ee4e0
|
Add more tests for V6 fingerprints
|
2023-08-01 15:29:24 +02:00 |
Paul Schaub
|
30481cd510
|
Fix unreliable unit test
Fixes #389
|
2023-07-07 11:07:14 +02:00 |
Paul Schaub
|
bbdb300814
|
Add test to verify correct behavior dealing with non-utf8 userID
|
2023-07-07 10:42:32 +02:00 |
Paul Schaub
|
f7576abd35
|
Minimal revocation certificate test: Test merging
|
2023-06-20 17:37:18 +02:00 |
Paul Schaub
|
53d6260210
|
Implement method to create minimal revocation certificate.
Fixes #386
|
2023-06-20 17:30:19 +02:00 |
Paul Schaub
|
2a7c6af022
|
Rename SecretKeyRingEditor.createRevocationCertificate() to createRevocation()
|
2023-06-20 16:41:46 +02:00 |
Paul Schaub
|
82cea93e7b
|
Replace JcaPGPObjectFactory with custom PGPObjectFactory.
Workaround for https://github.com/bcgit/bc-java/issues/1428
|
2023-06-15 15:20:08 +02:00 |
Paul Schaub
|
2b119e8214
|
Basic V6 parsing test (only check non-crashing)
|
2023-06-15 14:41:41 +02:00 |
Paul Schaub
|
383c9799c3
|
Add test for minimal revocation certificate
|
2023-06-13 19:46:56 +02:00 |
Paul Schaub
|
d3ef513960
|
Fix checkstyle issues
|
2023-06-05 21:12:16 +02:00 |
Paul Schaub
|
e1038a8bb3
|
Replace more occurrences of new Date().getTime() with System.currentTimeMillis()
|
2023-06-02 00:03:55 +02:00 |
Paul Schaub
|
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 |
Paul Schaub
|
92a5e559f8
|
Earlier catching of NPEs in tests
|
2023-05-03 17:26:21 +02:00 |
Paul Schaub
|
005b9d477a
|
KeyRingReader: Remove unused @throws IOException
|
2023-05-03 17:23:13 +02:00 |
Paul Schaub
|
953206b4ed
|
Make more of the API null-safe by using @Nonnull/@Nullable
|
2023-05-03 16:03:50 +02:00 |
Paul Schaub
|
1d26751b45
|
Remove unused KeyRingEditorTest
|
2023-05-03 15:59:21 +02:00 |
Paul Schaub
|
44608744c2
|
Add missing license header
|
2023-04-14 16:17:58 +02:00 |
Paul Schaub
|
46f7cfdb1a
|
Introduce OpenPgpv6Fingerprint
|
2023-04-07 12:28:27 +02:00 |
Paul Schaub
|
533b54a6b7
|
Add some more tests for valid email address formats
|
2022-12-22 15:01:10 +01:00 |
Paul Schaub
|
a376587680
|
Add tests for international user-ids
|
2022-12-22 14:43:09 +01:00 |
Paul Schaub
|
59217d2501
|
Implement UserId.parse(mailbox)
|
2022-12-20 17:20:32 +01:00 |
Paul Schaub
|
907d1c4d1c
|
move V5OpenPgpKeyTest to org.pgpainless.key
|
2022-12-15 18:03:49 +01:00 |
Paul Schaub
|
bfcfaa04c4
|
Add UserId.compare(uid1, uid2, comparator) along with some default comparators
|
2022-12-15 18:03:37 +01:00 |
Paul Schaub
|
e69c4a8cf7
|
More UserId tests
|
2022-12-15 18:03:15 +01:00 |
Paul Schaub
|
837fbd3635
|
Simplify UserIdTests
|
2022-12-15 18:03:04 +01:00 |
Paul Schaub
|
b0c283e143
|
Clean up UserId.toString() behavior
|
2022-12-15 18:02:44 +01:00 |
Paul Schaub
|
03d04fb324
|
Tests: Replace usages of default algorithm policies with specific policies
|
2022-11-23 20:42:17 +01:00 |
Paul Schaub
|
58aa9f5712
|
Move classes related to GNU dummy keys to gnupg package
|
2022-11-23 20:40:40 +01:00 |
Paul Schaub
|
df4fc94ce7
|
Add test for decryption with removed private key
|
2022-11-23 20:40:40 +01:00 |
Paul Schaub
|
3af6ab1b85
|
Rename GnuPGDummyExtension + GnuPGDummyKeyUtil
|
2022-11-23 20:40:40 +01:00 |
Paul Schaub
|
033beaa8f2
|
Use S2K usage SHA1 in GnuDummyKeyUtil
|
2022-11-23 20:40:40 +01:00 |
Paul Schaub
|
2487e3300a
|
Add and test GnuDummyKeyUtil
|
2022-11-23 20:40:40 +01:00 |
Paul Schaub
|
2ce4486e89
|
Convert links in javadoc to html
|
2022-11-23 20:40:03 +01:00 |
Paul Schaub
|
09f94944b3
|
Remove unnecessary throws declarations
|
2022-11-23 20:40:03 +01:00 |
Paul Schaub
|
8834d8ad10
|
Increase timeframe for some tests which check expiration dates
|
2022-10-18 15:13:49 +02:00 |
Paul Schaub
|
9106d98449
|
Add tests for Certificate merging
|
2022-09-05 15:25:29 +02:00 |
Paul Schaub
|
5be42b22bd
|
Add test for KeyRingUtils.keysPlusPublicKey
|
2022-09-05 14:45:22 +02:00 |