Commit Graph

268 Commits

Author SHA1 Message Date
Jaromil
b521e32110 huge cleanup
tomb shell command doesn't depends from X,
 all GUI notifications are moved into tomb-open including USB key handling,
 gksu has been dropped completely as a method to gain privileges,
 there is a new -n flag to avoid processing hooks,
 variable names have been sanitized, duplicate code eliminated,
 documentation has been updated and the code cleaned up

we are very close to the 1.0 now
2011-02-20 14:59:30 +01:00
Jaromil
fd8df548f4 gtkrc trick for tomb icon
backup properly
2011-02-15 00:19:45 +01:00
Jaromil
b34d379596 backup function using duplicity
working, but hairy since duplicity continues trying to connect
and password handling is not optimal
2011-02-14 15:57:37 +01:00
Jaromil
1a6fd48def cleanup of password entry mechanism
using pinentry (with Assuan protocol) instead of our own askpass
a bit less cooler but much more secure.
this also includes partial normalization of variable names
and the redirection of tomb operational output to stderr.
2011-02-14 10:24:31 +01:00
Jaromil
5290fd9e8d new elements in TODO
after some researc on portability on windows
also decided to separate tomb in two deb packages:
tomb and tomb-gnome (or tomb-gtk)
2011-02-13 15:42:30 +01:00
Jaromil
ddc88e7cec fixed sudo for privilege excalation, gksu is not anymore a requirement
also updated Todo items
2011-02-13 12:29:07 +01:00
Jaromil
eea175b4a7 en/decode steganographic commands are renamed to bury and exhume
documentation updates reflect new features, manpage now refers to arguments of different nature
2011-02-12 17:54:53 +01:00
Hellekin O. Wolf =8)
5ec08459cb Merge branch 'fixes' of code.dyne.org:tomb into fixes 2011-02-12 13:13:29 +01:00
Hellekin O. Wolf =8)
1c9ec0c4f7 Silence mount error when retrying to close tomb 2011-02-12 12:48:16 +01:00
Hellekin O. Wolf =8)
9e8bd1924b Add support for open/close post-hooks
Now, the post-hooks is passed an argument (open or close) that can be
used to launch commands when the tomb opens or closes, respectively.

This patch also introduces a safer version of bind-hooks that doesn,t
eval the contents, but read a map:

local/to/tomb local/to/HOME

The local/to/HOME is hardly enforced ATM.
2011-02-12 12:38:59 +01:00
Hellekin O. Wolf =8)
2cce47a87f More cleanup 2011-02-12 12:33:45 +01:00
Hellekin O. Wolf =8)
905550657b Typos 2011-02-12 12:33:45 +01:00
Hellekin O. Wolf =8)
f14b31ad59 Cleanup after ourselves 2011-02-12 12:33:45 +01:00
Hellekin O. Wolf =8)
078f44160a One tool doing one thing and doing it well :) 2011-02-12 12:33:45 +01:00
Hellekin O. Wolf =8)
20170b2efb Fix opening when device identification is^Hwas too slow 2011-02-12 12:33:45 +01:00
Hellekin O. Wolf =8)
41aa86c9c7 Fix GTK2 requirement 2011-02-12 12:33:44 +01:00
Hellekin O. Wolf =8)
95e8032466 Fix sudo requirement 2011-02-12 12:33:44 +01:00
Jaromil
c2090c9743 Merge branch 'master' into fixes
Conflicts:
	src/tomb
2011-02-12 10:18:59 +01:00
Hellekin O. Wolf =8)
2b0938f6c0 Add decode/encode command info 2011-02-12 09:01:52 +01:00
Hellekin O. Wolf =8)
8891e0e1db Merge master 2011-02-12 08:53:04 +01:00
Hellekin O. Wolf =8)
f408017c07 Prevent directory removals if tomb didn't create them 2011-02-12 08:30:37 +01:00
Hellekin O. Wolf =8)
7756dc1610 notice after error 2011-02-12 08:26:42 +01:00
Jaromil
729e870e0e steganography encoding of keys in images (mostly for key backup)
just from the tomb commandline for now (we start missing a simple GUI wizard eh)

