Commit Graph

21 Commits

Author SHA1 Message Date
J Delaney
a909e17694 Add tests for passvault ChangePassword, NumRecords, and GetSummary 2015-10-10 14:54:26 -07:00
William Lewis
1fc30e968e MakeRevokeAdmin, DeleteRecord tests 2015-10-09 12:41:07 -07:00
William Lewis
83d4792bc9 Adding TestChangePassword to tests 2015-10-09 10:35:53 -07:00
Kyle Isom
923804458d goimports and go vet cleanups. 2015-05-07 15:35:07 -07:00
Brendan Mc
ef80162f14 Style changes 2015-05-07 13:51:00 -07:00
Brendan Mc
935b929dd5 Return to idiomatic style & Backwards compatible left&right owners 2015-05-04 19:05:19 -07:00
Brendan Mc
e61103147c Minimized global state and made user type an option. 2015-05-01 16:10:55 -07:00
Brendan Mc
c3c0e2182b Removed AES user type and reformatted more code. 2015-04-28 16:24:58 -07:00
Kyle Isom
64de12d368 Merge pull request #49 from Bren2010/patch03
Patches & Cleaning
2015-04-24 17:06:39 -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
6abea0f3f6 Default to RSA
Because of potential vulnerabilities in the ECDH library, all new
accounts should default to RSA.
2015-04-24 16:25:46 -07:00
Nick Sullivan
b0e133e266 Move from code.google.com to golang.org 2015-04-10 12:22:18 -07:00
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