Commit Graph

5 Commits

Author SHA1 Message Date
Kyle
5ea44c0ffb Add ECC support to passvault.
This adds code to handle ECC records; the RSA code remains intact.
While old password records are not affected, new records use ECC. Due to
the use of public keys to encrypt a KEK that is then used to encrypt
data, there is no visible change to end users. A user with an RSA key
can interact and share a secret with a user who has an ECC key.

The bulk of this commit simply adds cases for handling EC records.
2014-01-09 19:18:16 -07:00
Kyle
c0d375d4bf Begin adding ECDSA support. 2014-01-09 06:53:48 -07:00
Nick Sullivan
8cc69edefe Fix passvault on 32-bit systems
The passvault's id is created with math.rand as a native int.
If the vault is created on a 64-bit system, it breaks compatibility
with 32-bit systems.

- Generate vaults with 32-bit ids.
- Update testcode
2013-11-27 10:55:24 -08:00
Albert Strasheim
984f95ae17 Tweak error returns to work with older Go.
Fixes #14
2013-11-26 11:34:16 -08:00
Albert Strasheim
9c5d08f665 Make repository work with go get 2013-11-21 12:01:25 -08:00