Commit Graph

1160 Commits

Author SHA1 Message Date
Jaromil
3fb248bde8 refactor of state tracking for loop mounting
simplified function calls for tracking of loop mount by using global
variables whose scope is limited to execution, most computation is now
included in the `is_valid_tomb` function.
2020-11-16 23:35:03 +01:00
Jaromil
940563d02c resize now checks for correct password before operating
fixes bug mentioned in issue #333 that made tomb append space to a
tomb file before checking for correct password, leading to file
corruption in case the wrong password is inserted 3 times.
2020-11-16 13:28:37 +01:00
Denis Roio
91debdbf58
Merge pull request #390 from dyne/pinentry_display_updates
updated pinentry invokation to include wayland
2020-11-16 13:27:04 +01:00
Denis Roio
c7b1f00370
Merge pull request #389 from dyne/check_in_use
improve the check if a tomb file is in use
2020-11-16 13:26:42 +01:00
Jaromil
bc94559ac4 updated pinentry invokation to include wayland
also changes to priority order of invokation and some code cleanups and
indentations. Invokation order is now:

- WAYLAND? pinentry-gnome3
- X11?
	1. pinentry-x11 (distro specific wrapper)
	2. pinentry-gtk2 (legacy, removable)
	3. pinentry-gnome3
	4. pinentry-qt5
	5. pinentry-qt4
- NO DISPLAY? pinentry-curses
2020-11-16 10:24:37 +01:00
Denis Roio
b20ef50563
Merge pull request #382 from weblate/weblate-tomb-tomb
Translations update from Weblate
2020-11-16 10:00:52 +01:00
Jaromil
72da5b481e add .loop extension to /dev/mapper volume to identify its nature 2020-11-16 09:56:38 +01:00
Jaromil
9be5dff823 use realpath to always use absolute paths of tomb files in maphash 2020-11-16 09:54:37 +01:00
Jaromil
59d3810665 improve the check if a tomb file is in use
Change the mapper path using a hash of the tomb file path,
making it unique and reproducible to check if tomb is in use.
Check happens inside the new render_mapper() function which is
executed right after the key file opening.
2020-11-16 09:54:37 +01:00
mv87
d135730386 Translated using Weblate (German)
Currently translated at 100.0% (290 of 290 strings)

Translation: Tomb/tomb
Translate-URL: https://hosted.weblate.org/projects/tomb/tomb/de/
2020-11-14 11:28:54 +01:00
Jeannette L
010674f30b Translated using Weblate (French)
Currently translated at 73.7% (214 of 290 strings)

Translation: Tomb/tomb
Translate-URL: https://hosted.weblate.org/projects/tomb/tomb/fr/
2020-11-14 11:28:54 +01:00
Milo Ivir
193cd42bbd Translated using Weblate (German)
Currently translated at 95.5% (277 of 290 strings)

Translation: Tomb/tomb
Translate-URL: https://hosted.weblate.org/projects/tomb/tomb/de/
2020-11-14 11:28:54 +01:00
Mattias Münster
a1f2364eb8 Translated using Weblate (Swedish)
Currently translated at 95.2% (276 of 290 strings)

