Commit Graph

219 Commits

Author SHA1 Message Date
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
Jaromil
36565e2ef4 dropped c++ dependency plus various fixes 2011-01-16 23:43:45 +01:00
Jaromil
bee816111f fixes to tomb-open calls of external programs 2011-01-13 22:46:06 +01:00
Jaromil
dd71ddc57a build system now installs the .desktop file 2011-01-13 22:46:06 +01:00
Jaromil
542bcb1577 check if umount is succesfull
tomb-status now quits only when tomb is really unmounted
2011-01-13 22:35:32 +01:00
Jaromil
505442c394 tomb creation procedure
tomb-open wrapper and further fixes for desktop automatisms
2011-01-13 14:37:52 +01:00
Jaromil
c00a1721c8 desktop installation and mimetypes
and more updates
2011-01-12 17:02:19 +01:00
Jaromil
52531e1cf5 build all with deps (gtk and libnotify) 2011-01-12 11:38:30 +01:00
Jaromil
bd370c1ef5 more code to integrate gui elements and script 2011-01-12 11:38:03 +01:00
Jaromil
0bd8f4b4b6 upgraded version and documentation 2011-01-11 19:30:34 +01:00
Jaromil
587d121ff6 cleanup of old shell code 2011-01-11 19:28:17 +01:00
Jaromil
482c408609 safe wipe of created temp key file 2011-01-11 19:27:30 +01:00
Jaromil
d079876e08 better string trim/crop from whitespaces 2011-01-11 19:18:02 +01:00
Jaromil
dc9af2ccaf configure build for tomb-gtk 2011-01-11 19:10:05 +01:00
Jaromil
1d0b8b8433 tomb gtk2 gui
a start for the status tray with popup menu
2011-01-11 18:09:28 +01:00
Jaromil
49e6d09eae more fixes to the usbkey detection 2011-01-11 14:55:31 +01:00
Jaromil
b669a11ff4 now using ext4 filesystem
also tomb creation ask for saving the key on usb
2011-01-11 12:57:44 +01:00
Jaromil
dad9a4b716 external usb key unlock fully functional 2011-01-11 10:49:44 +01:00
Jaromil
f39b6e5cf7 new key on usb
usb key detection tested on ubuntu 10.04
2011-01-10 20:41:28 +01:00
Jaromil
44c08f73f2 small fix to key path 2010-09-16 14:51:06 +02:00
Jaromil
75f50e7b03 fixed tomb creation
cleanup of unused functions
and more usability and fixes
2010-08-29 14:56:53 +02:00
Jaromil
220cb4e70b umount handle cases when more tombs are mounted 2010-08-25 20:17:53 +02:00
Jaromil
8d1c34b2d3 added support offer 2010-08-23 21:28:09 +02:00
Jaromil
ed92f5e371 CLI cosmetics 2010-08-23 11:48:21 +02:00
Jaromil
c47ab2d68b fix umount
and some notes
2010-08-22 19:56:29 +02:00
Jaromil
fe0e1dfabd fixed installation 2010-08-22 19:08:24 +02:00
Jaromil
660ed8447b umount fixed
new format for naming of mapper, containing information about the tomb while mounted
2010-08-22 16:44:35 +02:00
Jaromil
f8ed58afc3 New repository for Tomb
first public release (see changelog for history)
2010-08-22 15:04:19 +02:00