Zorg
8bc4976a2c
Use FileHandle for reading base64 secret key from file ( #2615 )
...
Fixes process substitution failing to work for providing the private key as file argument (#2605 ).
2024-08-30 17:48:59 -07:00
Viktor Szépe
e9989a8ae7
Fix typos ( #2537 )
2024-04-13 16:12:23 -07:00
Zorg
1a0b023e1c
Store private seed as the secret for newly generated keys ( #2472 )
...
This improves compatibility when using the seed onto other cryptography libraries.
2023-11-23 09:23:10 -05:00
Zorg
1c560652e7
Remove ed25519 git submodule ( #2244 )
...
Also allow release scripts to work without git repository and bump the Sparkle versions.
2022-08-27 10:46:29 -07:00
Zorg
92d8b2bee6
Add verify and account options for signing updates ( #2074 )
...
Accounts are intended to be used for when working on products that belong to different organizations. This way multiple keys related to Sparkle can be stored in the keychain.
We also add a --verify option to sign_update which allows verifying that updates are signed correctly.
2022-01-22 18:48:02 -08:00
Mayur Pawashe
4f7ed347ab
Adopt Swift Argument parser for Swift tools ( #1913 )
...
Also remove the deprecated usage of passing DSA key as an argument, because it can just be provided as an option (-f)
2021-08-01 08:56:18 -07:00
Zorg
d85c1df752
Add options to export and import private/public key pair
2021-01-23 07:51:32 -08:00
Zorg
4fdd01052b
Add option to store a specified private+public key pair directly
...
This is useful for migrating keys from one machine to another.
2021-01-23 01:43:41 -08:00
Gwynne Raskind
741ec1a08b
Further cleanup generate_keys and its new "lookup-only mode".
2020-10-06 08:14:44 -05:00
Gwynne Raskind
7a8ead559b
Clean up generate_keys/main.swift quite a bit - more comments, better output to console, cleaner error reporting
2020-10-06 07:54:08 -05:00
Gwynne Raskind
a95f1592cd
Fix several dozen warnings. Fix several things to actually respect the 10.9 minimum of the beta.
2020-07-25 02:19:50 -05:00
Gwynne Raskind
04b2122fed
SUPublicEDKey expects to be a string, not data. Sigh.
2020-07-22 14:15:43 -05:00
Gwynne Raskind
bdffcb0dd5
Disable the ability to create synchronizable keys for now. Requires entitlements on the generate tool which is a giant pain in the rear. Tweak the output a bit more so it's nice and consistent.
2020-07-22 10:52:01 -05:00
Gwynne Raskind
be25c2ac64
Add the ability to make a generated signing key syncable over iCloud Keychain. Heavily overhauls the UI to actually explain things a little and behave how it's supposed to.
2020-07-22 10:45:02 -05:00
Kornel
0900d09ab3
Run swiftlint
2020-06-10 12:19:02 +01:00
Tony Arnold
da573aa9ab
Add generate_keys command line tool
...
This code has been ported directly from `master`.
Co-authored-by: Kornel Lesiński <github@pornel.net >
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00