Commit Graph

77 Commits

Author SHA1 Message Date
Jaromil
81be1fa619 key file extension changed to .tomb.key
rename your keys !
this change was motivated by the fact gpg tends to overwrite the
.tomb file if we decrypt the tomb.gpg by hand. changing the extension
in .tomb.key this doesn't happens.
2011-02-20 20:10:08 +01:00
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
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)
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)
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
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
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
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
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
5afeaac470 substituted the fork with a pthread
fixes a bug in closing tombs from the status tray icon
2011-02-06 17:02:28 +01:00
Jaromil
6b11d2397e documented -q flag 2011-02-03 22:17:06 +01:00
Jaromil
c0bd02a8c0 correct locking of open/close operations
in coordination with tray status presence
and lots more cleanups and testing
2011-02-03 20:42:46 +01:00
Jaromil
465e2f63e5 relevant code cleanup
reenginered priviled escalation
fixed more test cases
2011-02-03 17:11:08 +01:00
Jaromil
613fb37cc7 integrations from the work branch
documentation updates for the 0.9 release
2011-01-30 23:25:01 +01:00
Jaromil
2bff19e0e4 fixes after testing on debian and better documentation 2011-01-30 11:37:50 +01:00
Jaromil
6e51e049c2 correct menu installation 2011-01-29 14:45:03 +01:00
Jaromil
d5f1ce3b2e better ask (y/n) 2011-01-29 14:26:44 +01:00
Jaromil
eac4818f30 manpage, documentation and fixes for the new release
includes also timeout to ask_usbkey, correct naming of tomb
reference documentation for encryption settings, webpage updates and artworks
2011-01-28 12:26:35 +01:00
Jaromil
a8850cd54a more mime-info and desktop files installed by autoconf
doing it this way is the correct way for debian and obsoletes tomb install
which we might want to keep anyway for non-package installations
2011-01-19 19:28:29 +01:00
Jaromil
b40dcff457 tomb notify command for external calls from tomb-open 2011-01-19 12:54:43 +01:00
Jaromil
4475af91a6 removed tomb-notify,
substituted by generic tool notify-send in libnotify-bin package
also minor fixes and docu updates
2011-01-19 12:38:19 +01:00
Jaromil
650ce60587 our own askpass gui 2011-01-16 23:44:13 +01:00