6 Commits

Author SHA1 Message Date
Kyle Isom
923804458d goimports and go vet cleanups. 2015-05-07 15:35:07 -07:00
Brendan Mc
e90713a370 Cleaned up; Patched identity point & invalid curve attacks..
- Update README.md
- Set read-only and write-only channels.
- Reorganized code.
- Set Content-Type and HSTS on index
- House keeping in ecdh.go and symcrypt.go
- Fixed bug; user changes weren't being saved.
2015-04-24 16:55:06 -07: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
de5b1817c7 SHA256 the ECDH shared key
This ensures the shared key is a more uniform distribution than just
taking the bytes from the shared X.
2014-01-10 16:27:14 -07: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
689f0e6fdc Add ECDH package.
The package encrypts data using ECDHE with AES-128-CBC-HMAC-SHA1;
this matches the other components. The curve used is P256 to match
the use of AES-128. The Go ECDSA package is used; no signatures are
done, but it presents usable PublicKey and PrivateKey types that are
useful for this system.
2014-01-09 19:16:02 -07:00