Commit Graph

22 Commits

Author SHA1 Message Date
Paul Schaub 608ec0b7b0
Annotate methods with @Nonnull 2023-11-15 13:39:26 +01:00
Paul Schaub e5539a810d
Use KeyReader class when reading public or secret keys 2023-07-12 15:25:03 +02:00
Paul Schaub 005b9d477a
KeyRingReader: Remove unused @throws IOException 2023-05-03 17:23:13 +02:00
Paul Schaub 676e7d166a
EncryptImpl: Rename default profile, add documentation 2023-04-17 16:06:45 +02:00
Paul Schaub 3b1edb076c
Basic support for sop encrypt --profile=XXX 2023-04-17 16:01:17 +02:00
Paul Schaub 83ef9cfe80
SOP encrypt: Throw MissingArg if no encryption method was provided. 2023-01-31 18:20:03 +01:00
Paul Schaub b58861635d
Add some missing javadoc 2023-01-16 19:38:52 +01:00
Paul Schaub e15dd70b85
SOP: Unify key/certificate reading code 2022-11-09 22:01:20 +01:00
Paul Schaub e67c43a6f7
Bump sop-java to 4.0.2 and improve exception handling 2022-11-06 15:03:35 +01:00
Paul Schaub a2bfb55d87
Use *Options.get() factory methods in SOP module 2022-08-29 13:22:44 +02:00
Paul Schaub d64e749f22
Fix sop encrypt --sign-with allowing for protected keys 2022-06-19 17:50:31 +02:00
Paul Schaub 53df487e59 Adopt changes from SOP-Java and add test for using incapable keys 2022-06-19 16:59:42 +02:00
Paul Schaub 0b69e18715 Experimental support for inline-sign, inline-verify 2022-06-19 16:59:42 +02:00
Paul Schaub 9a545a2936 Wip: SOP 4 2022-06-19 16:59:42 +02:00
Paul Schaub c31fd7d5e0
SOP: Fix mapping of encryption format 2022-03-30 13:14:36 +02:00
Paul Schaub 4782868bc1
SOP encrypt: match signature type when using --as= option 2022-03-30 12:49:26 +02:00
Paul Schaub 1cb49f4b12 Update SOP implementation to the latest spec version
See https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-03
2022-01-15 02:46:41 +01:00
Paul Schaub e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
Paul Schaub e3ff1403a3 sop: Enforce that any secret key argument only contains a single secret key 2021-08-23 14:26:17 +02:00
Paul Schaub 311c842196
Revert introduction of StreamUtil 2021-07-31 20:40:31 +02:00
Paul Schaub fc311fe781
Workaround for #159: Avoid to prevent swallowing IOExceptions 2021-07-26 16:19:30 +02:00
Paul Schaub 8cf5347b52 Base PGPainlessCLI on new sop-java module
* Rename pgpainless-sop -> pgpainless-cli
* Introduce sop-java (implementation-independent SOP API)
* Introduce sop-java-picocli (CLI frontend for sop-java)
* Introduce pgpainless-sop (implementation of sop-java using PGPainless)
* Rework pgpainless-cli (plugs pgpainless-sop into sop-java-picocli)
2021-07-15 17:03:56 +02:00