1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-26 13:34:49 +02:00
Commit graph

120 commits

Author SHA1 Message Date
Paul Schaub 05cef99f40
Rename key generation typealiases 2024-03-08 11:38:53 +01:00
Paul Schaub 42516d53b8
Do not call static method of super class 2024-03-08 11:27:25 +01:00
Paul Schaub 1a80a2f31a
Separate out V4 OpenPgpKeyGenerator implementation 2024-03-08 11:18:24 +01:00
Paul Schaub b049930824
Add documentation 2024-03-08 09:28:14 +01:00
Paul Schaub f1aa910431
Per-key protection and default binding signatures 2024-03-08 09:28:14 +01:00
Paul Schaub b4240ac9f7
Improve Key Generation API 2024-03-08 09:28:14 +01:00
Paul Schaub 214a36ab34
Fix comments and add test 2024-03-08 09:28:13 +01:00
Paul Schaub e7784b10a4
Fix package name of extension functions 2024-03-08 09:28:13 +01:00
Paul Schaub 6cfeba064e
Sanitize key flags 2024-03-08 09:28:12 +01:00
Paul Schaub 3f518eb1e0
Suppress unchecked cast warning 2024-03-08 09:28:12 +01:00
Paul Schaub dd0c3f10c5
Rename builder class for more logic IDE completions 2024-03-08 09:28:12 +01:00
Paul Schaub 94dfd6633e
Rework return types and improve method visibility 2024-03-08 09:28:12 +01:00
Paul Schaub 9215987f24
Improve visibility by hiding methods 2024-03-08 09:28:12 +01:00
Paul Schaub 95bd9532bd
Increase readability 2024-03-08 09:28:11 +01:00
Paul Schaub 13f9702b9b
Fix method hierarchy of addBindingSignature() 2024-03-08 09:28:11 +01:00
Paul Schaub f21f257c2c
Parameter sanitization and tests 2024-03-08 09:28:10 +01:00
Paul Schaub 902d5f2973
Small documentation additions 2024-03-08 09:28:10 +01:00
Paul Schaub d6aa003008
Rename buildV4 method 2024-03-08 09:28:10 +01:00
Paul Schaub 9b5754879a
Add more documentation 2024-03-08 09:28:10 +01:00
Paul Schaub f6629e95dc
Delete intermediate experiments 2024-03-08 09:28:10 +01:00
Paul Schaub 7c00356794
Replace all KeyRingTemplates builders with new API 2024-03-08 09:28:09 +01:00
Paul Schaub 4063fcb6ad
Add documentation 2024-03-08 09:28:09 +01:00
Paul Schaub f7d389c8d3
Restructure hierarchy of OpenPgpKeyGenerator classes 2024-03-08 09:28:09 +01:00
Paul Schaub 900860c1fa
Flatten class hierarchy 2024-03-08 09:28:09 +01:00
Paul Schaub db01d566fd
Test new key generation API 2024-03-08 09:28:08 +01:00
Paul Schaub 177249dd53
Add PGPKeyPair.plusCertification() methods 2024-03-08 09:28:08 +01:00
Paul Schaub 787d2987f0
Add PGPKeyPairExtensions containing key format conversion methods 2024-03-08 09:28:08 +01:00
Paul Schaub b5f8864861
SignatureBuilders: Add constructors taking PGPKeyPairs 2024-03-08 09:28:08 +01:00
Paul Schaub 62a20b2742
please checkstyle 2024-03-08 09:28:08 +01:00
Paul Schaub 4e02996c08
Small improvements 2024-03-08 09:28:08 +01:00
Paul Schaub 4a0eef0924
Documentation and primary userIDs 2024-03-08 09:28:07 +01:00
Paul Schaub d7ce9764c3
Progress 2024-03-08 09:28:07 +01:00
Paul Schaub a368a44f11
WIP: flexible, generic API 2024-03-08 09:28:07 +01:00
Paul Schaub 6703a514c8
Playing around with mixed opinionated/unopinionated API 2024-03-08 09:28:07 +01:00
Paul Schaub 251f30fae8
Rename function 2024-03-08 09:28:06 +01:00
Paul Schaub 9785582bd2
Improve readability of primaryUserId adjustment 2024-03-08 09:28:06 +01:00
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