Age | Commit message (Collapse) | Author | Files | Lines |
|
This commit is a complete rebuild of pkictl. Before everything was all
over the place and adding new commands was kind of a hassle.
Now each command has its own file and can be adjusted on a command
basis. Options are still used by the same name, but can now use
different descriptions.
|
|
This adds support for ed25519 keys for the following options
* create-private
* create-public
* sign-input
* verify-input
The format of the private key is purely PEM format and may change. But
as I did not find any documentation on that topic yet, I will keep it as
it is for the moment.
|
|
I forgot to fix the imports after the split.
|
|
This moves all private key related functions out into a separate file to
get flags.go smaller.
|
|
Yes, I know that this breaks the history search, but it had to be done
sooner or later. I also adjusted my editor to follow the guidelines more
closely.
|
|
This commit adds back the possibility to verify a message through a
public key and a signature. It works a little bit different than before
as it always prints the base64 version, but it makes it easier to use.
|
|
This adds all options to create and store a public key.
|
|
|
|
This is a major rebuilding of the CLI. The library part is split out
into pkilib and the cli handles only the communication with the user,
I/O and the library.
The API will still look the same, but the code should be much better to
grasp. Instead of repeating everything, more will be grouped together
and reused.
|
|
|
|
|
|
This enables pkictl to generate public keys from private keys in the rsa
and ecdsa format.
|
|
|
|
|