0
0
Fork 0
Commit Graph

20 Commits

Author SHA1 Message Date
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