Commit Graph

246 Commits

Author SHA1 Message Date
ATuinDev
bce58cae3e
Add test testing that whitespaces are used by kdf wrapper
Adds a new test that assures that spaces are part of the passwords
2018-02-03 19:12:05 +01:00
Alexandre Pujol
cec0c01b3e
Test: remove useless cleanup 2018-01-03 14:50:00 +00:00
Alexandre Pujol
c7dc379c0d
Tests: support non-standard zsh location. See #283 2018-01-03 14:49:08 +00:00
Alexandre Pujol
b20daeea6f
Fix: use is-at-least function to check program version 2018-01-03 14:46:23 +00:00
Narrat
67004392fa Add testcase for slam operation
Thanks to @roddhjav for the intel and the test itself.

Closes #258
2017-05-12 20:24:49 +02:00
Alexandre Pujol
593747d619
Add bind hooks tests and minors test setup changes 2017-05-03 19:51:36 +01:00
Alexandre Pujol
4688820b68
Tests: support for /media and /usr/media 2017-05-01 23:26:17 +01:00
Alexandre Pujol
92a670efd8
Add integrity tests 2017-05-01 23:02:49 +01:00
Alexandre Pujol
045c55436f
Regression tests: add old tomb version, support for zsh 5.3 2017-05-01 22:48:28 +01:00
Alexandre Pujol
8aaa8e1725
Add setkey tests 2017-05-01 21:22:36 +01:00
Alexandre Pujol
408977a351
Add steganography tests 2017-05-01 21:22:20 +01:00
Alexandre Pujol
a609b855c7
Add tests for tomb resize, passwd and engrave 2017-05-01 21:21:25 +01:00
Alexandre Pujol
36f5ed8729
Add regression tests 2017-05-01 21:19:48 +01:00
Alexandre Pujol
eb57899162
Add KDF related tests 2017-05-01 21:19:19 +01:00
Alexandre Pujol
166bbdc18c
Add main tests for GPG key support 2017-05-01 21:18:59 +01:00
Alexandre Pujol
e99a0350fb
Add base tests 2017-05-01 21:11:28 +01:00
Alexandre Pujol
bdebb6af32
Add tests setup:
- Tomb & auxiliary programs config
- GPG config
- Temporary test files config
- Helper function definitions
2017-05-01 21:08:08 +01:00
Alexandre Pujol
e558ad9f13
Update files for Sharness support
- extras/test/Makefile
- extras/test/.gitignore

Add test aggregate script
2017-05-01 21:06:02 +01:00
Alexandre Pujol
1a2fd5901f
Add sharness v1.0.0 - https://github.com/chriscool/sharness 2017-05-01 21:01:16 +01:00
Alexandre Pujol
c303513be4
Fix issues with GPG default key.
- Remove --no-options gpg option when using GPG key.
- Improve gpg default key tests

To use the default key, ~/.gnupg/gpg.conf needs:
  default-key <keyid>
  default-recipient-self
Or
  default-recipient <keyid>

Otherwise the first key in the keyring is used.
2017-04-03 13:24:25 +01:00
Alexandre Pujol
d720e4b2ce
Remove --shared flag when sharing a tomb key. See #252 2017-03-24 20:08:33 +00:00
Alexandre Pujol
c793e0b132
Add support for non hidden and hidden recipient
Use -r to provide non-hidden recipient,
Use -R to provide hidden recipient.
2017-03-03 21:19:04 +00:00
Alexandre Pujol
6352a1d417
Add GPG default key support for key encryption
If the option -r is not set, use the gpg default key to encrypt
a tomb key
2017-03-03 20:36:50 +00:00
Jaromil
bea7fe3f7c Merge branch 'master' into gnupg-key-support 2017-02-20 20:47:06 +01:00
Amin Mesbah
f4f8c4e024 Add failing test for opening read-only tomb.
Adds a test function called test-open-read-only(). The test prepares a
tomb file, removes the "write" permissions from it, and then attempts to
open it with "read-only" mount options (`-o ro,noatime,nodev`).

