aboutsummaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)AuthorFilesLines
2015-03-24add start and end date to certificatesGibheer1-5/+2
This adds the start and end date flags for certificate generation and also a flag to define, if the resulting certificate should be a CA or not. Next step in the implementation is to define the key usages.
2015-03-23rename FlagCertificateDataGibheer1-1/+1
This makes it easier to distinguish between the csr data and cert data.
2015-03-22remove unused importGibheer1-1/+0
2015-03-21rework the parameter managementGibheer1-112/+81
With this change it is now possible to provide help messages for all commands. This will help to further cleanup and minimize the code base.
2015-03-18fixes small typoGibheer1-1/+1
2015-03-18add a --help option to avoid an error messageGibheer1-0/+1
2015-03-16certificate generation is inGibheer1-9/+29
The hole certificate sign request and certificate creation process was pulled into pki, which made pkictl a bit smaller in code. There are still some things missing, but the initial support for certificates is done!
2015-03-05finally add certificate sign request generationGibheer1-1/+20
This adds finally a way to create certificate sign requests. There are still some options missing, but it is coming together. With the next step, the ccertificate data container will probably be put into the pki library.
2015-02-20add verification of messagesGibheer1-3/+26
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 againGibheer1-20/+33
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 error messages nicerGibheer1-7/+7
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 supportGibheer1-4/+10
This adds all options to create and store a public key.
2015-02-15adjust library pathGibheer1-1/+1
2015-02-15redesign cliGibheer1-40/+51
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-01-19split stream opening into two functionsGibheer1-7/+17
This way it is easier to open files for reading and writing.
2015-01-16add signing and verifying of messagesGibheer1-7/+11
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-15replace PrivateKey with crypto.SignerGibheer1-2/+0
2015-01-14add api for public keysGibheer1-2/+8
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-46/+0
2014-12-24remove old code from commentsGibheer1-26/+0
2014-12-24move sign request handling into own fileGibheer1-55/+2
2014-12-24split private key generation into own fileGibheer1-84/+1
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