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
boyska
ce7edc1b63
FTR #31 : support key from stdin with -k -
...
This will be useful for integration with external tools/undertaker
2011-08-28 19:28:47 +02:00
boyska
13a9142949
FIX option_value problems with "strange" values
2011-08-28 19:28:30 +02:00
Anathema
f2ba4136b8
Fixed integer checking of -s param
2011-08-28 17:24:55 +02:00
Jaromil
3fe53affc9
webpage updates
...
added links to github, crypto.is and our cheerful picture after the hackmeeting tomb seminar
2011-08-25 09:37:28 +02:00
Anathema
fdcdd52407
fixed chown and chmod tomb file path, that prevents from change the owner and permissions on newly created tomb
2011-08-23 16:55:46 +02:00
boyska
103788f2da
FIX mime packaging problems
2011-08-21 18:52:10 +02:00
boyska
f8e9837dc1
FIX help was "always" showing up
...
Actually, showing up IFF sudo has a cached password
2011-08-20 19:25:11 +02:00
Jaromil
3d611d2fb4
new opt parse missed 'source' command, now in place
2011-08-20 18:45:00 +02:00
Jaromil
a73e0a3519
Merge pull request #28 from davinerd/feat_issue_1
...
we'll print a warning on 'list' if the tomb is almost full
2011-08-19 06:31:16 -07:00
Anathema
7b08b49e97
added check in list_tombs(): if a tomb usage is greater or equals to 90%, then the script prints a warning
2011-08-19 15:25:19 +02:00
boyska
938cb01af0
Use rmdir instead of rm -r (refs #7 )
...
rm -r is too dangerous.
use 'rmdir' instead: it aborts if dir is not empty.
As suggested by jamiromimil:
https://github.com/dyne/Tomb/issues/7#issuecomment-1724892
2011-08-18 19:14:46 +02:00
boyska
1eb5157b9a
Fix #7 tomb's mountpoint persistence
2011-08-18 19:14:46 +02:00
boyska
9c9e33500e
More readable option check
2011-08-18 19:14:42 +02:00
boyska
7e4a56d9c6
check if swap is on; fixes #4
...
Tomb will abort with errors if swap is on (for open and create subcommands);
however, you can force it using --ignore-swap.
2011-08-18 19:14:42 +02:00
(A)nathema
f76a355fd0
Merge pull request #24 from davinerd/feat_issue_21
...
Feat issue 21
2011-08-18 09:49:38 -07:00
BoySka
4d4d69cd4d
Merge pull request #22 from boyska/fix_nosubcmd
...
tomb -h and tomb -v work as expected, without altering any other command
(it uses a __default subcommand if none is given)
2011-08-18 04:30:40 -07:00
Anathema
7584dc72e7
added support for the --force option, which cause slam_tomb() to not wait 3 secs between kills
2011-08-18 11:01:17 +02:00
Anathema
a5807344d5
fix invalid kill with multiple pids
2011-08-18 00:16:00 +02:00
boyska
582cce9f66
./tomb -v works fine
...
Fixed the "--verbose" alias: it should have been --version
2011-08-16 20:51:59 +02:00
boyska
32ee4c7c5d
If no subcmd use a default. tomb -h or -v works
2011-08-16 20:44:18 +02:00
Anathema
20c1097281
feature request #21 , now slam_tomb() tries to kill 3 times the pids holding the tomb, workflow:
...
1- kill -SIGUSR1
2- if there are remaining pids, wait 3 secs to get harder
3- kill -SIGTERM
4- if there are remaining pids, wait 3 secs to kill 'em all
5- kill -SIGKILL
2011-08-16 02:52:01 +02:00
Anathema
afd785be62
fixed issue #20 : created slam_tomb() that take cares about killing and checking pids
2011-08-16 02:43:15 +02:00
Jaromil
21be9e204e
Merge pull request #18 from boyska/only_optparsing
...
New CLI option parsing supports contextual options following commands.
ZSH functions are used to parse options. Further testing will follow.
2011-08-03 23:58:14 -07:00
boyska
a252f62fba
Fix #14 : problems with spaces in option arguments
2011-08-02 02:55:00 +02:00
boyska
d5ca1885ca
[Optparsing] do a shift to delete subcommand
2011-08-02 02:55:00 +02:00
boyska
6495099344
[Optparsing] Support options in whatever position
...
However, it has a precondition that developers MUST respect:
An option CAN'T have differente meanings/behaviour in different subcommands.
For example, "-s" means "size" and accept an argument. If you are tempted to add
an option "-s" (that means, for example "silent", and doesn't accept an argument)
This, however, make sense even from an usability point of view.
Also, option with optional argument are prohibited.
The technique is a "double scan": first, we scan options passing
_every_ possible subcommand options to zparseopts.
This way, we can distinguish between option argument and parameters.
So, we recognize which is the subcommand.
Then, parse again
2011-08-02 02:55:00 +02:00
boyska
d0e004412d
Changing optparsing, tomb-open needs changes
...
It was putting the option BEFORE the subcommand.
However, the new method supports this only partially:
* Boolean options can be put before the subcommand
* Subcommand-specific options that take an argument can be put before the
subcommand, only in the
form -kvalue ; using -k value gives an error
* Global options can always be put before the subcommand
Therefore, we'll say that options MUST go after the subcommand (to stay sure)
2011-08-02 02:55:00 +02:00
boyska
89d4b8d8d0
Optparsing: add other commands
...
Now all commands should have been ported
2011-08-02 02:55:00 +02:00
BoySka
c71bd81af2
New optparsing, with zparseopts
...
* parameters can be added where you want
* it's possible to use long options
* you can have "synonim" options
* it has potential for a recursive implementation
2011-08-02 02:54:17 +02:00
DJR
58e2b26694
Merge pull request #16 from davinerd/dependencies
...
all dependencies are checked for at startup
2011-08-01 13:32:54 -07:00
DJR
7b2fc78b19
Merge pull request #17 from davinerd/fix_issue3
...
fix issue #3
create now avoids ovewriting an existing tomb key: quits with error.
2011-08-01 13:31:50 -07:00
Anathema
d4de059e39
added cryptsetup and pinentry binary checks to check_bin()
2011-08-01 22:14:23 +02:00
Anathema
3f0d3dabfc
fixed issue #3 : a simple file check on the key is now performed before creating the tomb
2011-08-01 22:11:57 +02:00
Jaromil
b18ef6c27b
webpage updates for new release
2011-05-29 17:22:26 +02:00
Jaromil
04120a58e0
documentation for release
2011-05-26 19:21:09 +02:00
Jaromil
556d300f5a
no terminal
2011-05-26 19:04:46 +02:00
Jaromil
bdef8853d5
better close messages
2011-05-26 18:38:36 +02:00
Jaromil
ac0dcd9acc
pinentry gtkrc icon
2011-05-26 18:26:46 +02:00
Jaromil
472189fb4b
also key
2011-05-26 18:14:42 +02:00
Jaromil
17df4b6efb
filetype icon in hicolor
2011-05-26 18:08:25 +02:00
Jaromil
0677d5f770
fixes share
2011-05-26 17:38:17 +02:00
Jaromil
69d91b6257
fixes
2011-05-26 17:27:34 +02:00
Jaromil
c47e48a96c
fixes for distcheck
2011-05-26 17:01:03 +02:00
Jaromil
c5c2461eea
fixing mime defaults and icon installations
2011-05-26 16:43:54 +02:00
Jaromil
5b8235201c
TODO and VERSION update
2011-05-26 13:16:02 +02:00