chiark / gitweb /
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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