Commit Graph

25 Commits

Author SHA1 Message Date
Marek Majkowski
94d2bcc18f Documentation says about "-static" flag, not "-staticpath" 2013-11-25 07:12:19 -08:00
John Graham-Cumming
3be7cc32b6 Merge pull request #6 from jdiez17/master
Reformatted JSON examples, fixed Markdown
2013-11-22 06:51:07 -08:00
José Manuel Díez
f5c77700dd Added newlines to README.md to show examples as code blocks 2013-11-22 13:52:01 +00:00
José Manuel Díez
16db488ea4 Fix markdown in README (tabs -> spaces) 2013-11-22 13:49:16 +00:00
John Graham-Cumming
7a536a5721 Merge pull request #5 from djolivier/master
Fix typo on line 110, decryped -> decrypted.
2013-11-22 04:48:52 -08:00
Darren Olivier
af28e0cb49 Fix typo on line 110, decryped -> decrypted. 2013-11-22 14:32:00 +02:00
grittygrease
55f36c9d6a Update README.md
Update build and install instructions to use go get.
2013-11-21 12:26:54 -08:00
Albert Strasheim
576e326208 Merge pull request #4 from alberts/master
Make repository work with go get
2013-11-21 12:17:15 -08:00
Albert Strasheim
9c5d08f665 Make repository work with go get 2013-11-21 12:01:25 -08:00
dknecht
5f328bb7a3 update makefile to work in CloudFlare build system 2013-11-21 08:42:54 -08:00
Nick Sullivan
be1faea688 Add cf-package target. 2013-11-21 08:23:43 -08:00
Nick Sullivan
9c2cf08409 Add external dependency to makefile. 2013-11-21 08:20:49 -08:00
Nick Sullivan
d7d64a0c6b Small changes
The string used for selecting the transaction type should
be copied because it is passed by reference.

Augment HMAC to validate entire decryption request

All the valued fields need to be hashed for incoming
encrypted file.  This is to keep the integrity of the
request.

Add static test case for core

Test the output of a pre-computed encrypted blob with associated
vault.

Support hosting static file under /index

Require client auth only when server CA present

Add tests for cryptor.go

Improve comments.
2013-11-20 17:51:20 -08:00
grittygrease
a0516a473a Merge pull request #3 from jgrahamc/master
Fix bug in makeRandom and do some more general code clean up
2013-11-20 09:27:31 -08:00
John Graham-Cumming
aa1365eb1b Fix bug in makeRandom and do some more general code clean up
The makeRandom() function was ignoring its argument and always returning 16
bytes of random data (this didn't matter because it was only ever called with
16 as its argument).

Take another look at this file and perform general clean up of comments and
go style.

Spotted another small bug where an error was set using

  err = errors.New()

but there was no return statement so the error was ignored.
2013-11-20 09:21:14 -08:00
grittygrease
61cb0542fb Merge pull request #2 from jgrahamc/master
Fix small problem that occurred when merging from upstream
2013-11-20 08:55:33 -08:00
John Graham-Cumming
a3307c097b Fix small problem that occurred when merging from upstream 2013-11-20 08:53:14 -08:00
Nick Sullivan
aeb6aa26ec Merge branch 'master' of https://github.com/jgrahamc/redoctober
Conflicts:
	src/redoctober/core/core_test.go
	src/redoctober/passvault/passvault_test.go
2013-11-20 08:32:11 -08:00
John Graham-Cumming
ab19d6a5cb First time a second set of eyes has looked at the code
The major work here has been:

1. Clean up some go idioms to make the code more idiomatic and simplify
   functions where possible to minimize number of lines where there was
   unnecessary code.

2. Document as many of the functions and packages as possible.

3. Add a test suite for the padding package.

4. Force 'go fmt' when 'make' is performed.

5. Better handling of errors throughout the code. There were quite a few
   that were ignored, now they are handled and reported on (e.g. if the
   JSON in the password vault is broken it will no longer be ignored, etc.)

6. Changed the names of a number of functions to make them clearer.

The code could now do with someone who knows it well to go through and
document everything clearly for release.
2013-11-19 19:27:19 -08:00
Nick Sullivan
e9a2f77007 Update command line call for redoctober 2013-11-19 17:53:12 -08:00
Nick Sullivan
afda151f08 Add real test cases for passvault. 2013-11-19 14:51:37 -08:00
Nick Sullivan
897abdfb59 Use the correct testing framework and JSON. 2013-11-19 09:56:38 -08:00
John Graham-Cumming
d172058d5d Clean up comments and run 'go gmt' across code 2013-11-19 04:11:38 -08:00
Nick Sullivan
4e1aa78fb8 [redoctober] Initial logic for alpha server 2013-11-18 17:29:05 -08:00
grittygrease
0358ef9e63 Initial commit 2013-10-30 12:35:26 -07:00