also includes fixes for backward compat (renames tomb volumes after files)
this helps scripts track all mounted tombs via mount -l which prints labels

and some tomb-open wrapper fixes too
2011-02-12 00:36:21 +01:00
Hellekin O. Wolf =8)
0396acd236 More cleanup 2011-02-11 17:45:54 +01:00
Hellekin O. Wolf =8)
a5abc06812 Typos 2011-02-11 17:10:56 +01:00
Hellekin O. Wolf =8)
70cb0a39db Cleanup after ourselves 2011-02-11 04:10:16 +01:00
Hellekin O. Wolf =8)
8ec31a1737 One tool doing one thing and doing it well :) 2011-02-11 04:02:40 +01:00
Hellekin O. Wolf =8)
d7b4313b08 Fix opening when device identification is^Hwas too slow 2011-02-11 03:56:09 +01:00
Hellekin O. Wolf =8)
fcfa222e4a Fix GTK2 requirement 2011-02-11 03:43:39 +01:00
Hellekin O. Wolf =8)
a285e332bc Fix sudo requirement 2011-02-11 01:32:24 +01:00
Jaromil
6ecdbc4b4b documentation updates for new release 2011-02-10 15:32:23 +01:00
Jaromil
52bec56755 suggestion from caedes on automatic umount after a while unused 2011-02-10 15:03:45 +01:00
Jaromil
9f8c321a43 some more fixes for the guided generation 2011-02-10 14:59:20 +01:00
Jaromil
c610e6dacc remove debugging stuff 2011-02-10 12:22:11 +01:00
Jaromil
23244bdedd fixes to tomb-status 2011-02-09 20:35:11 +01:00
Jaromil
12f92e7aef fixes to ask_usbkey
tested on debian 6
2011-02-09 20:22:39 +01:00
Jaromil
22a65c7193 correct string termination for tomb close invocation 2011-02-09 19:51:27 +01:00
Jaromil
89b76bcf06 TODO reorganization 2011-02-09 13:06:45 +01:00
Jaromil
2e4a643edf updates in todo 2011-02-08 11:00:46 +01:00
Jaromil
dc8ee093f4 somehow better wording for the wizard introduction 2011-02-08 11:00:28 +01:00
Jaromil
b72a6448a9 using /dev/random as a better source of entropy for key generation 2011-02-08 11:00:09 +01:00
Jaromil
246db46140 slam wish in todo 2011-02-07 12:06:37 +01:00
Jaromil
6078356b64 added post-hooks 2011-02-07 11:56:11 +01:00
Jaromil
09d63eac25 new TODO item and better help text 2011-02-07 11:46:22 +01:00
Jaromil
4f3204e1e8 using fork() again and pipefd to pass it arguments
it works now, also the parent process correctly reads the output
2011-02-07 11:27:53 +01:00
Jaromil
c8e623e450 small fix for tomb-open to work from filebrowser 2011-02-07 10:21:28 +01:00
Jaromil
2751d71708 Revert "substituted the fork with a pthread"
This reverts commit 5afeaac470.

execve()  does  not  return on success, and the text, data, bss, and stack of the calling process are overwritten by
that of the program loaded. means we cannot call exec() from a thread, we must use fork.

next try i'll use environment vars to pass mountpoint to forked exec.
2011-02-07 09:44:59 +01:00
Jaromil
cc9ecb9c20 TODO updates and enable-debug configure flag 2011-02-07 09:44:13 +01:00
Jaromil
e6db14dcfc bind hooks
a file bind-hook in the tomb's root indicated directories to be
mount -o bind when the tomb is opened. tomb close manages to umount them
2011-02-07 09:42:50 +01:00
Jaromil
0dab10f26c version bump and better TODO with roadmap 2011-02-06 17:44:01 +01:00