9 Commits

Author SHA1 Message Date
Gábor Lipták
6b9fad5e9d Cleanup Go Report Card warnings 2016-11-09 17:21:39 -05:00
Zi Lin
78e9720635 Zi/disable dead loop retry (#175)
* disable endless retry logic

- we should do the retry logic at application cmd/ro, cmd/ro will need to
  deal with keyboard interrupts as well

* update test self-signed certificate with a expiry of 100 years

* ro tool supports retries after getting delegation errors
2016-10-17 15:19:30 -07:00
Kyle Isom
70d3edbf9d Add ReEncrypt test to integration test. (#172) 2016-10-13 13:04:26 -07:00
Kyle Isom
9f39413adb Properly restore delegations.
This change addresses several points:

1. The integration tests didn't verify that delegations could be used
   for decryption following a restore. The integration tests now
   verify this.

2. There was no functionality for clearing persisted delegations if
   needed. The vault admin can now do this via the command line tool.

3. Restoring active delegations wasn't storing the key with the
   delegation. Keys are now serialised properly.

4. [Minor] The MSP package now reports the name of the offending user
   when it can't find a user name in the database.
2016-08-24 13:22:13 -07:00
Kyle Isom
5a8e70047a Add a restore endpoint to Red October core. (#167)
This takes the work done in 7c95007cda and
provides an interface via the server's API.
2016-08-12 09:09:56 -07:00
Kyle Isom
a63eaba58f Re-add integration tests.
This uses the prometheus endpoint to determine whether the redoctober
server has started.
2016-06-06 13:22:53 -07:00
Kyle Isom
ab9de37fad Remove integration test.
The servers are unreliable, and an improved test suite should be
built. The tests as they stand now aren't helping.
2016-05-04 23:27:21 -07:00
Andrew Buss
13f6616e60 Allow encryption with a single owner
The "minimum" parameter was ignored, so when a single user
was provided as an owner, the encrypted data had no KeySet value
and could not be decrypted.

This change fixes the API and cryptor to pay attention to the Minimum
parameter and handle the case where Minimum is 1
2015-11-30 03:07:07 -08:00
J Delaney
e4612a6e40 Test API response format and messages 2015-11-03 13:36:25 -08:00