aboutsummaryrefslogtreecommitdiff
path: root/private_key.go
AgeCommit message (Collapse)AuthorFilesLines
2015-07-19add ed25519 supportGibheer1-0/+3
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-03-30fix importsGibheer1-0/+4
I forgot to fix the imports after the split.
2015-03-30split out all private key related functionsGibheer1-0/+126
This moves all private key related functions out into a separate file to get flags.go smaller.
2015-03-25reformat code with gofmtGibheer1-26/+36
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-02-20add verification of messagesGibheer1-7/+17
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-17add public key supportGibheer1-3/+3
This adds all options to create and store a public key.
2015-02-15adjust library pathGibheer1-1/+1
2015-02-15redesign cliGibheer1-136/+24
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-04add description in each file what it doesGibheer1-0/+2
2015-01-15replace PrivateKey with crypto.SignerGibheer1-7/+3
2015-01-14add api for public keysGibheer1-1/+4
This enables pkictl to generate public keys from private keys in the rsa and ecdsa format.
2015-01-02move private key loading to private_key fileGibheer1-0/+45
2014-12-24split private key generation into own fileGibheer1-0/+99