]> git.scottworley.com Git - overonion/log
overonion
6 years agokeyline() and keyfield() operations master
Scott Worley [Tue, 24 Oct 2017 13:49:52 +0000 (06:49 -0700)]
keyline() and keyfield() operations

Rather than messy sed invocations

6 years agoDon't use salt for encryption
Scott Worley [Mon, 23 Oct 2017 03:45:09 +0000 (20:45 -0700)]
Don't use salt for encryption

The openssl-enc documentation says "This option SHOULD NOT be used ...".

I claim that -nosalt is safe to use in this application because:

1. The secrets being used here are full key-size + IV-size random values
   straight out of the random number generator.
2. Keys are never re-used.

-nosalt is desirable for this application because it avoids the "Salted__..."
header.  Having a "Salted__" header on every single layer of encryption
allows an attacker to get a known-plaintext-attack fingernail under each
layer, giving an opportunity to attack each layer individually.

6 years agoRefuse to re-use keys
Scott Worley [Mon, 23 Oct 2017 03:37:11 +0000 (20:37 -0700)]
Refuse to re-use keys

6 years agoUse salted hashes
Scott Worley [Mon, 23 Oct 2017 03:27:04 +0000 (20:27 -0700)]
Use salted hashes

6 years agoAutomate hash test
Scott Worley [Mon, 23 Oct 2017 03:11:34 +0000 (20:11 -0700)]
Automate hash test

6 years agoMove hash initiation into overonion-make-key
Scott Worley [Mon, 23 Oct 2017 02:58:14 +0000 (19:58 -0700)]
Move hash initiation into overonion-make-key

6 years agoName key size
Scott Worley [Sun, 22 Oct 2017 07:16:48 +0000 (00:16 -0700)]
Name key size

6 years agoAdd hashing
Scott Worley [Sun, 22 Oct 2017 07:11:31 +0000 (00:11 -0700)]
Add hashing

6 years agoset -e doesn't catch failures inside <()
Scott Worley [Sun, 22 Oct 2017 07:01:03 +0000 (00:01 -0700)]
set -e doesn't catch failures inside <()

6 years agoFinish encryption before starting decryption
Scott Worley [Sun, 22 Oct 2017 04:58:07 +0000 (21:58 -0700)]
Finish encryption before starting decryption

6 years agoFold reverse into overonion
Scott Worley [Sun, 22 Oct 2017 04:25:09 +0000 (21:25 -0700)]
Fold reverse into overonion

overonion now does what "double-overonion" used to do.
Full keys are now one self-contained file.

6 years agoAdd an operation field to each line.
Scott Worley [Sun, 22 Oct 2017 04:01:53 +0000 (21:01 -0700)]
Add an operation field to each line.

The only operation at first is "openssl-enc"

6 years agoError messages on stderr
Scott Worley [Sun, 22 Oct 2017 04:01:23 +0000 (21:01 -0700)]
Error messages on stderr

6 years agoAutomate overonion test
Scott Worley [Sun, 22 Oct 2017 00:27:26 +0000 (17:27 -0700)]
Automate overonion test

6 years ago--make_INSECURE_key to allow fast tests
Scott Worley [Sun, 22 Oct 2017 00:19:31 +0000 (17:19 -0700)]
--make_INSECURE_key to allow fast tests

6 years agoSkip the sleep; rely on /dev/random to block.
Scott Worley [Sun, 22 Oct 2017 00:14:18 +0000 (17:14 -0700)]
Skip the sleep; rely on /dev/random to block.

6 years agoMerge reverse + overonion shell implementation
Scott Worley [Fri, 20 Oct 2017 08:30:02 +0000 (01:30 -0700)]
Merge reverse + overonion shell implementation

7 years agoMmap in 512MB chunks
Scott Worley [Fri, 12 May 2017 05:21:52 +0000 (22:21 -0700)]
Mmap in 512MB chunks

This allows processing large files on 32-bit machines that don't have
the address space to map entire files.

7 years agoAccept a test data file as a command line argument
Scott Worley [Mon, 8 May 2017 03:27:05 +0000 (20:27 -0700)]
Accept a test data file as a command line argument

7 years agoUse make_temporary_file in tests
Scott Worley [Sun, 7 May 2017 18:33:28 +0000 (11:33 -0700)]
Use make_temporary_file in tests

7 years agoPull out make_temporary_file
Scott Worley [Sun, 7 May 2017 18:27:58 +0000 (11:27 -0700)]
Pull out make_temporary_file

7 years agoAccept streams as input. Use a temp file
Scott Worley [Sun, 7 May 2017 18:17:22 +0000 (11:17 -0700)]
Accept streams as input.  Use a temp file

7 years agoSwitch to stdio for output. It's simpler
Scott Worley [Sat, 6 May 2017 17:13:43 +0000 (10:13 -0700)]
Switch to stdio for output.  It's simpler

7 years agoSort includes
Scott Worley [Sat, 6 May 2017 16:56:46 +0000 (09:56 -0700)]
Sort includes

7 years agoWhitespace: Single-line error checks
Scott Worley [Sat, 6 May 2017 16:49:27 +0000 (09:49 -0700)]
Whitespace: Single-line error checks

7 years agoTest reverse
Scott Worley [Sat, 6 May 2017 16:44:34 +0000 (09:44 -0700)]
Test reverse

7 years agoTake the output_fd as an argument
Scott Worley [Sat, 6 May 2017 06:58:24 +0000 (23:58 -0700)]
Take the output_fd as an argument

7 years agoMake a function call interface
Scott Worley [Sat, 6 May 2017 18:42:47 +0000 (11:42 -0700)]
Make a function call interface

7 years ago.gitignore
Scott Worley [Sat, 6 May 2017 06:39:02 +0000 (23:39 -0700)]
.gitignore

7 years agoA Makefile
Scott Worley [Sat, 6 May 2017 06:23:28 +0000 (23:23 -0700)]
A Makefile

7 years agoReverse a file
Scott Worley [Mon, 1 May 2017 08:20:54 +0000 (01:20 -0700)]
Reverse a file

6 years agoDouble overonion
Scott Worley [Fri, 20 Oct 2017 07:50:06 +0000 (00:50 -0700)]
Double overonion

6 years agoOveronion version 0.1
Scott Worley [Fri, 20 Oct 2017 04:50:46 +0000 (21:50 -0700)]
Overonion version 0.1