Commit Graph

1190 Commits

Author SHA1 Message Date
hellekin
bc45882533 Merge pull request #189 from dyne/fix-163
Detect plain swaps on encrypted partition (util-linux >= 2.22) or advise user to use -f (fixes #163)
2015-02-20 09:58:40 -03:00
Jaromil
8360270e65 Merge branch 'fix-163' of github.com:dyne/Tomb into fix-163 2015-02-20 11:43:26 +01:00
hellekin
fe504e4a19 Remove tabs 2015-02-20 11:42:49 +01:00
hellekin
8233278ce0 Remove leftover and notify #163 :) 2015-02-20 11:42:49 +01:00
hellekin
bad0173352 Simplify patch 2015-02-20 11:42:49 +01:00
hellekin
e4afe6aefa Recover legacy code for systems using util-linux < 2.22 2015-02-20 11:42:49 +01:00
hellekin
de418d00c9 Add detection of plain swap on encrypted volumes. (Fixes #163)
Previously, the code was relying on `file` and `dmsetup` to detect
encrypted swaps, but it was missing plain swaps on encrypted
volumes. Using `lsblk` adds this detection and simplifies the test.

Thanks @fsLeg for reporting the issue, and @boyska for fixing it.
2015-02-20 11:42:49 +01:00
Jaromil
ec5d72ae9a TODO updates and a small comment correction 2015-02-20 11:40:45 +01:00
Jaromil
50fc8ccf6b Merge pull request #191 from jturner314/rm-redundant-check
Remove redundant test for $DISPLAY
2015-02-18 21:25:38 +01:00
Jim Turner
346a31ac5b Remove redundant test for $DISPLAY
This block is already wrapped in the `else` block of the same test for
the `$DISPLAY` variable, so this test is redundant.
2015-02-17 23:01:46 -05:00
Dani
08ebeb8f65 Merge pull request #190 from jturner314/rm-old-msg
Remove outdated error message (leftovers from 5dbcabd).
2015-02-17 10:54:17 +01:00
Jim Turner
030704f5f3 Remove outdated error message
Commit 5dbcabdf26 removed the `chown` call
in `_tmp_create()` but not the associated error message. This commit
removes that error message since it is just dead code.
2015-02-17 01:33:29 -05:00
hellekin
21415b157f Remove tabs 2015-02-08 20:06:53 -03:00
hellekin
22f0705f21 Remove leftover and notify #163 :) 2015-02-08 20:01:01 -03:00
hellekin
02dead6c9d Simplify patch 2015-02-08 19:50:52 -03:00
hellekin
a5ab84fdac Recover legacy code for systems using util-linux < 2.22 2015-02-08 19:34:32 -03:00
Daniel "GDrooid" Rodriguez
98db698ac0 Merge branch 'translation' 2015-02-08 21:30:06 +01: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
hellekin
1e5820fbd3 Add detection of plain swap on encrypted volumes. (Fixes #163)
Previously, the code was relying on `file` and `dmsetup` to detect
encrypted swaps, but it was missing plain swaps on encrypted
volumes. Using `lsblk` adds this detection and simplifies the test.

Thanks @fsLeg for reporting the issue, and @boyska for fixing it.
2015-02-08 14:59:20 -03:00
Jaromil
2598c11893 avoid enforcing .tomb extension to allow better deniability, fix #180 2015-02-08 17:41:01 +00:00
Jaromil
15ff5abe61 Sudo prompt for password made more visible to distinguish from other password prompts, addressing #171 2015-02-08 17:33:10 +00:00
Jaromil
46583fa445 tidying up the documentation 2015-01-30 02:00:07 +01:00
Jaromil
181103bc56 Make pinentry work even if LANG env var is not set (default to C, fix #188) 2015-01-29 18:11:25 +01:00
Jaromil
90e46854bc handle failure in load_key when key is not retrieved from stdin 2015-01-27 17:31:09 +01:00
Jaromil
ca012e8744 supports default mount also on /run/media/jrml (udisk2 compat). minor cleanups to default mountpoint generation. fix #186 2015-01-21 12:17:09 +01:00
Jaromil
4788ee6834 Avoid proceeding to umount if a bind_mount is busy and close is not slamming. 2015-01-17 02:29:57 +01:00
Jaromil
88c51f89f0 Improved validity check on tomb file. Introduces use of zsh/stat module 2015-01-17 02:14:38 +01:00
Jaromil
9b0364d34c preserve current GTK-2.0 theme when using pinentry-gtk-2 (fix #185) 2015-01-13 10:46:53 +01:00
Daniel "GDrooid" Rodriguez
9bcf530c0f Merged translation files with POEditor translations. 2015-01-09 17:47:11 +01:00
Daniel "GDrooid" Rodriguez
30669bb9fa Use spaces instead of tabs. 2015-01-09 17:33:07 +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
Jaromil
d8c5cd24d1 better checks on file creation, both on dig and forge 2015-01-04 21:02:27 +01:00
Jaromil
dd91e124b4 avoid installing translations by default, recommends with gettext 2015-01-04 20:33:39 +01:00
hellekin
1068033e93 Address non-zero exit code on mount attempt 2014-12-27 08:13:15 -03:00
hellekin
45c5b53cc4 Restore -o and make explicit it means 'options local to subcommand' (Closes #182) 2014-12-26 23:42:58 -03:00
hellekin
f1c6245c80 Honor mount options (fixes #181) and disambiguate -o (fixes #182) 2014-12-26 20:54:51 -03:00
Jaromil
c56bd74e22 minor versioning 2014-12-25 02:48:49 +01:00
Jaromil
d88fd5c9cb release versioning 2014-12-21 22:08:32 +01:00
Jaromil
c436b76a85 typo fix for gpg 1.4.11 affecting mint 13 and ubuntu 12, closes #175 2014-12-21 21:51:15 +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
Jaromil
3103787e5e Merge pull request #178 from JoelMon/fix-README-links
Fixed links to KNOWN_BUGS.md and doc/HACKING.txt documents. Close #176
2014-12-06 16:22:12 +00:00
Joel Montes de Oca
4290c66b85 Fixed the links to KNOWN_BUGS.md and doc/HACKING.txt documents. Close #176 2014-12-04 22:20:42 -05: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
Dani
e9d6227e68 Merge pull request #173 from x3nu/master
Small corrections (typos, whitespace, ...) for the German translations.
2014-11-27 20:51:58 +01:00
x3nu
022974dc51 Small corrections (typos/whitespace/...) 2014-11-27 18:20:05 +01:00
hellekin
f2b9c51ccf Merge pull request #172 from dyne/fix-170
Remove extra space and split message for accuracy (closes #170)
2014-11-27 13:47:15 -03:00
hellekin
b0c63ebf12 lapsus: not _notice, but _message 2014-11-27 13:40:58 -03:00