Milan Broz
80d21c039e
Fix some problems found by Coverity scan.
2012-12-10 17:28:52 +01:00
Milan Broz
05af3a3383
Move change key into library (add crypt_keyslot_change_by_passphrase).
...
This change is useful mainly in FIPS mode, where we cannot
extract volume key directly from libcryptsetup.
2012-12-07 15:33:47 +01:00
Milan Broz
bd494d23c5
Add PBKDF2 benchmark.
2012-12-05 20:35:42 +01:00
Milan Broz
ef21960600
Document new basic commands open/close (and old syntax aliases).
2012-12-03 13:23:14 +01:00
Milan Broz
a4585423fd
Remove some gcc extra warnings (signed/unsigned problems etc).
2012-12-02 23:13:59 +01:00
Milan Broz
4d9c7d39f4
Add master key dump option for tcryptDump.
2012-12-02 20:27:45 +01:00
Milan Broz
6a532cb1b5
cryptsetup: remove useless arg for action functions.
2012-12-02 20:11:10 +01:00
Milan Broz
d93e4212cd
Add new commands open/close and make aliases.
...
open aliases : create, plainOpen, luksOpen, loopaesOpen, tcryptOpen
close aliases: remove, plainClose, luksClose, loopaesClose, tcryptClose
2012-12-02 20:03:05 +01:00
Milan Broz
0461d9e822
Better tcrypt test options.
2012-11-30 15:03:01 +01:00
Milan Broz
4f7262aa96
And fix previous comment once more... :)
2012-11-30 13:52:03 +01:00
Milan Broz
eac953c6e4
Fix skcipher failure handling.
2012-11-30 13:37:14 +01:00
Milan Broz
d7fc953fa2
Handle kernel crypto api init failure better.
2012-11-29 18:01:02 +01:00
Milan Broz
c81260b3c3
TCRYPT: add dump command
2012-11-23 17:10:57 +01:00
Daniel Kahn Gillmor
c26bb0f38a
make default LUKS PBKDF2 iteration time configurable
2012-11-20 21:23:05 +01:00
Milan Broz
911ffe81f0
TCRYPT: implement (most of) legacy modes support.
2012-11-19 21:25:57 +01:00
Milan Broz
ecf993834c
TCRYPT: support keyfiles
2012-11-19 21:25:26 +01:00
Milan Broz
3cbb43a73a
Add basic TCRYPT library.
2012-11-19 21:24:59 +01:00
Milan Broz
db97d3d8c8
Add simple cipher benchmarking.
2012-11-19 21:22:43 +01:00
Milan Broz
89e09afdf6
Fix some problems found by Coverity static analysis.
2012-09-19 13:58:00 +02:00
Milan Broz
1d5788f779
Set context for DM log for all DM backend entries.
...
Try to handle error if run as non-root user better.
2012-08-14 19:17:13 +02:00
Milan Broz
ff9db165eb
Use common utils_tools.c for all tools.
...
Unify tool environment and deduplicate code.
2012-08-13 18:31:26 +02:00
Petr Písař
9b455125e9
Pass help text to popt already translated
...
popt does not process the text registered by poptSetOtherOptionHelp()
through gettext on its own. Application must do it.
2012-06-26 21:26:04 +02:00
Milan Broz
527c0fe4f9
Rename without_activation to test_passphrase.
2012-06-19 17:37:31 +02:00
Milan Broz
42abcc0fac
Remove some redundant brackets.
2012-06-19 15:49:56 +02:00
Milan Broz
a38fcafcff
Add --without-activation option for luksOpen (check passphrase only).
2012-06-19 15:36:19 +02:00
Milan Broz
f4101d0f8b
Use action names in veritysetup (similar to cryptsetup).
2012-06-08 21:51:58 +02:00
Milan Broz
ce2218ed65
Support init_by_name for verity.
2012-06-08 16:38:26 +02:00
Milan Broz
4b0b82adc5
Rewrite veritysetup to use libcryptsetup.
2012-06-07 00:18:49 +02:00
Milan Broz
45e0942755
Add --enable-fips for linking with fipscheck library.
...
Initialize binary and library selfcheck if running in FIPS mode.
(Actually available only on Fedora/Red Hat distros.)
2012-05-21 14:09:57 +02:00
Milan Broz
ee8425b836
Version 1.4.2.
...
Add header and copyright for header files.
2012-04-02 22:03:05 +02:00
Milan Broz
2499fa669d
Allow to specify --align-payload only for luksFormat.
2012-04-02 21:23:44 +02:00
Milan Broz
bd047d03ef
Add repair command and API for repairing known LUKS header problems.
2012-04-02 21:18:22 +02:00
Milan Broz
9511c91a79
Add --keyfile-offset and --new-keyfile-offset to cryptsetup.
...
Add resume_by_keyfile_offset, add_kesylot_by_keyfile_offset and
activate_by_keyfile_offset to API.
Thanks to Matthew Monaco <matthew.monaco@0x01b.net >
2012-03-29 18:35:07 +02:00
Milan Broz
9341679b31
Support UUID=<LUKS_UUID> format for device specification.
2012-03-20 13:36:36 +01:00
Milan Broz
075fb8d261
Unify password verification option.
...
Support password verification with quiet flag if possible. (1.2.0)
2012-03-16 16:17:03 +01:00
Milan Broz
d542045645
Add support for --master-key-file to luksOpen.
2012-02-11 11:24:58 +01:00
Milan Broz
203f2e082d
Fix error message for luksClose and detached LUKS header.
...
Allow --header for status command to get full info with detached header.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@689 36d66b0a-2a48-0410-832c-cd162a569da5
2011-11-13 22:12:51 +00:00
Milan Broz
774d1de56e
Fix cryptsetup status output if parameter is device path.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@682 36d66b0a-2a48-0410-832c-cd162a569da5
2011-11-08 21:29:44 +00:00
Milan Broz
1b982af46f
Fix typo in iteration time api call.
...
(To not break API keep old set_iterarion_time alias...)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@675 36d66b0a-2a48-0410-832c-cd162a569da5
2011-11-06 22:44:52 +00:00
Milan Broz
7835b365a7
Fix FSF address in license text according to
...
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@671 36d66b0a-2a48-0410-832c-cd162a569da5
2011-11-02 22:35:21 +00:00
Milan Broz
28eddd2f52
Fix isLuks message (should appear only in verbose mode).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@653 36d66b0a-2a48-0410-832c-cd162a569da5
2011-10-25 19:09:44 +00:00
Milan Broz
3b10bf9558
Print warning if detached header path is unusable.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@636 36d66b0a-2a48-0410-832c-cd162a569da5
2011-10-10 17:38:40 +00:00
Milan Broz
cc3b39980b
Fix luksKillSLot exit code if slot is inactive or invalid. (Issue 108)
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@624 36d66b0a-2a48-0410-832c-cd162a569da5
2011-10-09 13:46:03 +00:00
Milan Broz
1a8bae8884
Add keyslot option for luksOpen (thanks to okozina).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@611 36d66b0a-2a48-0410-832c-cd162a569da5
2011-09-22 20:26:37 +00:00
Milan Broz
538169fb5b
Fix some memory leaks (thanks to okozina).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@610 36d66b0a-2a48-0410-832c-cd162a569da5
2011-09-21 22:42:18 +00:00
Milan Broz
7665f8e805
Improve check for invalid offset and size values. (thx to okozina)
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@588 36d66b0a-2a48-0410-832c-cd162a569da5
2011-08-01 12:27:34 +00:00
Milan Broz
f80b506b65
* Allow different data offset setting for detached header.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@576 36d66b0a-2a48-0410-832c-cd162a569da5
2011-07-20 17:39:38 +00:00
Milan Broz
f7f9e291f4
* Add --header option for detached metadata (on-disk LUKS header) device.
...
* Add crypt_init_by_name_and_header() and crypt_set_data_device() to API.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@575 36d66b0a-2a48-0410-832c-cd162a569da5
2011-07-20 17:39:26 +00:00
Milan Broz
1bf26b9a90
* Revert default initialisation of volume key in crypt_init_by_name().
...
* Do not allow key retrieval while suspended (key could be wiped).
* Do not allow suspend for non-LUKS devices.
* Support retries and timeout parameters for luksSuspend.
Add luksSuspend/Resume test.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@574 36d66b0a-2a48-0410-832c-cd162a569da5
2011-07-19 13:55:34 +00:00
Milan Broz
9c71c74d59
Add --enable-discards option to allow discards/TRIM requests.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@572 36d66b0a-2a48-0410-832c-cd162a569da5
2011-07-17 22:35:40 +00:00