Commit Graph

183 Commits

Author SHA1 Message Date
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