Narrat
da590fb50e
Fix typo calling pinentry_assuan_getpass
...
Affected the use of Tomb without DISPLAY and pinentry-curses.
Fixes #393
2020-11-21 22:33:30 +01:00
Jaromil
c9f3b07cd8
documentation updates for release
2020-11-17 13:58:43 +01:00
Jaromil
c3a354cc0f
fixes and cleanups
2020-11-17 08:19:36 +01:00
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
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
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
Jaromil
136ba6e053
honor custom settings for GNUPGHOME
...
fix #371
2020-11-13 23:16:36 +01:00
Aaron Janse
15c894dfb4
use _verbose for pinentry-curses in ask_password
2020-11-09 16:43:06 -08: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
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
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
15d279605b
fix getent parsing when fields are emtpy
...
fix #365
2019-09-14 12:06:13 +02:00
Jaromil
382070481f
use getent with wrappers every /etc/passwd query
2019-08-22 17:07:12 +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
0b9080e0ca
make gettext optional in _sudo()
...
address #355
2019-07-05 08:10:00 +02:00
Alexandre Pujol
6b4bd69dbc
Ensure GPG key is trusted. See #340
2019-06-27 19:58:58 +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
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
Jaromil
2b8eec6ba5
improve tomb umount checks avoiding grep call
...
consolidate use of `list_tomb_mounts` also inside umount_tomb
this should fix #315
2019-05-22 01:03:00 +02:00
Jaromil
7b06be5d43
before opening check if mountpoint is already used by a tomb
...
a simple check introduced on `tomb open` to list all tombs mounted and
control if any mountpoint is already in use, in case refuse opening.
fix #326
2019-05-22 00:30:48 +02:00
Jaromil
95f2f68654
Revert temp file mechanism for sphinx
...
for some reason to be investigated further using tomb's temp
file mechanism breaks the test suite of sphinx support
This reverts commit a6d252c949
.
2019-05-18 09:51:55 +02:00
Jaromil
91e607efb5
improve gpg key listing command
2019-05-18 09:50:57 +02:00
Jaromil
ec31d2d280
improved gpg recipient output warning
...
dropped the dependency from grep, head, cut, sed (only using awk)
added human readeable GPG ID besides fingerprint on recipient check
2019-05-05 11:29:25 +02:00
Jaromil
eec64f4f65
Merge pull request #348 from AlexisDanizan/master
...
Bug fix #328
2019-05-05 10:39:16 +02:00
Jaromil
a6d252c949
correct use of tomb's internal temp file mechanism for sphinx
2019-05-05 10:21:38 +02:00
Jaromil
5ce9960207
Merge pull request #344 from heat-wave/feature/pitchforked-sphinx-integration
...
Pitchforked sphinx integration
2019-05-05 09:58:39 +02:00
alexisdanizan
f1f23c417b
Bug fix #328
2019-05-01 22:43:04 +02:00
heat-wave
b054a83ee5
Pitchforked sphinx integration for remote password storage
2019-04-30 16:05:03 +01:00
Steve Divskinsy
522ad3abad
Update suggested command with missing flag
...
`tomb lock` suggested command was missing "-k" flag
2019-04-18 20:54:30 +09:30
heat-wave
f2eb1fd242
Expanded steganographic functionality with cloakify integration
2019-02-21 09:28:21 +00:00
James Reed
46286047f6
Align usage message lines ( fix #335 )
...
Print newlines only when necessary
Correct coma to comma in usage message
2018-11-26 10:48:19 -07:00
James Reed
477ab20443
Overhaul message printing
2018-11-24 15:48:25 -07:00
James Reed
1ba3c55241
Check for KDF header in is_valid_key
2018-11-03 15:15:48 -06:00
Alexandre Pujol
2f3826d88d
Fix modification time restoration.
2018-09-24 12:58:51 +01: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
bjonnh
18b7541a98
subkey_id for display must be out of _fingerprint
...
I did a typo, the ($gpg_id) should have been out of the _fingerprint call.
2018-08-18 17:41:37 -05:00
bjonnh
b49a36a07b
Add support for multiple keys especially subkeys
...
Correcting issue #316
2018-08-17 14:03:33 -05:00
Jaromil
68a9589925
set ownership after dig and forge
2018-02-11 21:41:58 +01:00
Jaromil
f5ceddc0b7
put assuan commands to pinentry into a single function
2018-01-29 09:47:42 +01:00
SargoDevel
66ade86441
Added pinentry-qt5 support
2018-01-28 21:49:21 +01:00