Commit Graph

36 Commits

Author SHA1 Message Date
Joshua Kroll
96c07919bb Fix the usage string, example systemd files, and README for breaking flags change. 2015-10-15 12:41:10 -07:00
Joshua Kroll
883ec0d8fb Merge the functionality of multiple keys/certs and single keys/certs into single flags.
This makes configuration easier, as the same flag is used regardless of how many keys/certs are being provided.
2015-10-15 10:54:06 -07:00
Joshua Kroll
1c9bccbfcc Modify Red October to listen with multiple certificates.
This allows a single Red October instance to have multiple names,
which is useful for load-balancing across multiple instances (e.g.,
one can have a fleet of instances (ro1, ro2, ...) and also a logical
name (redoctober.example.com) and have working access via both names
thanks to the magic of SNI.
2015-10-13 21:44:30 -07:00
Nick Sullivan
309f6021e2 Merge pull request #88 from cloudflare/jkroll/listen-systemd
Add the ability to listen to systemd-provided sockets.
2015-10-10 15:35:47 -07:00
J Delaney
2cb02e33bc Update web interface to use dedicated user creation API 2015-10-09 13:00:33 -07:00
J Delaney
9443fdbf7a Add dedicated API for creating users 2015-10-09 13:00:08 -07:00
Joshua Kroll
638a25bbbc Add the ability to listen to systemd-provided sockets.
Add a new flag, -systemdfds, which causes Red October to expect to be
provisioned on launch with file descriptors for sockets opened by
systemd. This is useful for socket activation, but also allows systemd
to bind privileged ports for us. I've included example systemd
configuration files that successfully start Red October as a service
user without admin rights but bound to 443 in a Jessie VM for me. They
need to be installed where systemd expects them, which on Jessie is
/etc/systemd/system/redoctober.service and
/etc/systemd/system/sockets.target.wants/redoctober.socket.
2015-10-09 11:24:08 -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
Giulio Iotti
6e4957554c Implement purge action to remove all delegates, closes #48 2015-07-20 23:48:16 -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
df0db2f926 Report the correct endpoint in http logging. 2015-07-10 15:03:31 -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
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
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
Nick Sullivan
b1ea94b143 Put everything in one column. 2015-05-29 11:17:19 -07:00
Nick Sullivan
869254f58b Fixes for HTML
- one column
- align anchor tags with divs
2015-05-13 14:41:41 -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
Brendan Mc
e61103147c Minimized global state and made user type an option. 2015-05-01 16:10:55 -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
5deefb26c5 Let encrypt and decrypt be called by non-admins. 2015-04-13 12:51:02 -07:00
Nick Sullivan
bb80f777b2 Add new features to UI
- Delegate restrictions
- Encryption labels
2015-04-09 18:50:30 -07:00
Kyle Isom
91cd67f267 Decrypt returns the list of users used for delegation
When decrypting a chunk of data, red october will now report the users
whose keys were used in the decryption.
2014-09-14 19:13:37 -07:00
Albert Strasheim
b31541d534 Allow index.html to be overridden again. 2014-03-01 10:54:46 -08:00
Albert Strasheim
d9c8ab3ef8 Deprecate -static parameter. Embed HTML instead. 2014-03-01 09:32:51 -08:00
Albert Strasheim
984f95ae17 Tweak error returns to work with older Go.
Fixes #14
2013-11-26 11:34:16 -08:00
Marek Majkowski
15f4b5bc80 By default vault should not be stored in /tmp! 2013-11-26 06:37:14 -08:00
Nick Sullivan
9d6751ae76 Merge pull request #8 from majek/static_vs_staticpath
Documentation says about "-static" flag, not "-staticpath"
2013-11-25 07:58:32 -08:00
Marek Majkowski
59c4fb135a Be consistent about port number, 8080 not 8000 2013-11-25 07:49:19 -08:00
Marek Majkowski
94d2bcc18f Documentation says about "-static" flag, not "-staticpath" 2013-11-25 07:12:19 -08:00
Albert Strasheim
9c5d08f665 Make repository work with go get 2013-11-21 12:01:25 -08:00