Ondrej Kozina
9b49e47b13
Drop unreachable code and useless conditions.
...
integrity_alg variable can not be NULL.
2020-05-29 10:59:23 +02:00
Ondrej Kozina
8540be5b82
Remove const from all opt_ string declarations.
...
Those variables contain pointers to dynamically alocated memory.
2020-05-29 10:59:23 +02:00
Ondrej Kozina
ae6d6261a1
Do not pass constant strings to option string variables.
...
This is part of effort to eliminate all memory leaks related
to options parsing in popt but for that to work we must avoid
passing constant strings to free().
2020-05-29 10:59:23 +02:00
Ondrej Kozina
ce4fcd2009
Group all string options variables together.
2020-05-29 10:59:23 +02:00
Ondrej Kozina
76620881f4
Properly prefix all popt variables in veritysetup.
2020-05-29 10:59:23 +02:00
Milan Broz
f99efd6166
Update Readme.md.
2020-05-28 11:42:58 +02:00
Milan Broz
74e94e7bdd
Prepare version 2.3.3.
v2.3.3
2020-05-28 11:26:27 +02:00
Milan Broz
72cd628357
Update cryptsetup.pot.
2020-05-24 23:37:31 +02:00
Yuri Chornoivan
45367e4a34
po: update uk.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Yuri Kozlov
7d76831250
po: update ru.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Jakub Bogusz
d2ff3fc2ee
po: update pl.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Hiroshi Takekawa
537b8454a4
po: update ja.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Frédéric Marchal
a7c71b90b1
po: update fr.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Antonio Ceballos
e0be3deb3a
po: update es.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Roland Illig
5490476d84
po: update de.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Petr Pisar
90865eb887
po: update cs.po (from translationproject.org)
2020-05-24 23:22:15 +02:00
Milan Broz
157f71d78e
Add IV vector tests.
...
This test checks IV wrapper implemented in userspace.
2020-05-24 23:19:46 +02:00
Milan Broz
176fee54e4
Require both keyslot cipher ane key size options.
...
If not specified together, cryptsetup silently fail.
2020-05-15 22:07:52 +02:00
Milan Broz
61f4363ed7
Implement EBOIV in userspace storage wrapper.
...
The EBOIV initialization vector is intended to be used
internally with BitLocker devices (for CBC mode).
It can be used in some specific cases for other devices.
This patch adds userspace implementation duplicating
the same EBOIV as the dm-crypt kernel.
Fixes : #562
2020-05-15 17:33:06 +02:00
Vojtech Trefny
86cc67e081
bitlk: Fix memory leak when freeing bitlk_fvek structure
2020-05-15 17:15:07 +02:00
Milan Broz
dcc9888350
Update pot file.
2020-05-15 10:56:36 +02:00
Мирослав Николић
6af6a424b4
po: update sr.po (from translationproject.org)
2020-05-15 10:44:11 +02:00
Milan Broz
e1ceb63023
Set devel version.
2020-05-15 10:43:52 +02:00
Milan Broz
4eb7193a27
Support large IV count option for plain device
...
The iv_large_sector option is supported in dm-crypt since introduction
of larger sectors encryption.
It counts Initialization Vector (IV) in larger sector size (if set) instead
of 512 bytes sectors.
This option does not have any performance or security impact, but it can be
used for accessing incompatible existing disk images from other systems.
(It is used internally in BitLocker compatibily code).
This patch allows it to be used for plain type device, so users
can manually map foreign disk images.
Only open action with plain device and sector size > 512 bytes is supported.
2020-05-15 10:37:33 +02:00
Arno Wagner
e6ff3b37a4
sync with wiki
2020-05-12 17:21:49 +02:00
Milan Broz
c3e095969f
Skip 4k Bitlk images (some older systems cannot activate them).
2020-05-07 09:15:45 +02:00
Vojtěch Trefný
2e345a1059
bitlk: Fix working with 4k sector devices
...
We need to use the iv_large_sectors flag and correct sector size
for the crypt segments for these devices. Used sector size is
read from the device header. This commit also adds two new test
images with 4k sectors.
Fixes : #557
2020-05-06 21:20:26 +02:00
Milan Broz
e759ebe0bd
Better explain --persistent option for flag removals.
...
Also fix a error message that was not displayed
properly for the persistent discard flag incompatibility.
Fixes : #558 .
2020-05-02 17:09:59 +02:00
Milan Broz
533b874590
Update Readme.md.
2020-04-30 17:12:37 +02:00
Milan Broz
780ebb4680
Version 2.3.2.
v2.3.2
2020-04-30 16:56:53 +02:00
Yuri Chornoivan
02a579af59
po: update uk.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Yuri Kozlov
9bcf1c4b8d
po: update ru.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Jakub Bogusz
dec9b4f7c7
po: update pl.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Hiroshi Takekawa
4701842829
po: update ja.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Frédéric Marchal
488b4bdbe8
po: update fr.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Antonio Ceballos
c8d886b422
po: update es.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Roland Illig
a83bbd2e92
po: update de.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Petr Pisar
c3a47cb72f
po: update cs.po (from translationproject.org)
2020-04-29 08:49:39 +02:00
Ondrej Kozina
0971e55d4d
Fix gcc warning in unbound key dump.
2020-04-29 08:49:25 +02:00
Ondrej Kozina
6f45c7a8ac
Drop duplicit check on --refresh option.
2020-04-29 08:49:04 +02:00
Arno Wagner
c567d852a5
Sync to wiki (added 10.9)
2020-04-28 15:28:49 +02:00
Arno Wagner
0b38128e21
sync to Wiki
2020-04-27 16:27:50 +02:00
Arno Wagner
b9daa8b2ee
Fixes to 6.10, should state situation with LUKS2
...
accurately now.
2020-04-26 18:56:28 +02:00
Arno Wagner
878c7173c3
typo
2020-04-26 18:34:59 +02:00
Arno Wagner
f69b980dcf
Sync to Wiki Version.
...
Rework to differentiate LUKS1 from LUKS2 and
info for LUKS2 added.
2020-04-26 18:22:25 +02:00
Milan Broz
33378792ca
Prepare rc0 for version 2.3.2.
2020-04-17 10:48:04 +02:00
Milan Broz
c7a2b4d5e3
Fix a line break in veritysetup man page.
2020-04-16 15:33:25 +02:00
Milan Broz
4a077fc2c9
Rephrase warning a little bit.
2020-04-16 15:30:35 +02:00
Ondrej Kozina
f309ec21d7
Allow dump of LUKS2 unbound keyslot.
...
Adds option to dump content of LUKS2 unbound keyslot
in to a file:
'cryptsetup luksDump --unbound --master-key-file /file -S 12 /dev/luks2'
or to terminal:
'cryptsetup luksDump --unbound -S 12 /dev/luks2'
Parameters -S (specific keyslot) is mandatory with --unbound.
Fixes : #549
2020-04-16 15:29:24 +02:00
Milan Broz
e261cf7481
Add issue templates.
...
(Note: default is in project setting as a copy of Bug.md)
2020-04-15 18:06:07 +02:00