chiark / gitweb /
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Richard Kettlewell [Fri, 30 May 2014 14:42:48 +0000 (15:42 +0100)]
Adjust error strings in test to match OS variations
Richard Kettlewell [Sat, 24 May 2014 14:28:41 +0000 (15:28 +0100)]
Update copyright notices
Richard Kettlewell [Sat, 24 May 2014 14:28:20 +0000 (15:28 +0100)]
Man page typo fixes
Richard Kettlewell [Sat, 24 May 2014 14:24:22 +0000 (15:24 +0100)]
Stricter argument checking.
Richard Kettlewell [Sat, 24 May 2014 14:03:28 +0000 (15:03 +0100)]
Backport tests to Debian wheezy
Change-Id: I3825a22ea000c94b37aa8bf3b71a49a1065e34b0
Richard Kettlewell [Sat, 24 May 2014 14:00:42 +0000 (15:00 +0100)]
Add some tests.
Richard Kettlewell [Sat, 24 May 2014 14:00:30 +0000 (15:00 +0100)]
Use shifts rather than multiplies to scale up size requests.
Richard Kettlewell [Sat, 24 May 2014 14:00:05 +0000 (15:00 +0100)]
More consistent diagnostics.
Richard Kettlewell [Sat, 24 May 2014 13:59:48 +0000 (14:59 +0100)]
more appropriate data types for rc4 implementation
Richard Kettlewell [Sat, 29 Mar 2014 19:28:57 +0000 (19:28 +0000)]
Add some comments.
Change-Id: Ie2047135ae8ff831c216a6e381829f5f9332fc88
Richard Kettlewell [Sat, 22 Feb 2014 09:12:51 +0000 (09:12 +0000)]
Further man page typo fix.
Richard Kettlewell [Sat, 22 Feb 2014 09:11:11 +0000 (09:11 +0000)]
Typo fixes to man page.
Richard Kettlewell [Sun, 12 Jan 2014 19:41:41 +0000 (19:41 +0000)]
Chattier description for Debian package
Richard Kettlewell [Sun, 12 Jan 2014 19:41:30 +0000 (19:41 +0000)]
Fix GPL pointer in debian copyright file
Richard Kettlewell [Sun, 12 Jan 2014 19:37:31 +0000 (19:37 +0000)]
Typo fix.
Richard Kettlewell [Thu, 31 Oct 2013 21:46:22 +0000 (21:46 +0000)]
Build fix for FreeBSD
Richard Kettlewell [Fri, 9 Aug 2013 15:16:04 +0000 (16:16 +0100)]
Update copyright messages to reflect changes this year
Richard Kettlewell [Fri, 9 Aug 2013 14:52:42 +0000 (15:52 +0100)]
Debianize. Release 0.3.
Richard Kettlewell [Fri, 9 Aug 2013 14:50:40 +0000 (15:50 +0100)]
Add hyphens in man page to placate lintian.
Richard Kettlewell [Fri, 9 Aug 2013 14:45:01 +0000 (15:45 +0100)]
README -> README.md
Richard Kettlewell [Fri, 9 Aug 2013 14:42:45 +0000 (15:42 +0100)]
Remove autogen.sh; use autoreconf -is instead.
Richard Kettlewell [Thu, 21 Feb 2013 19:58:28 +0000 (19:58 +0000)]
dir-locals.el
Richard Kettlewell [Thu, 21 Feb 2013 19:50:33 +0000 (19:50 +0000)]
Man page typo.
Richard Kettlewell [Thu, 21 Feb 2013 19:50:00 +0000 (19:50 +0000)]
Fix printf field width types
Richard Kettlewell [Thu, 21 Feb 2013 19:48:51 +0000 (19:48 +0000)]
Update usage message.
Ian Jackson [Thu, 21 Feb 2013 18:35:54 +0000 (18:35 +0000)]
New --progress option
This saves on boredom.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 17:53:39 +0000 (17:53 +0000)]
Manpage: add some usage hints
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 16:24:10 +0000 (16:24 +0000)]
Use /dev/urandom (or corresponding file) by default in --both mode
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 17:12:03 +0000 (17:12 +0000)]
Usage message: fix alignment
Whitespace change, in usage message, only.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 16:23:12 +0000 (16:23 +0000)]
Support --seed-file (and --seed-length)
This allows us to read the seed from a file (which might be
/dev/*random or simply a file with key material).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 16:14:52 +0000 (16:14 +0000)]
Move default seed setting to main().
This will make it easier to change later and will simplify the seed
file option parsing which is to come.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:56:19 +0000 (15:56 +0000)]
Turn "seed" from a string to a byte block.
This will make it easier to read seeds from [u]random in the next change.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:49:53 +0000 (15:49 +0000)]
Use RC4-drop, not RC4
RC4 is broken and is vulnerable to key recovery attacks.
See http://en.wikipedia.org/wiki/RC4#Security
Dropping the first 3072 bytes of the stream makes one of these attacks
harder. This doesn't fix the problems with using RC4 but it is an
improvement.
These problems are probably theoretical right now because plausible
contemporary threat models don't seem to involve the fake flash drive
trying serious cryptanalysis on our datastream.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:46:00 +0000 (15:46 +0000)]
Make --both the default
This does away with the NONE mode and the corresponding usage error.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:44:49 +0000 (15:44 +0000)]
New mode --both (-b), which does create then verify
This implies --entire unless a size is specified.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 16:46:23 +0000 (16:46 +0000)]
New --entire option
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:41:51 +0000 (15:41 +0000)]
Break out function "execute"
Code motion and incidental changes:
- Make the 2nd half of main into its own function
- Make most of the arg variables have file scope and static duration
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Richard Kettlewell [Fri, 17 Jun 2011 19:54:19 +0000 (20:54 +0100)]
Make SIZE argument optional when verifying. It is inferred from the
file to be verified. This is harmless when verifying storage media
but should be avoided if the filesystem implementation is under
suspicion.
Richard Kettlewell [Fri, 17 Jun 2011 19:51:39 +0000 (20:51 +0100)]
Remove redundant exit() calls.
Richard Kettlewell [Fri, 17 Jun 2011 19:49:50 +0000 (20:49 +0100)]
Rearrange argc/argv for more idiomatic access to positional arguments.
Richard Kettlewell [Wed, 15 Jun 2011 21:51:59 +0000 (22:51 +0100)]
Expand on purpose a little.
Richard Kettlewell [Wed, 15 Jun 2011 21:50:13 +0000 (22:50 +0100)]
Copyright notices
Richard Kettlewell [Wed, 15 Jun 2011 21:47:43 +0000 (22:47 +0100)]
.gitignore backup files
Richard Kettlewell [Wed, 15 Jun 2011 21:44:50 +0000 (22:44 +0100)]
MacOS support.
Uses purge to implement --flush.
Richard Kettlewell [Wed, 15 Jun 2011 21:23:28 +0000 (22:23 +0100)]
Document short-form options.
Richard Kettlewell [Wed, 15 Jun 2011 21:21:43 +0000 (22:21 +0100)]
More sensible type choices. Making remain be size_t would limit to 4G
on a 32-bit system!
Richard Kettlewell [Wed, 15 Jun 2011 21:19:33 +0000 (22:19 +0100)]
Add --flush option to evict the subject file from RAM, i.e. so you are
really testing the storage device rather than the OS's cache.
As implemented will only work on Linux, and requires superuser
privilege.
Richard Kettlewell [Mon, 13 Jun 2011 19:01:39 +0000 (20:01 +0100)]
List options in --help output
Richard Kettlewell [Mon, 13 Jun 2011 19:00:07 +0000 (20:00 +0100)]
Add a README and man page
Richard Kettlewell [Mon, 13 Jun 2011 18:34:47 +0000 (19:34 +0100)]
vbig - create or verify a large but pseudo-random file