Jaromil
32eab3beec
kdf iterations need only to be specified when forging a key
...
the key header saves the key iteration set when forging
2024-08-31 22:46:39 +02:00
Jaromil
11a5776456
add argon2 kdf test
2024-08-31 22:46:39 +02:00
Narrat
73950fe3d8
tests: add outside bind mounts to 75_hooks
...
it may happen, that someone bind mounts manually or via an immutable setup the tomb mountdir somewhere else.
Tomb should be able to discover such mounts and close them if the tomb itself is closed.
2024-08-31 19:07:09 +02:00
Jaromil
c72432d640
fix cloakify to work easily and update documentation
...
a few changes needed to be adjusted and manpage updated, now we also
ship cloakify ciphers into extras, a link is left to original repo.
2024-07-12 11:51:53 +02:00
Jaromil
0d06c994cf
fix tests to run also when swap present
2024-05-12 22:09:46 +02:00
Jaromil
fce89023a5
try to use native ubuntu matrix on github ci
...
remove doas tests
removed comparison from bind-hook test
2022-11-14 10:40:15 +01:00
Jaromil
62806769af
disable broken gpg recipient tests
2022-04-13 22:53:36 +02:00
Jaromil
60034b0b55
update test docker to devuan chimaera
...
install pinentry curses and gpg
update github action checkout v3
2022-04-13 22:53:36 +02:00
Artur Malimonov
b6ffe1a2f1
GitHub Actions CI ( #430 )
...
Add Github Actions CI config
2022-01-08 01:26:51 +01:00
heat-wave
087ecd25a2
Restrict access to doas.conf
2021-04-15 12:27:26 +02:00
heat-wave
24a89b680d
Disable sphinx tests to test loop devices limit hypothesis
2021-04-15 12:27:26 +02:00
heat-wave
3860487a0b
Fix typos in doas config and --sudo opt definition
2021-04-15 12:27:26 +02:00
heat-wave
61386ca646
Support for sudo alternatives such as doas
2021-04-15 12:27:26 +02:00
heat-wave
815b8f4218
Fix configs and dockerfile to enable sphinx in tests
2021-01-23 19:16:29 +00:00
Jaromil
5b80abd96d
deactivate test for libsphinx
...
seems to break in libsphinx build when calling `pkgconf`
2020-11-13 23:36:29 +01:00
Jaromil
fb154bbb2f
fix test docker for beowulf stable
2020-06-22 10:48:49 +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
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
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