Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
This finally adds support for the rsa public key.
|
|
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.
|
|
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.
|
|
|
|
|
|
This adds a way to restore a public key from any data source.
|
|
This commit adds support to sign and verify messages using ecdsa.
|
|
|
|
|
|
|
|
This adds pem support to public keys which can now be handled the same
way as private keys.
|
|
pki is a small library to make building some of the crypto stuff easier
in go.
|