Commit Graph

508 Commits

Author SHA1 Message Date
Jaromil
ed879974cd documentation updates for release 2013-06-12 14:33:53 +02:00
Jaromil
c16402b04b manpage updates 2013-06-12 14:10:27 +02:00
Jaromil
b08ada1d41 fix to documentation about KDF 2013-06-12 13:43:26 +02:00
Jaromil
f1318eb130 image and dummy pass selection in test suite 2013-06-12 13:41:12 +02:00
Jaromil
8d0c8e51e8 Brand new test suite
this test suite can be called by 'make test' and checks basic functions
plus KDF, STEGHIDE and RESIZE. It works creating files in /tmp/*tomb*
2013-06-12 13:36:50 +02:00
Jaromil
8e9fc7e803 Major fixes to KDF and steganography
With the advent of a proper test suite many bugs were found and
squashed both in the way KDF and steghide were used.

Key validation func is_valid_key() now attempts recovery for keys
that have broken headers or are naked text (back-compat to old exhume).

KDF and steg now work correctly.
2013-06-12 13:33:54 +02:00
Jaromil
4d6c0bf5cc Cleaner test environment
now available as 'make test'
2013-06-12 11:12:33 +02:00
Jaromil
bc3177141d fix to tomb resize
also included into test script
2013-06-12 03:01:28 +02:00
Jaromil
8f9e9f9d2a fixes to --tomb-pwd and new test script 2013-06-12 00:59:41 +02:00
Jaromil
61362ce34e forge and create refuse to overwrite existing files 2013-06-11 23:37:20 +02:00
Jaromil
28a52f5851 fixes to the way paths are handled in load_keys
should fix issue #97
2013-06-11 18:34:17 +00:00
Jaromil
710eb5c458 make install for extras/kdf 2013-06-11 17:34:01 +00:00
Jaromil
a500766644 fix to build KDF key protection algorithms 2013-06-11 17:21:06 +00:00
Jaromil
6e51d166be search/index fixes
warning if mlocate not found and better search string handling
searches through all open tombs. mlocate seems to not support multiple strings well.
2013-06-11 16:49:58 +00:00
Jaromil
f43ab33872 Merge branch 'gpgfix' for gnupg result parsing and stdin keys 2013-06-11 15:57:20 +00:00
Jaromil
9e820f3de6 Fixes to GnuPG 1.4.11/1.4.12 result parsing
GnuPG 1 changes behaviour across 1.4.11 and 12 minor versions
when it comes to --status-fd and messaging on stderr/stdout.

This is a fix to make sure that gpg output is parsed correctly
2013-06-11 15:56:59 +00:00
Jaromil
772b731e5f small fixes to tmpfile handling for key from stdin 2013-06-11 15:05:15 +00:00
Jaromil
7736cc97af autoconf removed from gitignore for cleanup 2013-06-03 10:12:59 +02:00
Jaromil
97a05c4f3b Merge pull request #93 from gdrooid/master
Fixed "tomb search" to work with mlocate tools (redhat)
2013-05-31 05:36:25 -07:00
gdrooid
d4b5d652f5 Fixed "tomb search" for real
Makes `tomb search` work as expected.
`tomb search tombname pattern` will search `pattern` in `tombname`.
2013-05-31 14:18:20 +03:00
gdrooid
778bca3864 Fixed "tomb search"
This way you can't specify a tomb to search in, but at least it will search for the patterns.
2013-05-30 20:24:51 +02:00
BoySka
f872f9f3d3 Merge pull request #91 from gdrooid/master
Fixed 2 small typos
2013-05-30 01:45:55 -07:00
gdrooid
88b24de30a Fixed 2 typos
changed a <tab> for a space
and corrected "sndexing"
2013-05-30 11:42:22 +03:00
Jaromil
c72ea9e52e last cosmetics for release
pdf rendering of manpage, images and copyright to foundation
2013-05-29 23:12:47 +02:00
Jaromil
361a194700 fix to key password verification
last minute bug slipped in: it doesn't recognizes correct passwords
in some strange situations where gnupg doesn't returns correctly
(for instance when a .gnupg dir is not found in home)
2013-05-29 21:05:30 +00:00
Jaromil
8ad87f2233 Added MA Thesis in documentation
F. Bertini, 2011, "Data privacy in Desktop as a Service", Univ. La Sapienza, Rome
2013-05-28 14:37:18 +02:00
Jaromil
2601dccb27 Temporary key from stdin
fix to temp dir and docu in help
2013-05-28 13:00:54 +02:00
Jaromil
917d8e8c6c Literate programming documentation links 2013-05-28 12:53:26 +02:00
Jaromil
c4d7646987 Removed translatable strings file
now generated on demand by scripts
2013-05-28 12:25:41 +02:00
Jaromil
7cbd03d370 Translatable text strings generation
set out of the main tomb script, into extras
2013-05-28 11:59:11 +02:00
Jaromil
671350585e Massive code cleanup
This commit doesn't changes anything substantial in the code,
but reorganizes it in foldable units (we use folding.el) and
fixes its markup for literate code documentation using our own
fork of shocco.
2013-05-28 11:57:58 +02:00
Jaromil
8a21eb6145 Literate code documentation
facilitates code audit
2013-05-28 00:25:27 +02:00
Jaromil
110ae83cd1 Relevant improvements to key password handling
now keys are verified in load_key() honoring commanline args
ask_key_password() will challenge user verifying using gnupg
drop_key() should be called after key has been used

this commit removes quite som duplicate code in password handling.
2013-05-27 22:49:44 +02:00
Jaromil
f37f7dd51d Tomb size lower limit
Most filesystems can't deal with less than 10 MiB space
closes issue #68
2013-05-27 21:35:28 +02:00
Jaromil
568cc43ab6 Size unit is now MiB
More precise megabyte calculation as in IEC 2000 mebibyte
Cleans up use of dd/dcfldd
Solves issue #87
2013-05-27 21:24:17 +02:00
BoySka
4aa00fe5f6 Merge pull request #89 from HalosGhost/patch-1
Make: add DESTDIR variable for easy packaging
2013-05-26 13:41:54 -07:00
Sam Stuewe
300f041670 Make syntax more explicit and clean; Add DESTDIR variable for easy packaging
--TODO--
* Add kdf installation
* Add zsh completion installation
2013-05-26 16:09:21 -04:00
Jaromil
2bb6704190 added simple makefile for manpage install 2013-05-25 16:39:42 +02:00
Jaromil
ad59dec3da documentation updates 2013-05-25 16:29:19 +02:00
Jaromil
c20ca3a920 whitespace cleanup 2013-05-25 15:05:21 +02:00
Jaromil
37792ffdc5 cleanup of the main script
improved binary check, made resize optional
and set aside old install command (was already unused)
2013-05-25 15:04:16 +02:00
Jaromil
5f5fb06d43 documentation updates 2013-05-20 13:19:51 +02:00
Jaromil
3eb93acc18 Directory reorganization
This commit re-organizes all the source distribution contents to
present users with the simple script, while moving the rest in extras.
Also autoconf/automake scripts were removed, back to minimalism.

The rationale of this change is that Tomb really only consists of a
script and users with no extra needs should just be presented with
it with no need for anything else. Any other thing on top of the Tomb
script is an extra and can be even distributed separately or integrated
in distributions.
2013-05-18 17:29:37 +02:00
Jaromil
f5ccff8027 new lookup for mounted tombs fully adopted
now tomb close looks up bind hooks correctly

this commit includes backward compatibility fix for Debian 6
2013-05-15 13:53:28 +02:00
Jaromil
148be7283b fixed lookup for mounted tombs
better parsing of mount output when looking for mounted tombs and bind hooks

fixes parsing also for Debian 7 where somehow mount output has changed
2013-05-15 12:00:23 +02:00
Jaromil
85e36178df flag .noindex for tombs to exclude from search index
better manpage documentation for the search index command
2013-04-23 15:45:31 +02:00
Jaromil
6bda7e914e continuing manual documentation 2013-04-16 18:11:26 +02:00
Jaromil
d769a09d25 fix to tomb search
correctly searches across multiple mounted tombs
2013-04-16 13:40:25 +02:00
Jaromil
fc84c27a49 small fix in password processing 2013-03-31 10:25:57 +02:00
Jaromil
a5d09a0559 create command restored for backward compatibility
the new mechanism to create tombs is in place (dig/forge/lock), but we
still wrap it with a create command for backward compatibility.
2013-03-30 18:59:34 +01:00