0
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Gibheer 8fe910f298 add ed25519 support
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.
2015-07-19 17:35:24 +02:00
Gibheer 89009a3623 fix imports
I forgot to fix the imports after the split.
2015-03-30 21:53:18 +02:00
Gibheer 9ba6a88449 split out all private key related functions
This moves all private key related functions out into a separate file to
get flags.go smaller.
2015-03-30 21:34:05 +02:00
Gibheer ba5a59931e reformat code with gofmt
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.
2015-03-25 20:43:18 +01:00
Gibheer 075865c417 add verification of messages
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.
2015-02-20 10:45:42 +01:00
Gibheer 470d21409b add public key support
This adds all options to create and store a public key.
2015-02-17 21:44:10 +01:00
Gibheer b022e8ab4c adjust library path 2015-02-15 21:10:44 +01:00
Gibheer 16eb14db9f redesign cli
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.
2015-02-15 01:34:25 +01:00
Gibheer d3e95c104e add description in each file what it does 2015-02-04 22:07:47 +01:00
Gibheer 7097d3b058 replace PrivateKey with crypto.Signer 2015-01-15 06:51:45 +01:00
Gibheer 73a07e7665 add api for public keys
This enables pkictl to generate public keys from private keys in the rsa
and ecdsa format.
2015-01-14 21:42:37 +01:00
Gibheer dac4b27f74 move private key loading to private_key file 2015-01-02 11:40:32 +01:00
Gibheer 9a173e0019 split private key generation into own file 2014-12-24 11:43:18 +01:00