Jaromil
ca708b4d46
Documentation to build gtk-tray
...
fix #351
2019-08-22 17:43:36 +02:00
Jaromil
187a627022
Fix tomb-kdb-pbkdf2 helper for multiplatform build
...
Avoid EOF being missed when reading in the password. Replace undefined
char-to-int comparison with a int-to-int one. Fix #360
2019-08-22 11:47:58 +02:00
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