aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-02-20add verification of messagesGibheer3-10/+78
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-19add comment to functionGibheer1-0/+1
2015-02-19add message signing againGibheer2-20/+54
This adds again the possibility to sign messages through the API.
2015-02-17activate main help againGibheer1-3/+3
Activate the main help again.
2015-02-17make help even nicerGibheer1-2/+11
When calling --help, this change prints only the usage itself. Before it was calling the help, then continued parsing everything.
2015-02-17make error messages nicerGibheer2-11/+23
This changes the error message so that not the program help is printed but instead the specific submenu help. This should result in much faster and better understanding of the problematic situation.
2015-02-17add public key supportGibheer3-8/+14
This adds all options to create and store a public key.
2015-02-15adjust library pathGibheer3-3/+3
2015-02-15make rsa check boundaryGibheer1-1/+7
2015-02-15redesign cliGibheer10-702/+284
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-11remove stale readme fileGibheer1-6/+0
2015-02-04add description in each file what it doesGibheer5-0/+18
2015-02-04rename files to reflect main functionGibheer2-0/+0
2015-02-04only add ips and names when they are setGibheer1-4/+8
If these options are not set, they would produce invalid values in the resulting csr.
2015-02-03add last missing fieldsGibheer1-1/+20
This adds the last missing fields of the pkix.Name and also adds a loop which converts all fields from comma separated list to an array.
2015-01-19rename readmeGibheer1-0/+0
2015-01-19add readme and todo fileGibheer2-0/+78
2015-01-19fix LICENSE and add AUTHORS fileGibheer2-22/+14
2015-01-19extend stream capabilitiesGibheer2-12/+115
With this commit, both signing and verification get stream/file support to read and write messages and signatures from and to files.
2015-01-19split stream opening into two functionsGibheer1-7/+17
This way it is easier to open files for reading and writing.
2015-01-16remove debug outputGibheer1-2/+0
2015-01-16add signing and verifying of messagesGibheer3-7/+172
With this it is possible to sign a message with a private key and verify it with a public key. The only problem is, that it is currently not compatible with openssl yet.
2015-01-15add missing importGibheer1-0/+1
2015-01-15fix typo and missing file closeGibheer1-1/+3
2015-01-15replace PrivateKey with crypto.SignerGibheer3-10/+4
2015-01-14add api for public keysGibheer3-3/+58
This enables pkictl to generate public keys from private keys in the rsa and ecdsa format.
2015-01-02add dns names and ip addresses with testsGibheer2-11/+125
2015-01-02move private key loading to private_key fileGibheer2-46/+45
2014-12-24add license and readmeGibheer2-0/+30
2014-12-24remove old code from commentsGibheer1-26/+0
2014-12-24move sign request handling into own fileGibheer2-55/+64
2014-12-24split private key generation into own fileGibheer2-84/+100
2014-12-24basic CSR management done, fields still missingGibheer1-11/+48
2014-10-28load private key when creating a CSRGibheer1-3/+71
2014-10-27the header for ecdsa must be ECGibheer1-1/+1
2014-10-27add rsa private keysGibheer1-3/+15
2014-10-27initial commit with ecdsa workingGibheer1-0/+163