Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-05-12 | Add ToPem() to public keys | Gibheer | 4 | -7/+32 | |
This was missing before from all public keys. | |||||
2017-05-12 | add proper pem interface | Gibheer | 5 | -9/+59 | |
This should finally resolve the completely broken and wrong API to get a pem representation of a resource. | |||||
2016-09-29 | fix result type | Gibheer | 1 | -1/+1 | |
The returned type must be io.WriterTo to make it fit the Pemmer interface. | |||||
2016-09-18 | move certificate and certificate request to pemmer | Gibheer | 1 | -3/+4 | |
This makes them use the Pemmer interface and therefore doesn't require any weird control code to handle these two special cases. | |||||
2015-07-12 | add ed25519 tests | Gibheer | 1 | -1/+44 | |
This adds the tests for the ed25519 keys. | |||||
2015-07-12 | add ed25519 implementation | Gibheer | 1 | -0/+104 | |
This adds the ed25519 implementation. It implements most of the API, apart from three functions. Both MarshalPem methods write the raw bytes to the channel instead of exporting it into ASN.1. Maybe this needs to be fixed. The PrivateKey() function does not return a crypto.PrivateKey at the moment, as the ed25519 private key does not implement that interface. | |||||
2015-07-12 | add support for signing for rsa | Gibheer | 1 | -2/+12 | |
This adds finally support to sign and verify messages using an RSA private and public key. The method used is PKCS1v15, as it was the easiest to implement first. There is also PSS available in go, so that could be implemented later. | |||||
2015-07-11 | implement rsa public key | Gibheer | 1 | -1/+7 | |
This finally adds support for the rsa public key. | |||||
2015-04-01 | add crl urls to the certificates | Gibheer | 1 | -0/+2 | |
2015-03-30 | add extended key usage for certificates | Gibheer | 1 | -2/+4 | |
2015-03-25 | reformat everything with gofmt | Gibheer | 7 | -313/+385 | |
Yes, I know that this will more or less destroy the history, but it had to be done. I also adjusted my editor to use gofmt rules by default now. | |||||
2015-03-25 | provide more documentation for certificate types | Gibheer | 1 | -0/+9 | |
2015-03-25 | fix variable names for golint | Gibheer | 1 | -17/+17 | |
2015-03-25 | refine documentation after report of golint | Gibheer | 1 | -3/+5 | |
2015-03-25 | fix go evt problem | Gibheer | 4 | -11/+15 | |
Go vet reported a problem with the interface of WriteTo returning an int. Line 13: method WriteTo(stream io.Writer) (int, error) should have signature WriteTo(io.Writer) (int64, error) To fix that problem, the interface was changed to return io.WriterTo, which uses int64 for return values. | |||||
2015-03-24 | add more flags to certificate options | Gibheer | 1 | -0/+13 | |
This adds the IsCA and ca length options to define, if the resulting certificate should be a CA. | |||||
2015-03-16 | add more documentation to ecdsa | Gibheer | 1 | -10/+17 | |
2015-03-16 | add documentation | Gibheer | 1 | -8/+24 | |
2015-03-16 | Merge branch 'certificate' | Gibheer | 2 | -0/+172 | |
This adds the API to generate certificates in the same way certificate sign requests were built. It works but still lacks some features and fields. | |||||
2015-03-16 | adjust comments on ecdsa a bit | Gibheer | 1 | -2/+2 | |
2015-03-16 | implement marshal pem interface for certificates | Gibheer | 1 | -1/+10 | |
2015-03-16 | finalize creation of a certificate | Gibheer | 2 | -7/+85 | |
With the options it is now finished. The only stuff left to do is to add all options provided by the go API. But this should be sufficient. | |||||
2015-03-15 | add certificate functionality | Gibheer | 1 | -3/+33 | |
2015-03-15 | refine certificate sign request workings | Gibheer | 1 | -31/+41 | |
2015-03-15 | first draft of a certificate system | Gibheer | 1 | -0/+45 | |
2015-03-15 | make raw private key public | Gibheer | 3 | -3/+3 | |
2015-02-19 | add documentation to rsa functions | Gibheer | 1 | -0/+3 | |
2015-02-19 | add public key loader | Gibheer | 3 | -9/+34 | |
This adds a way to restore a public key from any data source. | |||||
2015-02-18 | add sign and verification to ecdsa | Gibheer | 4 | -11/+32 | |
This commit adds support to sign and verify messages using ecdsa. | |||||
2015-02-18 | add MarshalPem() to rsa public key | Gibheer | 1 | -1/+4 | |
2015-02-18 | add marshal test for public key | Gibheer | 1 | -2/+6 | |
2015-02-18 | add marshal support | Gibheer | 1 | -3/+6 | |
2015-02-18 | add proper comment for function | Gibheer | 1 | -0/+1 | |
2015-02-18 | add first batch of tests | Gibheer | 1 | -0/+66 | |
2015-02-18 | add pem label for rsa | Gibheer | 1 | -0/+4 | |
2015-02-17 | add pem support to public key | Gibheer | 4 | -4/+19 | |
This adds pem support to public keys which can now be handled the same way as private keys. | |||||
2015-02-15 | add authors file | Gibheer | 1 | -0/+3 | |
2015-02-15 | add license | Gibheer | 1 | -0/+13 | |
2015-02-15 | initial commit for pki | Gibheer | 5 | -0/+176 | |
pki is a small library to make building some of the crypto stuff easier in go. |