Paul Schaub
|
dec3c8be60
|
Add SecretKeyRingEditor.replaceUserId(old,new,protector)
|
2022-07-15 14:00:41 +02:00 |
|
Paul Schaub
|
d2b48e83d9
|
Implement certifying of certifications
|
2022-06-20 12:44:40 +02:00 |
|
Paul Schaub
|
fa5ddfd112
|
WIP: Implement delegations
THERE ARE THINGS BROKEN NOW. DO NOT MERGE!
|
2022-06-20 12:44:40 +02:00 |
|
Paul Schaub
|
e8b03834cb
|
Annotate fromId(code) methods with Nullable and add Nonnull requireFromId(code) methods
|
2022-03-22 15:09:09 +01:00 |
|
Paul Schaub
|
01839728f0
|
Remove workaround for publicKey.getBitStrength() == -1 in BC
see https://github.com/bcgit/bc-java/issues/972
|
2022-01-15 02:46:41 +01:00 |
|
Paul Schaub
|
245376d7d0
|
Remove KeyRingUtils.deleteUserId() in favor of revoking SecretKeyRingEditor.removeUserId() methods
|
2021-12-27 13:35:58 +01:00 |
|
Paul Schaub
|
31b7d18183
|
Properly resolve earliest expiration date when primary user-id + direct-key sig have expiraiton
Rename getPossiblyExpiredPrimaryUserId() method
|
2021-12-23 17:10:44 +01:00 |
|
Paul Schaub
|
6c9c683c85
|
Rename method to getValidAndExpiredUserIds()
|
2021-12-22 12:42:31 +01:00 |
|
Paul Schaub
|
3aa9e2915a
|
Re-certify expired user-ids when changing key expiration date
|
2021-12-20 13:28:16 +01:00 |
|
Paul Schaub
|
710f961984
|
Rework key modification API.
Fixes #225
|
2021-12-20 13:01:58 +01:00 |
|
Paul Schaub
|
8b1bdb98f1
|
Adding subkeys, generating keys: Verify subkeys comply to public key algorithm policy
|
2021-12-02 14:18:21 +01:00 |
|
Paul Schaub
|
151d3c7b96
|
SecretKeyRingEditor: Restructure arguments of modification methods
|
2021-11-27 15:00:19 +01:00 |
|
Paul Schaub
|
cc16a3da88
|
Add overloaded method for user-id revocation using SelectUserId
|
2021-11-24 15:07:54 +01:00 |
|
Paul Schaub
|
9e715aabfe
|
Test signature subpackets and fix bug for missing user-id sig
|
2021-11-21 22:25:45 +01:00 |
|
Paul Schaub
|
91080f411d
|
Rework secret key protection
|
2021-11-20 20:19:22 +01:00 |
|
Paul Schaub
|
176574df50
|
Wip
|
2021-11-20 16:07:27 +01:00 |
|
Paul Schaub
|
25c95804ce
|
Rework user-id revocation to use subpackets callback API
|
2021-11-16 15:35:17 +01:00 |
|
Paul Schaub
|
24aebfaf63
|
Rework subkey-revocation using new signature subpackets api
|
2021-11-16 15:18:51 +01:00 |
|
Paul Schaub
|
ab3ae15719
|
Ensure keyflags are set when adding userid
|
2021-11-16 13:45:35 +01:00 |
|
Paul Schaub
|
3f09fa0cc7
|
Progress
|
2021-11-16 13:45:34 +01:00 |
|
Paul Schaub
|
04ada88188
|
Fix errors
|
2021-11-16 13:44:10 +01:00 |
|
Paul Schaub
|
c31fda95f9
|
Start reusing new signature builder in SecretKeyRingEditor
|
2021-11-16 13:40:33 +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
|
3a9473ad6c
|
V5 Key-readyness: Replace usages of OpenPgpV4Fingerprint with abstract super class
|
2021-10-27 17:38:25 +02:00 |
|
Paul Schaub
|
e390389c0a
|
Reuse compliance
|
2021-10-07 16:28:31 +02:00 |
|
Paul Schaub
|
9a8bb7d3ef
|
Add missing break statement to loop
|
2021-09-10 21:04:36 +02:00 |
|
Paul Schaub
|
194e4d7631
|
Automatically 'repair' keys with S2K usage CHECKSUM to use SHA1 when changing passphrases
|
2021-09-10 20:14:12 +02:00 |
|
Paul Schaub
|
17ba3c3879
|
SecretKeyRingEditor: Take not only positive, but also generic,casual certifications into consideration
|
2021-09-08 11:59:28 +02:00 |
|
Paul Schaub
|
6467217bd1
|
Make defaultDigestHashAlgorithm static
|
2021-08-15 15:46:41 +02:00 |
|
Paul Schaub
|
726d22b8d6
|
Change passphrase: Skip GNU_DUMMY_S2K keys
|
2021-07-19 15:05:03 +02:00 |
|
Paul Schaub
|
548bfff93f
|
Fix: Respect user requested keyflags when adding a subkey.
|
2021-06-24 14:11:18 +02:00 |
|
Paul Schaub
|
9b9064beae
|
Small code style fixes and optimizations
|
2021-06-10 12:42:48 +02:00 |
|
Paul Schaub
|
27370fa925
|
Bump Bouncycastle to 1.69
|
2021-06-10 12:41:12 +02:00 |
|
Paul Schaub
|
77800f26e8
|
SecretKeyRingEditor: UserIDs only reside on primary keys
|
2021-05-28 23:14:20 +02:00 |
|
Paul Schaub
|
9358e58fb3
|
Improve CachingSecretKeyRingProtector
|
2021-05-14 18:55:26 +02:00 |
|
Paul Schaub
|
5a56949dd7
|
Throw WrongPassphraseException when wrong passphrase is provided to unlock secret key
|
2021-05-14 13:18:34 +02:00 |
|
Paul Schaub
|
64cc9ecca4
|
Proper Signature Verification
|
2021-04-30 09:49:19 +02:00 |
|
Paul Schaub
|
567291ac17
|
Rename UserIdSelectionStrategy -> SelectUserId
|
2021-02-03 16:38:28 +01:00 |
|
Paul Schaub
|
138ea0d572
|
Add convenience method to delete userIds from the primary key
|
2021-02-03 16:31:45 +01:00 |
|
Paul Schaub
|
449881bd8d
|
Add deleteUserIds(keyId, userIdSelectionStrategy, protector) method to SecretKeyRingEditor
|
2021-02-03 16:26:15 +01:00 |
|
Paul Schaub
|
ee1f90e850
|
Test and implement revocation of single userIDs
|
2021-01-22 18:28:48 +01:00 |
|
Paul Schaub
|
b25a78bc29
|
Fix changing of expiration dates for keys and subkeys
|
2021-01-18 17:09:57 +01:00 |
|
Paul Schaub
|
1c1f9d49ab
|
Introduce ImplementationFactory
|
2020-12-27 01:56:18 +01:00 |
|
Paul Schaub
|
145fa8c83c
|
Move unlockSecretKey method to KeyRingUtils
|
2020-11-29 16:04:15 +01:00 |
|
Wiktor Kwapisiewicz
|
2a672aaf03
|
Add ability to change expiration date for the primary key
|
2020-11-27 17:11:56 +01:00 |
|
Paul Schaub
|
93abfd5517
|
SecretKeyRingEditor: Add revoke() shortcut method
|
2020-11-22 21:25:52 +01:00 |
|
Paul Schaub
|
8305fcf0ee
|
Allow for revocation attributes to be passed in when revoking subkey directly
|
2020-11-20 12:19:45 +01:00 |
|
Paul Schaub
|
0edd8b616f
|
Add support for creating detached revocation certificates
|
2020-11-20 12:01:39 +01:00 |
|
Paul Schaub
|
5cdbb125b0
|
Refactoring: move KeyRingEditor to SecretKeyRingEditor in prep for more editor classes
|
2020-11-19 17:51:57 +01:00 |
|