Alexandre Pujol
6b4bd69dbc
Ensure GPG key is trusted. See #340
2019-06-27 19:58:58 +01:00
Alexandre Pujol
0e9fe51b50
Add untrusted key in the test keyring and convert to v2 keyring.
2019-06-27 19:54:46 +01:00
Jaromil
0af46fe3c1
move dockerfile for tests into extras/tests
2019-05-22 10:59:36 +02:00
Jaromil
ace80c87db
switch default random source to /dev/urandom
...
there is no need to default to a blocking source of random,
since /dev/random doesn't improves the quality of randomness in Linux
2019-05-22 09:55:02 +02:00
heat-wave
b054a83ee5
Pitchforked sphinx integration for remote password storage
2019-04-30 16:05:03 +01:00
heat-wave
f2eb1fd242
Expanded steganographic functionality with cloakify integration
2019-02-21 09:28:21 +00:00
Alexandre Pujol
aaa4637ed0
Track access/modification time of sensitive files
...
Collects the stats of tomb keys and tomb files then restore them when
Tomb exits. Can be extended to any file opened by Tomb. See #266
2018-09-23 22:21:05 +01:00
Jaromil
cdd3c5804a
updated documentation on KDF whitespace bug
...
fix #307
2018-09-23 12:05:02 +02:00
Jaromil
e8919af867
Merge pull request #308 from AitorATuin/kdf_input
...
Fixes a problem reading passwords when using the kdf wrapper
2018-09-23 11:04:10 +01:00
Alexandre Pujol
c293aa7261
Add regression test for tomb 2.4
2018-08-19 23:08:48 +01:00
Alexandre Pujol
24fee7a076
Add test coverage for GPG subkeys support. See #317
2018-08-19 22:53:21 +01:00
Ganondolf
f290904f71
Fix mounted volume default path
2018-02-17 16:23:26 +01:00
ATuinDev
3cb8ebefd3
Don't impose any limitation in password size
...
Remove the hardcoded buffer with dynamic memory to get password input
(uses now calloc / realloc)
2018-02-04 20:53:35 +01:00
ATuinDev
35cf8572bf
Rename variable j
to something more descriptive
...
Remove `+ 1` in conditions, easier to understand using the comparators
2018-02-03 23:24:20 +01:00
ATuinDev
a66224d549
Run extras/kdf-keys tests in travis
2018-02-03 21:23:07 +01:00
ATuinDev
510c8f6430
Add check for password lens
2018-02-03 21:05:56 +01:00
ATuinDev
5c419b3117
Add explicit comment before reading the password
2018-02-03 19:20:01 +01:00
ATuinDev
257e5ee99a
whitespaces are now part of the password
...
NULL character can also be part of the password. There was a failing
test that was checking exactly that (now all the tests pass).
2018-02-03 19:16:20 +01:00
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