345 Commits

Author SHA1 Message Date
Zi Lin
fa395ea5b7 add a TODO for formatted summary output in ro cli 2015-09-28 15:33:22 -07:00
Zi Lin
d2246f5111 check response status before parse the response bytes 2015-09-28 15:31:13 -07:00
Kyle Isom
e79b5c9057 Merge pull request #79 from cloudflare/zi/re-encrypt
Add new operation: re-encrypt
2015-08-12 08:22:40 -07:00
Zi Lin
b1ac8b4cc0 Add new operation: re-encrypt
're-encrypt' allows us to re-encrypt an RO encryption to a different set
of owners and labels. Currently two delegations are sufficient to carry
out this operation.
2015-08-11 16:43:28 -07:00
Kyle Isom
ce47aa1ecd Merge pull request #78 from cloudflare/zi/cli-client
Add a CLI client
2015-07-30 13:13:18 -07:00
Zi Lin
4de443946c Add a CLI client
* vendored code.google.com/p/gopass as package cmd/ro/gopass
2015-07-30 13:02:56 -07:00
Zi Lin
c3a9c83f9c Merge pull request #77 from cloudflare/dullgiulio-dullgiulio/purge-delegations
Dullgiulio dullgiulio/purge delegations
2015-07-21 12:44:14 -07:00
Kyle Isom
209df8d9a6 Add purge command to clear delegations. Closes #48. 2015-07-21 00:03:22 -07:00
Giulio Iotti
6e4957554c Implement purge action to remove all delegates, closes #48 2015-07-20 23:48:16 -07:00
Nick Sullivan
b5f83e9061 Merge pull request #76 from cloudflare/kyle/fix-core
Don't discard result of errors.New.
2015-07-20 16:00:50 -07:00
Kyle Isom
9ae97534ff Don't discard result of errors.New. 2015-07-20 15:52:24 -07:00
Kyle Isom
03a92365ba Merge pull request #75 from cloudflare/kyle/travis-containerise
Migrate Travis to containerised builds; bump Go version
2015-07-20 15:47:36 -07:00
Kyle Isom
b555918a19 Merge pull request #74 from cloudflare/kyle/more-logging
Consistent and more thorough logging.
2015-07-20 15:47:27 -07:00
Kyle Isom
e0e6b260a0 Note the component that a log entry originates from.
Instead of just 'init', use 'core.init' for core commands. Likewise,
in the HTTP server, note log entries originate from the server.
2015-07-20 09:54:51 -07:00
Kyle Isom
e37be3a12a Consistent and more thorough logging.
This PR makes log entries consistent in their format, and ensures
that all the core functions are logged.
2015-07-20 09:54:04 -07:00
Kyle Isom
12e19f8401 Add @lziest to Travis emails. 2015-07-17 15:20:15 -07:00
Kyle Isom
fc4ecb24b1 Migrate Travis to containerised builds; bump Go version
- Migrate Travis: see http://docs.travis-ci.com/user/migrating-from-legacy/
- Bump Go version from 1.2 to 1.4: Go 1.2 is outdated
2015-07-17 15:14:06 -07:00
Kyle Isom
ca85567296 Merge pull request #73 from psanford/update-readme
README.md: fix permission info on api endpoints
2015-07-16 11:54:54 -07:00
Peter Sanford
68c9b46d1c README.md: fix permission info on api endpoints
This updates the docs to match how permissions work since
the delegation model changed in 8e910c20.
2015-07-16 09:44:40 -05:00
Zi Lin
570b882f66 Merge pull request #71 from cloudflare/kyle/http-log-fix
Report the correct endpoint in http logging.
2015-07-15 12:17:58 -07:00
Kyle Isom
df0db2f926 Report the correct endpoint in http logging. 2015-07-10 15:03:31 -07:00
Nick Sullivan
27477addba Merge pull request #66 from cloudflare/kyle/export
Add export endpoint, permitting backing up the vault.
2015-07-10 14:13:33 -07:00
Nick Sullivan
6645088e73 Merge pull request #70 from cloudflare/kyle/improved-core-logging
Improve logging for various actions in the core package.
2015-07-10 14:13:21 -07:00
Kyle Isom
6c2bc7c773 Improve logging for various actions in the core package. 2015-07-09 15:27:43 -07:00
Kyle Isom
ead76f2c30 Add export endpoint, permitting backing up the vault. 2015-07-09 13:28:18 -07:00
Nick Sullivan
1a8138e3c2 Merge pull request #69 from cloudflare/kyle/summary-fix
User summary fix and IP logging.
2015-07-09 11:54:08 -07:00
Nick Sullivan
c035b084de Merge pull request #68 from cloudflare/kyle/clarify-summary
Various index page cleanups.
2015-07-09 11:53:58 -07:00
Kyle Isom
f8fd086af1 User summary fix and IP logging. 2015-07-09 11:37:29 -07:00
Kyle Isom
d9ae317ff7 Various index page cleanups. 2015-07-09 09:46:56 -07:00
Kyle Isom
f781497cdb Merge pull request #65 from ghedo/owners
Add support for listing required delegations for an encrypted secret.
2015-06-17 18:10:58 -07:00
Kyle Isom
327aec06c7 Merge pull request #67 from ghedo/decrypt-form
Fix selector for #decrypt form submit callback
2015-06-17 12:12:08 -07:00
Alessandro Ghedini
e6662eb7b6 Fix selector for #decrypt form submit callback 2015-06-17 11:21:42 +02:00
Alessandro Ghedini
4183569465 Add support for listing required delegations for an encrypted secret
This patch adds the /owners API endpoint that returns the list of users
that "own" the given secret. These are the users that can delegate their
passwords for decrypting the secret.