The test currently fails as expected.
2017-02-12 16:39:39 -08:00
Alexandre Pujol
528140738a Add -g/--gpgkey option to tell tomb to use GPG key to encrypt a tomb key
Option -r is now only used to provide the recipient
Option -R removed, the new recipient can be given by the -r option.
2017-02-09 18:57:34 +00:00
Alexandre Pujol
6f89dbd2fe Add '--shared' in order to activate sharing support.
Sharing feature is a very sensitive action, the user needs to trust the
GPG public key it is going to share its tomb. This is why this feature
needs to be explicitly activated using in more the flag --shared
on the key encryption commands.
2017-02-03 23:57:52 +00:00
Alexandre Pujol
15164f5578 Add sharing support for tomb key.
A tomb key can be encrypted with more than one recipient. Therefore, a
tomb can be shared between different user. The multiple recipients are
given using the -r (or/and -R) option and must be separated by ','.

Multiple recipients can be given for the commands: forge, setket and passwd
2017-02-03 23:57:52 +00:00
Alexandre Pujol
53b7460274 Add tomb setkey support for GPG key 2017-02-03 23:57:52 +00:00
Alexandre Pujol
a200448de2 Add tomb resize support for GPG key 2017-02-03 23:57:52 +00:00
Alexandre Pujol
47ddeebbc4 Add support to change the GPG key used to encrypt a tomb key. (tomb passwd) 2017-02-03 23:57:52 +00:00
Alexandre Pujol
b23e9aa028 Add --tomb-pwd support for GPG key on steganography functions 2017-02-03 23:57:52 +00:00
Alexandre Pujol
e2fe8e508e Add unit tests for steganography feature using GPG key 2017-02-03 23:57:52 +00:00
Alexandre Pujol
db7109da4a Add tests for GPG recipient support in tomb 2017-02-03 23:57:52 +00:00
Alexandre Pujol
f72534790a Fix test suite error in the return code: GLOBAL_RESULT were always true. 2017-02-03 23:57:52 +00:00
Alexandre Pujol
e78af47c56 Add a GPG database in 'extras/test/gnupg' for test suite purpose
The GPG Key are unencrypted. Do not use them for an other purpose
than a test suite.
2017-02-03 23:57:52 +00:00
Jaromil
4439a6a327 minor fixes to regression tests 2017-01-21 23:50:57 +01:00
Daniel Rodriguez
e7e21243db Automatically remove conflicting quotes on pot generation 2017-01-21 18:48:09 +01:00
Daniel Rodriguez
26e549292f Remove extra char quotes in translation files 2017-01-21 18:38:07 +01:00
Federico Reiven
a808d4aef8 Update tomber in extras for v2.2+ 2017-01-10 12:11:32 -03:00
Daniel Rodriguez
42ae73d727 Sync translations with POEditor 2017-01-03 12:00:29 +01:00
Jaromil
5996beab0e small fixes to run clean tests 2017-01-02 07:03:54 +01:00
Jaromil
88f5a926f0 updated extras/gtomb to latest by parazyd 2016-12-29 17:29:15 +01:00
Jaromil
e59518befa included regression tests against old Tomb versions 2016-12-26 20:03:14 +01:00
Jaromil
ff57aa3214 experimental port to android - works with limited functionality 2016-01-24 23:07:19 +01:00
Jaromil
00e0ac323b gtomb gui based on zenity, contributed by Parazyd 2015-12-30 17:45:10 +01:00
Jaromil
66205c3e5c updated strings and documentation 2015-12-22 18:22:48 +01:00
Jaromil
a0997cba27 renamed extras/po to an intelligible name 2015-12-13 01:12:44 +01:00
Jaromil
a9f5a32459 completed transition of all doc strings to mention mebibytes (MiB) 2015-11-25 17:55:54 +01:00
Roy Lockhart
b0d534f5af Update fr.po
Fixed some french orthographic/grammar/typographic rules
2015-10-24 00:25:13 +02:00
Jaromil
7ee4cfd150 documentation updates for qt-tray 2015-09-08 11:12:45 +02:00
Gianluca Montecchi
6d83bbb1bd Updated Italian translation 2015-09-04 19:56:43 +02:00
Gianluca Montecchi
492174d3c6 Added copyright notice 2015-09-03 21:36:12 +02:00
Gianluca Montecchi
e9cc85028c Initial import of tomb-qt-tray 2015-09-02 23:40:01 +02:00
Daniel Rodriguez
57caa241c9 Add Italian translations. 2015-07-28 17:44:24 +02:00
Daniel Rodriguez
8afe5f7b9d Add Swedish translations. 2015-07-27 18:21:56 +02:00
Narrat
2930e38387 extras: fix tomber repository URL 2015-07-12 19:48:51 +02:00
Narrat
3052288f95 extras/po: Some updates to the german translation 2015-07-08 19:54:58 +02:00
Jaromil
eada0538c9 Delete mountpoint when tomb is closed (fix #149)
two bugs were left behind by the last refactoring, one about
consistency of the mountpoint naming (now using $TOMBNAME everywhere,
without the added .tomb extension as per #180), the other about a
missing _sudo to prefix rmdir commands.

Test suite has been updated accordingly.

This fix introduces a mandatory condition for the next update: all
tombs must be closed when upgrading the tomb script, else it will not
be able to correctly close them.
2015-06-26 11:47:19 +02:00
Maxime Arthaud
a43b943bac [i18n] Improve French translations 2015-04-21 21:10:20 +02:00
Maxime Arthaud
eb258a2bfd Fix typo in French translation 2015-04-19 17:02:29 -07:00
Daniel "GDrooid" Rodriguez
079b51b925 [i18n] Update translations and translation template
Updated the pot file for the last changes on the translation generation
script to take effect.

Translation (po) files have been updated to reflect changes on the
template, and translations from POEditor have been synced.
2015-02-08 21:24:22 +01:00
Daniel "GDrooid" Rodriguez
85fff8a95b [i18n] Update translation generation script
The script doesn't include code snippets in the pot file now, as they
made it huge and wheren't very useful. The $fold and $function name
are included in the reference instead of normal comments.

A hash has been added to manage translatable strings that can't be
automatically detected.
2015-02-08 19:58:46 +01:00
Daniel "GDrooid" Rodriguez
9bcf530c0f Merged translation files with POEditor translations. 2015-01-09 17:47:11 +01:00
Daniel "GDrooid" Rodriguez
bd7300aa3e Update .po files and fix typo in tomb executable. 2015-01-09 17:11:14 +01:00
Dani
836d48c2d7 Merge pull request #174 from gdrooid/i18n
[i18n] New .pot file generation script
2015-01-09 16:49:18 +01:00
gdrooid
035cfcbeeb [i18n] Add {{{-folding name and function name
Adds the {{{-folding name and the function name to the context of the
strings in the .pot file.
2014-12-21 18:58:57 +01:00
gdrooid
5e4141a628 [i18n] New .pot file generation script
The new script adds reference and context to the strings, identifies
them with more correctness and has blacklisting capabilities to ignore
strings that need no translation.
2014-12-01 17:05:27 +01:00
Jaromil
10035d8aea downgraded gtk-tray to use gtk-2 libraries to stay out of systemd deps 2014-11-30 19:26:38 +01:00
x3nu
022974dc51 Small corrections (typos/whitespace/...) 2014-11-27 18:20:05 +01:00
hellekin
8d6e0bde09 Update copyright years 2014-11-27 12:56:30 -03:00
gdrooid
6ab73af2b1 [l10n] Updated French translations. 2014-11-26 20:54:17 +01:00
Jaromil
0d690bf142 documentation and makefile scripts updates for release 2014-11-26 20:28:28 +01:00
gdrooid
5d32bf8fa1 [l10n] Updated Spanish translations. 2014-11-26 17:54:33 +01:00
gdrooid
1ef2576b16 [l10n] Updated German, Russian and Spanish translations. 2014-11-26 17:42:08 +01:00
gdrooid
47652747c3 [l10n] Update pot file. 2014-11-25 22:51:33 +01:00
gdrooid
9eaaa68452 [l10n] Update po files with the latest untranslated strings.
So that they coincide with the ones on POEditor for those who want to
use a different tool.
2014-11-24 16:55:22 +01:00
gdrooid
7c797f86a2 [i18n] Update .pot file. 2014-11-23 22:55:03 +01:00
gdrooid
2a675d0e69 [i18m] Fix generation of translatable strings to also include _success. 2014-11-23 22:49:06 +01:00
gdrooid
e95b32e3a3 [i18n] Updated Russian translation. 2014-11-23 09:43:23 +01:00
gdrooid
1481d1f4df [i18n] Updated Spanish translations. 2014-11-22 21:15:34 +01:00
Jaromil
a4f597d86c documentation and runtests fixes 2014-11-22 01:50:08 +01:00
Jaromil
9180b214af fix renaming in kdf 2014-11-17 17:32:59 +01:00
gdrooid
6ce45a6f84 [i18n] Update translation files. 2014-11-16 17:30:59 +01:00
Jaromil
09b9bcb469 actual tomber sourcecode inclusion 2014-11-16 16:45:28 +01:00
Jaromil
a568cdf546 imported python tomber into extras
more documentation updates
2014-11-16 15:21:11 +01:00
Jaromil
ced2e5fcb8 fixes to Makefiles informed by issue #154 2014-11-16 14:04:05 +01:00
gdrooid
3effdc2171 [i18n] Updated pot and po files. 2014-11-14 21:50:57 +01:00
Jaromil
50ce03d5f5 reactivated KDF test 2014-11-14 18:52:44 +01:00
Jaromil
18f2cf25d0 fixed tests to use only one dummypass 2014-11-14 18:52:16 +01:00
Jaromil
3eff8aeebe isolated functions to speed up test environment 2014-11-14 17:43:53 +01:00
gdrooid
7fecf71a81 [i18n] Don't add debug messages to translation files. 2014-11-12 20:11:29 +01:00
gdrooid
e32bce2c1f [i18n] Remove warning message when generating the pot file. 2014-11-12 19:19:51 +01:00
gdrooid
83d53b204e [i18n] Fix pot generation to avoid a lot of manual work. 2014-11-12 19:18:37 +01:00
hellekin
80f8b58387 [cleanup] Remove those test-* files 2014-11-04 15:32:45 +01:00
Jaromil
ab425a327e runtests now returns 1 if at least one error has occurred, fix #153 2014-10-23 23:32:09 +02:00
gdrooid
c266bceb76 [i18n] Removed strings that don't need to be translated. 2014-09-27 15:53:03 +02:00
gdrooid
ce77c460fe [i18n] Updated Spanish translations. 2014-09-27 15:33:27 +02:00
gdrooid
c5a9f40ae5 Remove unused translations. 2014-09-23 17:20:50 +02:00
x3nu
85453f6418 translation finished 2014-09-23 10:57:04 +02:00
x3nu
c3bcfcdb1a translating .. 2014-09-19 10:16:09 +02:00
Jerry V Polfer
3a981dc3d6 started actualiasing german translation 2014-09-17 01:11:50 +02:00
gdrooid
33e18cb256 Updated .pot and .po files. 2014-09-13 17:32:12 +02:00
gdrooid
0d76ccc2df Usage message translations.
Adds a new `_print` function to print strings without coloring or
other stuff added by the `_msg` function. It's used for the usage
message, letting it be translated.

The usage messages have been split into one-line strings, and added
back to the tomb.pot and *.po files.
2014-09-13 16:55:03 +02:00
gdrooid
14b7e8763b Fix some German translations.
By @x3nu on #135
2014-09-02 18:25:56 +02:00
gdrooid
255b5122f6 Separate help message from the rest of the translations. 2014-09-02 12:50:46 +02:00
gdrooid
0cdb87de0b Updated translation strings for French, Russian and German. 2014-09-01 12:17:03 +02:00
gdrooid
32211bd61d Update Spanish translations. 2014-09-01 10:59:28 +02:00
gdrooid
c0b05dd92a Update translation template. 2014-09-01 10:55:18 +02:00
gdrooid
83fc417f02 Add German language to the translations makefile. 2014-09-01 10:11:23 +02:00
gdrooid
118ace28ef Update Spanish translations and fix minor issues.
Issues:
	`gettext -s - "$2"` prints the -, instead of getting the desired effect
	The custom expansion  missed repeated variables in a single string
	Some string fixes
2014-09-01 09:37:45 +02:00
gdrooid
61e6529f6a Update Spanish translations. 2014-09-01 09:37:11 +02:00
gdrooid
69bb25e05b Update .pot file and it's generator. 2014-09-01 09:37:11 +02:00
Jaromil
f7057b7d03 Merge pull request #128 from gdrooid/po
Fix translations makefile.
2014-08-31 09:24:48 +02:00
Jaromil
4bfae329d3 Merge pull request #127 from x3nu/master
German Translation by x3nu
2014-08-30 19:38:14 +02:00
Jaromil
7c55f633d6 small fix to tests 2014-08-25 21:07:47 +02:00
x3nu
e8db9ce942 German translation complete 2014-08-21 10:09:25 +02:00
x3nu
be15c46120 Started working on german translation 2014-08-21 08:24:03 +02:00
gdrooid
dea3f8ff2d Fix translations makefile. 2014-08-20 00:06:33 +02:00
Jaromil
f794b78795 Merge pull request #123 from gdrooid/i18n
Install and use translations.
2014-08-19 18:48:49 +02:00
Jaromil
cfe04a6bee added french translation by hellekin 2014-08-14 08:45:00 +02:00
Jaromil
2a8ea4ac99 added russian translation by fsLeg 2014-08-14 08:44:48 +02:00
gdrooid
7d434787b6 Install and use translations. 2014-08-11 23:01:58 +02:00
Jaromil
5158c380fe refactoring of the way password and keys are handled internally
this change uses an hidden global variable within tomb to store the
decrypted key material, avoiding using one tempfile in RAM, avoiding
running the decryption more than once (which means sanity for KDF
usage) and overall simplifying the code also avoiding duplicates.
2014-08-06 07:43:25 +02:00
Jaromil
f06f303491 added spanish string translations by @gdrooid 2014-07-21 20:08:17 +02:00
Jaromil
4a04d9dd84 to avoid confusion, obsolete and incomplete components are moved in extras/dismissed
including the old qt and python wrappers as discussed in issue #113
2014-07-21 16:25:56 +02:00
Jaromil
252d79223b gettext translation strings 2014-06-09 13:01:40 +02:00
Jaromil
0b6fab984f test suite updated 2014-06-08 20:31:42 +02:00
Jaromil
0b846a79e7 fix tests scripts to work after recent key refactoring 2014-04-02 14:31:36 +02:00
Jaromil
d2bbf38826 fixes issue #74 for the new directory structure 2014-02-20 11:01:00 +01:00
Jaromil
40832cc01d fixes to gtk tray program 2013-09-08 16:40:29 +02:00
Jaromil
8f25001f57 fixed versioning and extras reorganization 2013-09-08 16:10:19 +02:00
Jaromil
914ac9594e last fixes and documentation for release
manual page updates and improvements to kdf argument handling
2013-06-20 12:46:20 +02:00
Jaromil
f3c18819d2 documentation and test improvements
also renamed 'backup' command into 'engrave'
2013-06-20 10:26:12 +02:00
Jaromil
f1318eb130 image and dummy pass selection in test suite 2013-06-12 13:41:12 +02:00
Jaromil
8d0c8e51e8 Brand new test suite
this test suite can be called by 'make test' and checks basic functions
plus KDF, STEGHIDE and RESIZE. It works creating files in /tmp/*tomb*
2013-06-12 13:36:50 +02:00
Jaromil
4d6c0bf5cc Cleaner test environment
now available as 'make test'
2013-06-12 11:12:33 +02:00
Jaromil
bc3177141d fix to tomb resize
also included into test script
2013-06-12 03:01:28 +02:00
Jaromil
8f9e9f9d2a fixes to --tomb-pwd and new test script 2013-06-12 00:59:41 +02:00
Jaromil
710eb5c458 make install for extras/kdf 2013-06-11 17:34:01 +00:00
Jaromil
a500766644 fix to build KDF key protection algorithms 2013-06-11 17:21:06 +00:00
Jaromil
c72ea9e52e last cosmetics for release
pdf rendering of manpage, images and copyright to foundation
2013-05-29 23:12:47 +02:00
Jaromil
c4d7646987 Removed translatable strings file
now generated on demand by scripts
2013-05-28 12:25:41 +02:00
Jaromil
7cbd03d370 Translatable text strings generation
set out of the main tomb script, into extras
2013-05-28 11:59:11 +02:00
Jaromil
37792ffdc5 cleanup of the main script
improved binary check, made resize optional
and set aside old install command (was already unused)
2013-05-25 15:04:16 +02:00
Jaromil
3eb93acc18 Directory reorganization
This commit re-organizes all the source distribution contents to
present users with the simple script, while moving the rest in extras.
Also autoconf/automake scripts were removed, back to minimalism.

The rationale of this change is that Tomb really only consists of a
script and users with no extra needs should just be presented with
it with no need for anything else. Any other thing on top of the Tomb
script is an extra and can be even distributed separately or integrated
in distributions.
2013-05-18 17:29:37 +02:00