Commit graph

101 commits

Author SHA1 Message Date
Paul Schaub ee6975c7d3
Decrypt: Use return statement 2023-10-31 14:11:11 +01:00
Paul Schaub 4dc1779a06
Kotlin conversion: DetachedSign 2023-10-31 14:10:06 +01:00
Paul Schaub 91a861b5c3
Kotlin conversion: Decrypt 2023-10-31 14:08:03 +01:00
Paul Schaub 39c222dfc8
Kotlin conversion: Dearmor 2023-10-31 14:03:18 +01:00
Paul Schaub 34e1d8992f
Kotlin conversion: ChangeKeyPassword 2023-10-31 14:00:49 +01:00
Paul Schaub 4a123a1980
Kotlin conversion: Armor 2023-10-31 13:54:24 +01:00
Paul Schaub 08ddc5d8a5
Kotlin conversion: AbstractVerify 2023-10-31 13:51:30 +01:00
Paul Schaub e68d6df57f
Kotlin conversion: AbstractSign 2023-10-31 13:50:46 +01:00
Paul Schaub 31409b7949
Kotlin conversion: SOP 2023-10-31 13:38:53 +01:00
Paul Schaub dc23c8aa98
Kotlin conversion: Signatures 2023-10-31 13:29:58 +01:00
Paul Schaub 2391ffc9b2
Kotlin conversion: DecryptionResult 2023-10-31 13:26:33 +01:00
Paul Schaub a89e70c19e
Kotlin conversion: ReadyWithResult 2023-10-31 13:23:26 +01:00
Paul Schaub e6562cecff
Kotlin conversion: Ready 2023-10-31 13:16:37 +01:00
Paul Schaub 9dbb93e13d
Kotlin conversion: MicAlg 2023-10-31 13:05:30 +01:00
Paul Schaub bbe159e88c
Kotlin conversion: SigningResult 2023-10-31 12:56:12 +01:00
Paul Schaub 0cb5c74a11
Kotlin conversion: Optional 2023-10-31 12:48:23 +01:00
Paul Schaub ef4b01c6bd
Kotlin conversion: Profile 2023-10-31 12:42:13 +01:00
Paul Schaub 6c5c4b3d98
Kotlin conversion: Verification 2023-10-31 12:25:54 +01:00
Paul Schaub 567571cf6c
Kotlin conversion: SessionKey 2023-10-31 11:33:15 +01:00
Paul Schaub 0f5270c28d
Kotlin conversion: ByteArrayAndResult 2023-10-31 11:24:36 +01:00
Paul Schaub 308c4b452f
Add test for signature verification with hard-revoked cert 2023-07-12 15:36:39 +02:00
Paul Schaub be351616b6
Add some more RevokeKey tests 2023-07-12 15:08:33 +02:00
Paul Schaub 6afe6896d8
Implement '--signing-only' option for 'generate-key' command 2023-07-12 01:06:41 +02:00
Paul Schaub 7e1377a28c
Initial implementation of 'change-key-password' command of SOP-07 2023-07-12 00:42:02 +02:00
Paul Schaub 618d123a7b
Add RevokeKeyExternal implementation and some basic tests 2023-07-11 22:58:39 +02:00
Paul Schaub e6393b44b9
Initial implementation of 'revoke-key' command 2023-07-11 22:42:16 +02:00
Paul Schaub bfaba69222
Add Dearmor.data(String) default method 2023-07-11 21:18:37 +02:00
Paul Schaub ab8f44138d
Add missing @throws javadoc 2023-04-27 14:45:42 +02:00
Paul Schaub 419056ba4c
Fix checkstyle issues 2023-04-27 14:32:13 +02:00
Paul Schaub c479cc8ef3
Profile: Use Optional for description 2023-04-27 14:25:16 +02:00
Paul Schaub aa88904711
Add tests for Verification parsing 2023-04-27 14:24:59 +02:00
Paul Schaub 7ea46a1916
Move tests 2023-04-27 14:23:58 +02:00
Paul Schaub 8aded17f10
Use UTF8Util.UTF8 constant 2023-04-27 13:17:58 +02:00
Paul Schaub 8eba099146
UTF8Util.decodeUTF8(): throw CharacterCodingException instead of PasswordNotHumanReadable 2023-04-27 13:15:44 +02:00
Paul Schaub 0308732328
Make UTCUtil.parseUTCDate() throw instead of returning null for malformed inputs 2023-04-27 13:07:08 +02:00
Paul Schaub 8b8863c6df
Verification: Annotate with @Nonnull, @Nullable 2023-04-27 12:52:12 +02:00
Paul Schaub 44e6dd2180
Depend on findbugs:jsr305 for @Nullable etc. annotations 2023-04-27 12:44:40 +02:00
Paul Schaub 19d6b7e142
Verification: Make use of Optional for signature mode and description 2023-04-27 12:44:01 +02:00
Paul Schaub e336e536a8
Javadoc: Insert <p> tags to preserve newlines 2023-04-26 16:44:49 +02:00
Paul Schaub ed59c713eb
Remove unused 'throws IOException' declarations 2023-04-26 16:28:04 +02:00
Paul Schaub 0fccf3051c
Refactor AbstractSOPTest 2023-04-26 16:21:37 +02:00
Paul Schaub aeda534f37
Add DSL for testing verification results 2023-04-26 15:53:50 +02:00
Paul Schaub 4a7c2b74da
Add test for listing encrypt profiles, use new shortcut methods 2023-04-18 18:05:10 +02:00
Paul Schaub 78ecf2f554
ListProfiles: Add shortcut methods generateKey() and encrypt() 2023-04-18 18:04:23 +02:00
Paul Schaub d8cac7b9d7
external-sop: Fix error code mapping of new exceptions 2023-04-18 18:03:18 +02:00
Paul Schaub 84a01df4bd
Rename new methods in Version 2023-04-17 15:29:06 +02:00
Paul Schaub 1a4affde35
Skip sopSpecVersionTest if --sop-spec is not supported 2023-04-17 14:44:09 +02:00
Paul Schaub 8425665fa7
Expose SOP revision info more fine-grained 2023-04-17 14:44:09 +02:00
Paul Schaub 8a66f0bc4f
Implement sop encrypt --profile=XXX 2023-04-17 14:44:08 +02:00
Paul Schaub f49c16e4c5
Implement sop version --sop-spec 2023-04-17 14:44:08 +02:00