Commit Graph

287 Commits

Author SHA1 Message Date
boyska
b07c8ae67c FIX --no-color works again (see #78 )
now _msg complies with zsh way of doing colors
2012-01-17 17:46:07 +01:00
Jaromil
1af4c42749 messaging and debugging enhancements
Now checks for GnuPG and lists available ciphers

Some more information about the tomb opened is retrieved via cryptsetup
Also some duplicate strings were eliminated and year notices were updated
2012-01-17 17:28:40 +01:00
Jaromil
35e1afdceb Merge branch 'fix_debug' 2012-01-17 15:18:27 +01:00
boyska
40ca8b0ee6 FIX: -D and -q work again (see #78 ) 2012-01-17 15:18:06 +01:00
Jaromil
0d2038836a using short form for force option: -f
documentation updated accordingly
2012-01-17 15:17:12 +01:00
Jaromil
f645bc59e1 documentation for the new resize command
along with some small fixes
2012-01-17 15:00:01 +01:00
Anathema
c72acdeaa9 Tomb resize
The new 'resize' command lets a user increase the size of the tomb

The operation is quite lengthy as it requires the creation of a new
tomb file and then copying all contents from the old tomb to the new.
2012-01-17 14:47:22 +01:00
Jaromil
58decda7fe fixes to check_swap and new --force flag
Tenamed --ignore-swap flag to --force which is more generic and used
also by other commands. There are also some minor fixes to CMD
parsing. All changes are documented in manual and help.
2012-01-17 14:46:57 +01:00
Hellekin O. Wolf
28d81f1004 Merge pull request #73 from hellekin/cleanup-square
Merge cleanup refactoring
2011-12-01 13:52:47 -08:00
hellekin
9e32766e07 tomb-open is relative to tomb 2011-12-01 21:43:20 +01:00
hellekin
105a0e14c1 Update undertaker to the new _msg 2011-12-01 21:39:10 +01:00
hellekin
d0e44bb264 Enforce safe SHM and no, or only encrypted swap 2011-12-01 20:41:04 +01:00
hellekin
7aff877fda Shorten check_bin
Squashed commit of the following:

commit 7c393ed0a0c8412203a6ee0ee5455f3008381da4
Author: hellekin <hellekin@cepheide.org>
Date:   Thu Dec 1 20:25:53 2011 +0100

    use string tokenizer for mkfs too

commit f37de5beae6b92af2834cd56b5109076693d3145
Author: hellekin <hellekin@cepheide.org>
Date:   Thu Dec 1 20:20:08 2011 +0100

    use string tokenizer for wipe, not array

commit fa035bfab1d7d1682d4edf2f6430f7da4483a3f3
Author: hellekin <hellekin@cepheide.org>
Date:   Thu Dec 1 20:18:46 2011 +0100

    Shorten check_bin
2011-12-01 20:27:05 +01:00
hellekin
10ea863c0a Refactor messages 2011-12-01 20:04:56 +01:00
hellekin
27c1ca2490 Fix PATH for cryptsetup when user does not have /sbin in it. 2011-12-01 18:54:08 +01:00
hellekin
0de65418da Cosmetic code cleanup: no functionality change.
This adds emacs folding-mode support to make it easier to find your way in the code.
In Emacs, try: M-x folding-mode, then: C-c @ C-q somewhere in the source.
2011-12-01 18:53:12 +01:00
hellekin
dd3d5e6083 Overwrite icon on successive make install 2011-12-01 18:51:33 +01:00
hellekin
e482f753da Rewrite slam_tomb() to use fuser 2011-12-01 18:50:07 +01:00
Jaromil
02787f4418 undertaker: new auxiliary program to fetch keys from different protocols
undertaker will print out the key to stdout
then tomb can use it with -k stdin

so far the only implemented method is bluetooth
2011-11-17 14:47:40 +01:00
Jaromil
ddd9331f1e documentation and version update for release 2011-11-05 18:44:41 +01:00
Jaromil
c150424b72 Merge pull request #66 from jaromil/passwd
new tomb command 'passwd' can change a key password
2011-11-05 10:29:15 -07:00
Anathema
9b6a716672 new tomb command 'passwd' can change a key password
usage: tomb passwd /path/to/keyfile.key
 documented in man page
 adds feature #46
 adds internal func safe_file()
 adds parameters for askpass() function messaging
2011-11-05 18:25:53 +01:00
Jaromil
b9722bf14e tomb-open runs ignoring if swap is in use
Tomb-open is a lightweight wrapper and currently has no way to warn the user about
a swap being present. for now we simply deactivate the check.

In future, tombs will be created with a new GUI and this wrapper will be left
only for xdg registered operations (file manager right click, mime-types etc.)

This commit fixes issue #62
2011-11-03 13:31:22 +01:00
Jaromil
30c862e36f documentation updates for release
also updated authors information
2011-11-01 12:14:36 +01:00
boyska
040b3fe3bb FIX #59 : --no-color do as expected
includes documentation for --no-color
2011-11-01 12:14:22 +01:00
boyska
fb5d1d2cf9 Give info about used swaps on swap warning and error 2011-10-31 11:13:46 +01:00
boyska
f9f8b16a4d fix 69eca5c1d7, source tomb source was exiting 2011-10-30 19:50:33 +01:00
Anathema
1b4c08e904 fix #55: deleted obsolete $NOBIND global var and used the more powerful option_is_set() function to check wheatever the -n flag is missing or not 2011-10-26 12:02:46 +02:00
Jaromil
72fcc7c2f5 Merge branch 'fix_user_home_search' 2011-10-26 11:58:19 +02:00
Anathema
e7e71aa002 fix #52: when trying to get user home directory in exec_safe_bind_hooks, the grep and sed commands doesn't output the right result when multiple lines occours.
Now, we use awk to do so
2011-10-26 11:58:05 +02:00
Jaromil
5d54a3b121 Merge pull request #53 from davinerd/fix_remove_mountpoint_51
Removing default mount point when umounting the tomb
2011-10-25 15:14:29 -07:00
Anathema
350eeb7483 fix #51: added a check into umount_tomb() before removing mount point: if it's the default one, then delete it 2011-10-25 19:37:28 +02:00
Jaromil
262855fa10 Merge pull request #50 from boyska/exitcode
Better exit code handling, #49
2011-10-24 13:12:08 -07:00
BoySka
69eca5c1d7 Better exit code handling, #49 2011-10-24 21:43:58 +02:00
boyska
3c09c5d81f man doc: minor fixes 2011-09-26 11:49:28 +02:00
boyska
9de97225c4 MAN doc: -k - 2011-09-26 11:49:28 +02:00
boyska
f4b8a2275e Update documentation: swap, --ignore-swap, -k 2011-09-26 11:49:28 +02:00
Jaromil
a3f0c7c86b clean up mount code and list output ( fix #32 ) 2011-09-26 11:33:07 +02:00
Anathema
70e4a5d19f fixed #40, added a check to $keyfile in decode_key(), which abort the execution of tomb in case of keyfile already present 2011-09-26 10:55:22 +02:00
Jaromil
86db18b386 Merge pull request #48 from boyska/fix_47_gpgpwd
FIX #47: handling of special chars in password
2011-09-25 04:05:01 -07:00
boyska
4fa04ee94b FIX #47: handling of special chars in password 2011-09-17 01:30:15 +02:00
Jaromil
a752005271 tomb-status launcher in a command 'status' 2011-09-04 09:36:40 +02:00
Jaromil
ec43b959df fixes for desktop integration 2011-09-03 14:09:25 +02:00
Jaromil
cb6fa07416 fixed tomb umount
correctly checks error status of umount
2011-09-03 12:43:21 +02:00
Jaromil
5eebc89e48 fix correct use of mktemp 2011-09-03 12:39:17 +02:00
boyska
f0cd7f50a2 FIX #36 pinentry and password with spaces 2011-08-30 00:40:04 +02:00
(A)nathema
ab7beebfc9 Merge pull request #41 from davinerd/feat_set_keyname
added key file extension when a key name is specified
2011-08-29 14:56:07 -07:00
Anathema
d486c45f53 added extension .tomb.key to a specified key file (-k param) 2011-08-29 23:52:50 +02:00
nignux
d979ebc332 Merge pull request #35 from davinerd/fix_permissions_tomb
fixed chown and chmod tomb file
2011-08-29 05:09:03 -07:00
Anathema
9fbb620c60 added feature #25: an user can now specify a key name when creating tomb, using the -k flag 2011-08-28 20:21:10 +02:00