Paul Schaub
|
d3fe850c95
|
Initial implementation of 'change-key-password' command of SOP-07
|
2023-07-12 00:40:59 +02:00 |
|
Paul Schaub
|
172972fe29
|
Add utility methods to KeyRingInfo
|
2023-07-07 11:24:43 +02:00 |
|
Paul Schaub
|
30481cd510
|
Fix unreliable unit test
Fixes #389
|
2023-07-07 11:07:14 +02:00 |
|
Paul Schaub
|
50bbdddc73
|
Update comment of KeyRingReader.publicKeyRingCollection()
|
2023-07-07 10:47:02 +02:00 |
|
Paul Schaub
|
4cc8054cff
|
KeyRingReader.readPublicKeyRingCollection: Handle secret keys as public keys
|
2023-07-07 10:43:41 +02:00 |
|
Paul Schaub
|
f37aa1097c
|
Prevent IAE when encountering non-UTF8 User-ID on a public key
Fixes #392
|
2023-07-07 10:42:18 +02:00 |
|
Paul Schaub
|
0505b943de
|
Fix javadoc
|
2023-06-27 14:56:29 +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
|
c962b7920b
|
Update workaround description in KeyInfo
|
2023-06-19 12:36:59 +02:00 |
|
Paul Schaub
|
25cde8225d
|
Remove outdated javadoc @throws annotations
|
2023-06-08 03:18:24 +02:00 |
|
Paul Schaub
|
d25e7419c9
|
Replace new Date().getTime() with System.getCurrentTimeMillis()
|
2023-06-02 00:01:34 +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
|
d3ae02f137
|
Mark KeyRingReader.read*KeyRing() as @Nullable/@Nonnull
|
2023-05-16 16:26:52 +02:00 |
|
Paul Schaub
|
1bf9abbdaf
|
Add link to EdDSA spec
|
2023-05-16 16:19:20 +02:00 |
|
Paul Schaub
|
0805076392
|
Deprecate ElGamal key type
|
2023-05-16 16:16:42 +02:00 |
|
Paul Schaub
|
005b9d477a
|
KeyRingReader: Remove unused @throws IOException
|
2023-05-03 17:23:13 +02:00 |
|
Paul Schaub
|
fb581f11c7
|
UserId.parse(): Prevent self-referencing javadoc
|
2023-05-03 17:20:02 +02:00 |
|
Paul Schaub
|
7a194c517a
|
Remove KeyRingUtils.removeSecretKey() in favor of stripSecretKey()
|
2023-05-03 17:15:30 +02:00 |
|
Paul Schaub
|
09bacd40d1
|
SecretKeyRingEditor: referenceTime cannot be null anymore
|
2023-05-03 17:14:18 +02:00 |
|
Paul Schaub
|
21ae48d8c1
|
Use assert statements to flag impossible NPEs
|
2023-05-03 17:13:29 +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
|
3b8a1b47d7
|
Add javadoc p-tags
|
2023-05-03 16:03:12 +02:00 |
|
Paul Schaub
|
8869d9bd78
|
Simplify key template methods by replacing String and UserID args with CharSequence
|
2023-05-03 13:51:59 +02:00 |
|
Paul Schaub
|
9c81137f48
|
Add template methods to generate RSA keys with primary and subkeys
|
2023-05-03 13:51:34 +02:00 |
|
Paul Schaub
|
0cb0885251
|
Relax constraints on decryption keys to improve interop with faulty, broken legacy clients that have been very naughty and need punishment
|
2023-04-25 13:28:07 +02:00 |
|
Paul Schaub
|
46f7cfdb1a
|
Introduce OpenPgpv6Fingerprint
|
2023-04-07 12:28:27 +02:00 |
|
Paul Schaub
|
e744668f5a
|
Deprecate OpenPgpFingerprint.parse() methods
|
2023-04-07 11:47:40 +02:00 |
|
Paul Schaub
|
acb5d3fd9e
|
getEncryptionSubkeys(): Compare expirations against reference date
|
2023-04-07 11:26:38 +02:00 |
|
Paul Schaub
|
ed2c53f5d6
|
Make getLastModified() @Nonnull
|
2023-02-25 11:26:58 +01:00 |
|
Paul Schaub
|
a50c2d9714
|
More missing javadoc
|
2023-01-16 20:15:57 +01:00 |
|
Paul Schaub
|
abf723cc6c
|
Add note about UserId.parse().toString() not guaranteing identity
|
2023-01-04 18:27:14 +01:00 |
|
Paul Schaub
|
35c62663e9
|
Fix javadoc
|
2022-12-22 15:30:11 +01:00 |
|
Paul Schaub
|
44738766e5
|
Add comments to regexes
|
2022-12-22 15:19:42 +01:00 |
|
Paul Schaub
|
533b54a6b7
|
Add some more tests for valid email address formats
|
2022-12-22 15:01:10 +01:00 |
|
Paul Schaub
|
75f69c0473
|
Fix Android compatibility by using Matcher.group(int) instead of Matcher.group(String)
|
2022-12-20 17:27:32 +01:00 |
|
Paul Schaub
|
94851ccb8f
|
Add javadoc for UserId.parse()
|
2022-12-20 17:20:44 +01:00 |
|
Paul Schaub
|
59217d2501
|
Implement UserId.parse(mailbox)
|
2022-12-20 17:20:32 +01:00 |
|
Paul Schaub
|
6a5c6c5509
|
Improve ElGamal validation by refraining from biginteger for loop variable
|
2022-12-15 18:05:55 +01:00 |
|
Paul Schaub
|
bfbaa30e4c
|
Make KO-countermeasures configurable (off by default)
|
2022-12-15 18:05:46 +01:00 |
|
Paul Schaub
|
2d46fb18f7
|
SOP: Allow generation of keys without user-ids
|
2022-12-15 18:04:59 +01:00 |
|
Paul Schaub
|
4f435a0fa0
|
Fix parameter check for DSA keys
Fixes #345
|
2022-12-15 18:04:34 +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
|
837fbd3635
|
Simplify UserIdTests
|
2022-12-15 18:03:04 +01:00 |
|
Paul Schaub
|
4c1d359971
|
Deprecate UserId.asString()
|
2022-12-15 18:02:53 +01:00 |
|
Paul Schaub
|
b0c283e143
|
Clean up UserId.toString() behavior
|
2022-12-15 18:02:44 +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 |
|