Commit Graph
9 Commits
Author SHA1 Message Date
Nick Sullivan 322fdb5829 Fix bad formatting. 2014-03-01 12:13:48 -08:00
Nick Sullivan 522f2f23b9 Add support for unmarshalling ECC passvault
- Minor readme fixes
- Add structure for EC Public key unmarshal
2014-03-01 11:55:10 -08:00
Kyle 1916f385ed Move {En,De}cryptCBC and MakeRandom to symcrypt.
The symcrypt package now contains common secret-key code that is
redefined in a number of packages.
2014-01-10 03:58:43 -07:00
Kyle a696c85bba Cleanups based on feedback from pull request. 2014-01-10 03:09:55 -07:00
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