Commit Graph

106 Commits

Author SHA1 Message Date
Paul Schaub 9f50946dd7
PGPainless 1.2.0 2022-04-07 21:20:46 +02:00
Paul Schaub a22336a795 Create dedicated KeyException class for key-related exceptions. 2022-04-07 19:42:58 +02:00
Paul Schaub a7d56e3461
PGPainless 1.1.5 2022-04-05 14:48:44 +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 ccee24dd93
PGPainless 1.1.4 2022-03-30 12:26:50 +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 16b0d0730e
Annotate and document ArmorUtils class 2022-03-22 14:17:35 +01:00
Paul Schaub 655f4ae09a
PGPainless 1.1.3 2022-03-15 15:41:30 +01:00
Paul Schaub d876f770a6
Bump version in sop readme 2022-02-25 16:12:56 +01:00
Paul Schaub 69c0a1bfa4
PGPainless 1.1.1 2022-02-25 16:06:01 +01:00
Paul Schaub 36c5ec8a28 Host javadoc on javadoc.io 2022-02-15 14:29:07 +01:00
Paul Schaub 132981abfa
PGPainless 1.0.2 2022-02-05 14:55:38 +01:00
Paul Schaub 593a6cdb65
Document how to include pgpainless-sop in build scripts 2022-01-15 14:38:36 +01:00
Paul Schaub e55fad6078 Switch pgpainless-sop over to java-library plugin and api-depend on sop-java 2022-01-15 02:46:42 +01:00
Paul Schaub c6bc8f9774 Moved sop-java and sop-java-picocli to its own repositories
See https://github.com/pgpainless/sop-java
See https://codeberg.org/PGPainless/sop-java
2022-01-15 02:46:42 +01:00
Paul Schaub 19b6c8b1e3 SOP-CLI: Implement additional version flags 2022-01-15 02:46:42 +01:00
Paul Schaub fc432901ed Add information to SOP READMEs 2022-01-15 02:46:42 +01:00
Paul Schaub 1b1a13e7d0 Fix spelling of Bouncy Castle 2022-01-15 02:46:41 +01:00
Paul Schaub f2d88d8a86 Introduce SigningResult class to allow for additional signing information to be returned 2022-01-15 02:46:41 +01: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 ce7b69269b
Various code cleanup 2021-12-28 13:32:50 +01:00
Paul Schaub 59f1a85887
Fix more code issues 2021-12-28 12:30:52 +01:00
Paul Schaub c55fd2e552 Implement decryption with - and access of session keys 2021-12-02 12:42:02 +01:00
Paul Schaub c68cdc4e31 Fix compile-time dependency of pgpainless-{core|sop} on logback-classic
Fixes #214
2021-11-14 14:26:34 +01:00
Paul Schaub a9a61bc799
Improve library usage of slf4j and logback.
Logback-classic is now a test dependency and is additionally declared as OPTIONAL runtime dependency.
Applications that don't want to use logback can now easily disable it by not explicitly depending on it.
2021-10-29 20:28:14 +02:00
Paul Schaub 15736586dd
SOP: Add convenience methods to deal with byte arrays 2021-10-10 16:34:17 +02:00
Paul Schaub e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
Paul Schaub 722477673d
Fix hen and egg problem with signature detaching in SOP 2021-10-04 16:48:27 +02:00
Paul Schaub 620959abc6
Some more pgpainless-sop tests 2021-10-04 16:28:56 +02:00
Paul Schaub 637bd18ca6
Add ArmorTest 2021-10-04 16:03:24 +02:00
Paul Schaub c5b576d8d2
ArmorImpl: Write to provided output stream instead of system.out 2021-10-04 16:02:28 +02:00
Paul Schaub d170138ea8
Add test for GenerateKeyImpl 2021-10-04 15:02:28 +02:00
Paul Schaub 5e2286de0d
Rework dependencies 2021-09-17 18:16:58 +02:00
Paul Schaub f28232893c
Refactoring: Move cleartext signed message processing to decryption_verification 2021-09-13 18:09:53 +02:00
Paul Schaub 90a00e0541 Move signature verification to dedicated streams 2021-09-07 14:02:07 +02:00
Paul Schaub f68779d8a5
Add tests for pgpainless-sop 2021-08-30 17:15:11 +02:00
Paul Schaub 97c8ff8312
Throw WrongConsumingMethodException when processing Cleartext Signed Messages with Inband Signature verification API and vice versa 2021-08-29 13:35:27 +02:00
Paul Schaub 1124c6fd15 Wip: Configure logback logging 2021-08-26 15:03:20 +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 4e83281213 Wip: Remove allowNested, add FileUtil 2021-08-23 14:26:17 +02:00
Paul Schaub 772f69788b Refactor CleartextSignatureProcessor to allow reuse in DetachInbandSignatureAndMessage 2021-08-23 14:26:17 +02:00
Paul Schaub 788c82531e Wip: Adopt changes from the SOP specification version 2 2021-08-23 14:26:17 +02:00
Paul Schaub 099b160656
Native support for notBefore and notAfter signature creation time constraints 2021-08-17 14:47:07 +02:00
Paul Schaub 2bd71617bd PGPException is not thrown during secret key reading 2021-08-15 15:46:41 +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 bbc79b75b1 Remove version number from pgpainless-sop 2021-07-20 09:56:02 +02:00
Paul Schaub 4244107994
Add readmes for all modules 2021-07-17 00:27:58 +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