It also adds the "Get Owners" form in the web UI that uses the new API.

Fixes #62
2015-06-17 11:07:26 +02:00
Zi Lin
5328f286b9 Merge pull request #64 from Bren2010/bug/leftright
Fixed left & right owner logic.  Closes issue #63.
2015-06-11 21:32:56 -07:00
Brendan Mc
fcf9b125d0 Fixed left & right owner logic. Closes issue #63. 2015-06-11 21:19:04 -07:00
Kyle Isom
44adc82433 Merge pull request #58 from cloudflare/nick/uitweak
Put everything in one column.
2015-05-29 13:01:40 -07:00
Nick Sullivan
b1ea94b143 Put everything in one column. 2015-05-29 11:17:19 -07:00
Kyle Isom
fcb700c517 Merge pull request #56 from cloudflare/nick/decrypt
Check for full set of keys before using delegation.
2015-05-19 17:26:41 -07:00
Nick Sullivan
244288a4d3 Check for full set of keys before using delegation. 2015-05-19 17:20:26 -07:00
Nick Sullivan
ec680bb4d7 Merge pull request #54 from cloudflare/nick/html
Fixes for HTML
2015-05-14 12:04:50 -07:00
Nick Sullivan
869254f58b Fixes for HTML
- one column
- align anchor tags with divs
2015-05-13 14:41:41 -07:00
Nick Sullivan
165a4c5bb4 Merge pull request #53 from cloudflare/zi/client-improve
client update. Trusted CAFile should be optional
2015-05-11 11:20:20 -07:00
Zi Lin
68e8f62107 client update. Trusted CAFile should be optional 2015-05-08 17:03:11 -07:00
Nick Sullivan
5c90a3a83f Merge pull request #52 from cloudflare/kyle/cleanups
goimports and go vet cleanups.
2015-05-07 17:08:54 -07:00
Kyle Isom
923804458d goimports and go vet cleanups. 2015-05-07 15:35:07 -07:00
Kyle Isom
4ecdcd8614 Merge pull request #50 from Bren2010/patch05
Patches for Bugs & HMAC Malleability
2015-05-07 14:42:59 -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
7e08548caf Patched HMAC vulnerability. 2015-05-01 16:46:57 -07:00
Brendan Mc
9f0c4e9e28 Fixed empty list bug & lowered disk thrashing in core_test 2015-05-01 16:11:33 -07:00