0
0
Fork 0
Commit Graph

76 Commits

Author SHA1 Message Date
Gibheer d3e95c104e add description in each file what it does 2015-02-04 22:07:47 +01:00
Gibheer 5d47f05d87 rename files to reflect main function 2015-02-04 22:04:17 +01:00
Gibheer 7c55a837cd only add ips and names when they are set
If these options are not set, they would produce invalid values in the
resulting csr.
2015-02-04 21:55:00 +01:00
Gibheer 58100320b7 add last missing fields
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-02-03 21:56:06 +01:00
Gibheer 2fcde165be rename readme 2015-01-19 20:42:29 +01:00
Gibheer 8fea0018b2 add readme and todo file 2015-01-19 20:20:47 +01:00
Gibheer 022e839438 fix LICENSE and add AUTHORS file 2015-01-19 19:48:11 +01:00
Gibheer 223291b8cc extend stream capabilities
With this commit, both signing and verification get stream/file support
to read and write messages and signatures from and to files.
2015-01-19 12:13:44 +01:00
Gibheer f74ed0fda2 split stream opening into two functions
This way it is easier to open files for reading and writing.
2015-01-19 12:13:13 +01:00
Gibheer 1ff5d678a2 remove debug output 2015-01-16 11:51:22 +01:00
Gibheer 68167a5891 add signing and verifying of messages
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-16 11:23:14 +01:00
Gibheer 43384bab59 add missing import 2015-01-15 06:55:30 +01:00
Gibheer eda483d0d1 fix typo and missing file close 2015-01-15 06:55:13 +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 0a7c8b863b add dns names and ip addresses with tests 2015-01-02 11:40:58 +01:00
Gibheer dac4b27f74 move private key loading to private_key file 2015-01-02 11:40:32 +01:00
Gibheer d6088d5f99 add license and readme 2014-12-24 11:57:55 +01:00
Gibheer dfc9472452 remove old code from comments 2014-12-24 11:49:30 +01:00
Gibheer dd9d6eb8bb move sign request handling into own file 2014-12-24 11:48:45 +01:00
Gibheer 9a173e0019 split private key generation into own file 2014-12-24 11:43:18 +01:00
Gibheer 8ce2c7dcf1 basic CSR management done, fields still missing 2014-12-24 10:45:08 +01:00
Gibheer 05038898a1 load private key when creating a CSR 2014-10-28 21:21:30 +01:00
Gibheer f96f57ae15 the header for ecdsa must be EC 2014-10-27 22:43:01 +01:00
Gibheer b78544da1c add rsa private keys 2014-10-27 22:42:52 +01:00
Gibheer 0f9264579e initial commit with ecdsa working 2014-10-27 21:55:43 +01:00