Translation: Tomb/tomb
Translate-URL: https://hosted.weblate.org/projects/tomb/tomb/sv/
2020-11-14 11:28:54 +01:00
Jaromil
763dbdb356 document known bug for password with DISPLAY and pinentry-curses
detailed in issue #385
2020-11-13 23:54:41 +01: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
136ba6e053 honor custom settings for GNUPGHOME
fix #371
2020-11-13 23:16:36 +01:00
Denis Roio
9ddfdc426f
Merge pull request #386 from aaronjanse/security-pinentry-curses
Use _verbose for pinentry-curses in ask_password
2020-11-11 14:41:09 +01:00
Denis Roio
298eedfedf
Merge pull request #384 from giacomoferretti/patch-1
Fix table syntax Markdown
2020-11-11 14:40:53 +01:00
Aaron Janse
15c894dfb4 use _verbose for pinentry-curses in ask_password 2020-11-09 16:43:06 -08:00
Giacomo Ferretti
d3995b82db
Fix table syntax 2020-10-06 16:26:34 +02:00
Jaromil
fb154bbb2f fix test docker for beowulf stable 2020-06-22 10:48:49 +02:00
Denis Roio
f14ba758ee
Merge pull request #378 from quickcougar/pinentry-override
Allow pinentry to fail, so long as the password comes through.
2020-06-22 10:05:31 +02:00
Denis Roio
85f02f746e
Merge pull request #376 from quickcougar/debug-messages
Write all debug messages to stderr to avoid polluting stdout.
2020-06-22 10:01:10 +02:00
Mark Mykkanen
2f29e6709c Allow pinentry to fail, so long as the password comes through. 2020-03-23 17:07:46 -05:00
Mark Mykkanen
7cead041ac Write all debug messages to stderr to avoid polluting stdout. 2020-03-22 14:02:12 -05:00
Jaromil
4ec85ea3ca
Merge pull request #373 from dcommisso/fix_manpage
Fix manpage
2020-02-05 19:56:14 +01:00
Domenico Commisso
7da034c146 Fix Firefox example in linux manpage to avoid Firefox error at startup 2020-02-04 15:27:25 +01:00
Domenico Commisso
ac13adaa28 Update exec-hooks name in linux manpage 2020-02-04 15:07:08 +01:00
Jaromil
e9fd1a19e1 documentation fix for default xts cipher string 2019-11-18 10:17:38 +01:00
Jaromil
377e335e93 remove warning on open by fixing order of chown
fix #369 (completes #324)
2019-11-18 10:15:12 +01:00
Jaromil
bec53aeb72 documentation update for new release 2019-10-11 22:06:55 +02:00
Jaromil
2d8a72ed95
Merge pull request #367 from edoffagne/doc
Fixed documentation
2019-10-03 09:37:36 +02:00
Erik Doffagne
7e82beaca6 Fixed documentation 2019-10-03 06:31:45 +02:00
Jaromil
15d279605b fix getent parsing when fields are emtpy
fix #365
2019-09-14 12:06:13 +02:00
Jaromil
ca708b4d46 Documentation to build gtk-tray
fix #351
2019-08-22 17:43:36 +02:00
Jaromil
d2cd41e1e7
Merge pull request #362 from dyne/getent-everywhere
use getent with wrappers every /etc/passwd query
2019-08-22 17:20:11 +02:00
Jaromil
382070481f use getent with wrappers every /etc/passwd query 2019-08-22 17:07:12 +02:00
Jaromil
01f5412fc5
Merge pull request #361 from dyne/normalize-conditionals
rewrite some conditionals for less ambiguity
2019-08-22 15:38:54 +02:00
Jaromil
1574723502 rewrite some conditionals for less ambiguity
this restyles some code introduced by the sphinx feature and tries to fix parse
errors reported in issue #357
2019-08-22 14:37:47 +02:00
Jaromil
71a7241f9c remove unneeded umount on forge_key failure 2019-08-22 11:49:43 +02:00
Jaromil
94d8ad497f Fix inconsistent cleanup on forge_key failure
Address concern raised in #360
2019-08-22 11:47:58 +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
Jaromil
6f2ce59d29
Merge pull request #356 from dyne/gettext_optional
make gettext optional in _sudo()
2019-07-08 07:19:36 +02:00
Jaromil
0b9080e0ca make gettext optional in _sudo()
address #355
2019-07-05 08:10:00 +02:00
Jaromil
d83e39f1ec fix spelling errors in manpage 2019-07-05 08:04:06 +02:00
Jaromil
1a93481480
Merge pull request #353 from roddhjav/master
Ensure the gpg key is trusted.
2019-06-28 09:12:28 +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
06039a9e47 fix warnings on first tomb open
fix issue #324
2019-06-26 08:56:05 +02:00
Jaromil
e45c005c88 documentation updates for release
known bugs, changelog and manual for sphinx
2019-05-30 18:48:30 +02:00