1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-24 12:34:50 +02:00
Commit graph

48 commits

Author SHA1 Message Date
Paul Schaub 2f7266d771
Rename OpenPgpComponentKeyBUilder.key to pair 2024-03-08 09:28:06 +01:00
Paul Schaub 9cea63529f
Auto-adjust primaryUserId 2024-03-08 09:28:06 +01:00
Paul Schaub acd9566dbd
Port KeyRingTemplates.modernKeyRing() to new generator API. Fails test 2024-03-08 09:28:06 +01:00
Paul Schaub f08981b78c
Add methods to control direct-key sigs and add unfinished test for primaryUserId test 2024-03-08 09:28:05 +01:00
Paul Schaub fa9b07d2ce
Add documentation for toSecretKey method 2024-03-08 09:28:05 +01:00
Paul Schaub 8e1e90c89a
Document legacy-status of EdDSA and XDH 2024-03-08 09:28:05 +01:00
Paul Schaub f384ce84be
Enforce key capabilities for primary key and add tests 2024-03-08 09:28:05 +01:00
Paul Schaub 378890f83a
Enforce key algorithm capabilities for subkeys 2024-03-08 09:28:05 +01:00
Paul Schaub d650ae7371
Rename some classes 2024-03-08 09:28:04 +01:00
Paul Schaub b164900a59
Add test for adding image to key 2024-03-08 09:28:04 +01:00
Paul Schaub a40c6ac755
WIP: Add method to add image attribute 2024-03-08 09:28:03 +01:00
Paul Schaub 44a3096467
Rename KeyGenerator and add MalformedKeyGenerationTest 2024-03-08 09:28:03 +01:00
Paul Schaub 6df4211985
Validate PublicKeyAlgorithmPolicy when generating keys 2024-03-08 09:28:03 +01:00
Paul Schaub 02f6e37c4f
Further progress 2024-03-08 09:28:03 +01:00
Paul Schaub 6416ef1e07
Progress 2024-03-08 09:28:02 +01:00
Paul Schaub 54a9b4f258
Better differentiate Base- and OpenPgpKeyBuilder 2024-03-08 09:28:02 +01:00
Paul Schaub 3b335fa627
Progress 2024-03-08 09:28:02 +01:00
Paul Schaub 699a5eabfc
Add method for adding user attribute 2024-03-08 09:28:02 +01:00
Paul Schaub 35a68823bd
Further progress 2024-03-08 09:28:01 +01:00
Paul Schaub 92550e35cc
Progress 2024-03-08 09:28:01 +01:00
Paul Schaub 0e25ada166
WIP: Work on new key generation API 2024-03-08 09:28:01 +01:00
Paul Schaub 252c520ca2
Move org.bouncycastle classes to org.pgpainless.bouncycastle in order to avoid split package
See https://github.com/pgpainless/pgpainless/issues/428 for more background information
2024-02-21 14:43:38 +01:00
Paul Schaub de9a161252
Accept certification signatures using SHA-1 before 2023-02-01
This commit introduces a dedicated SignatureHashAlgorithmPolicy for certification signatures.
The default configuration will accept SHA-1 on sigs created before 2023-02-01.
2024-01-04 18:20:09 +01:00
Paul Schaub f39d2c5566
Prevent subkey binding signature from predating subkey
Fixes #419
2023-11-30 17:58:10 +01:00
Paul Schaub 51e9bfc67f
Apply new formatting from 'gradle spotlessApply' 2023-10-23 14:24:31 +02:00
Paul Schaub 11c1c54111
Kotlin conversion: ProviderFactory 2023-10-09 12:49:17 +02:00
Paul Schaub 19063454cb
Add PGPSecretKey.unlock() methods 2023-10-09 12:49:11 +02:00
Paul Schaub ad734ca1b4
Kotlin conversion: XDH 2023-10-09 12:45:46 +02:00
Paul Schaub 521424c23a
Kotlin conversion: XDHSpec 2023-10-09 12:45:46 +02:00
Paul Schaub ac245fb56b
Kotlin conversion: RSA 2023-10-09 12:45:46 +02:00
Paul Schaub ca3ff6acce
Kotlin conversion: RsaLength 2023-10-09 12:45:46 +02:00
Paul Schaub 2d755be10e
Kotlin conversion: ElGamal 2023-10-09 12:45:46 +02:00
Paul Schaub 72147b685e
Kotlin conversion: ElGamalLength 2023-10-09 12:45:45 +02:00
Paul Schaub f8abb28a81
Turn KeyLength method into val 2023-10-09 12:45:45 +02:00
Paul Schaub 4382c1f20e
Kotlin conversion: EdDSA 2023-10-09 12:45:45 +02:00
Paul Schaub 8f49b01d51
Kotlin conversion: EdDSACurve 2023-10-09 12:45:45 +02:00
Paul Schaub 89b73895f5
Kotlin conversion: ECDSA 2023-10-09 12:45:45 +02:00
Paul Schaub 9e7a25ffe1
Kotlin conversion: ECDH 2023-10-09 12:45:45 +02:00
Paul Schaub 7f96272152
Kotlin conversion: EllipticCurve 2023-10-09 12:45:44 +02:00
Paul Schaub 13082215d6
Fix property access 2023-10-09 12:45:37 +02:00
Paul Schaub b3f4ba052a
Remove whitespace 2023-10-09 12:44:25 +02:00
Paul Schaub 472d5c4beb
Kotlin conversion: KeyType 2023-10-09 12:44:25 +02:00
Paul Schaub 1ebf8e1e6f
Kotlin conversion: KeyLength 2023-10-09 12:44:25 +02:00
Paul Schaub c40e2ba6c2
Move const to companion object 2023-10-09 12:44:19 +02:00
Paul Schaub b343b4ad17
Kotlin conversion: KeyRingTemplates 2023-10-09 12:44:19 +02:00
Paul Schaub 41f56bdf99
Kotlin conversion: KeySpec 2023-10-09 12:44:15 +02:00
Paul Schaub bb17c627ce
Kotlin conversion: KeySpecBuilder 2023-10-09 12:43:16 +02:00
Paul Schaub eaef1fe44a
Kotlin conversion: KeyRingBuilder 2023-10-09 12:33:45 +02:00