Milan Broz
ae9c9cf369
Disallow explicit small payload offset for detached header.
...
LUKS detached header has some limitations, one of them
is that you cannot run some explicit check for data offsets
without providing also data device.
Because luksDump and all key handle commands takes only
metadata device (LUKS heaer device), it not easy to properly
support data payload offset validation.
So if detached header is present for luksFormat, code now
allows data payload 0 (IOW whole data device is used)
and explicit offset larger than header+keyslots
(the same as the header is on data device - so some space is wasted).
N.B. with detached header the option --align-payload is used
directly without any round up caculations.
Fixes Issue#155.
2013-05-11 10:59:02 +02:00
wagner
db44c27674
sync with Wiki
2013-04-25 00:08:42 +02:00
Milan Broz
efa2c7b08b
Update nl.po.
2013-04-07 09:33:23 +02:00
wagner
a9441043bc
sync with wiki version
2013-04-05 11:24:44 +02:00
Milan Broz
aaf0cfa3c1
Set devel version.
2013-03-31 11:59:54 +02:00
Milan Broz
2a2444b961
Fix gcc signed/unsigned warning for key length.
...
And always use unsigned int declaration.
v1_6_1
2013-03-31 11:24:26 +02:00
Milan Broz
2526ec92bd
Update vi.po.
2013-03-26 21:19:03 +01:00
Milan Broz
9bddc52601
Update po files.
2013-03-24 23:36:26 +01:00
Milan Broz
1b96e93f91
Add 1.6.1 release notes.
2013-03-24 10:02:19 +01:00
Milan Broz
6127b6959f
Update copyright year on changed files.
2013-03-24 09:05:33 +01:00
Milan Broz
330007beb2
Fix loop-AES keyfile parsing.
...
Loop-AES keyfile should be text keyfile,
properly check that keys are terminated and of the same length.
Fixes issue#153.
2013-03-23 18:10:46 +01:00
wagner
cbfd48d949
Fixed the buit instruction
...
Improved example
2013-03-23 16:00:58 +01:00
Milan Broz
f64064fe71
Fix deactivation of device when failed underlying node disappeared
...
If underlying device disappears (failed drive, removed flash drive etc)
cryptsetup cannot report LUKS parameters (header no longer available).
Fix return code of init_by name in this situation (crypt
context is NULL).
Report visible error if deactivation fails and device is still busy.
Fixes issue#149.
2013-03-17 20:54:04 +01:00
Milan Broz
f2521889c2
Deactivate whole device TCRYPT tree if context is NULL
...
API (unfortunately) supports NULL argument for crypt_deactivate,
with new chained TCRYPT devices it must deactivate all
chained devices as well.
Fixes issue#147.
2013-03-17 19:20:42 +01:00
Milan Broz
642d41970d
Update nl.po.
2013-03-17 17:34:41 +01:00
Milan Broz
acd069fd27
Update de.po.
2013-03-10 16:09:00 +01:00
Milan Broz
c810b0514e
Return EPERM instead EINVAL for too long TCRYPT passphrase.
2013-02-15 09:52:22 +01:00
Milan Broz
e600024908
Fix passphrase pool overflow for TCRYPT device id passphrase > pool size.
...
TCRYPT format limits passphrase length to max. 64 characters so simply error in this case.
2013-02-14 14:37:50 +01:00
Milan Broz
fd5b88449a
Make passphrase prompts more consistent.
...
Also see http://code.google.com/p/cryptsetup/issues/detail?id=145
2013-02-11 14:53:49 +01:00
John Spencer
433758e4cb
Fix missing headers
...
2 header inclusions were missing, one for PATH_MAX (limits.h) and one
for FD_ZERO, FD_SET, ... (sys/select.h)
on glibc, those headers are erroneusly (namespace pollution) pulled in
through other headers, so the author didnt notice.
Signed-Off-By: John Spencer <maillist-cryptsetup@barfooze.de >
2013-02-01 08:39:12 +01:00
wagner
5b8f762ab2
sync with wiki
2013-02-01 05:35:36 +01:00
Milan Broz
72db6e4de2
Do not support user uuid for plain & loopaes devices.
...
This function was not documented.
So now crypt_get_uuid() returns only on-disk UUID.
2013-01-22 16:20:09 +01:00
Milan Broz
2780ccdd62
Properly cleanup on interrupt in api-test.
2013-01-16 15:28:12 +01:00
Milan Broz
fdcabdfd28
Support test run in kernel FIPS mode.
2013-01-15 14:53:19 +01:00
Milan Broz
40b876f550
Set devel version.
2013-01-14 12:49:04 +01:00
Milan Broz
5cb5aeba36
Fix doxygen doc for libcryptsetup.h.
v1_6_0
2013-01-14 00:22:50 +01:00
Milan Broz
6a1f49c244
Fix tcrypt test header.
2013-01-13 23:53:35 +01:00
Milan Broz
8613651f18
Use tabs in script.
2013-01-13 20:45:55 +01:00
Milan Broz
be4fea1928
Update po files.
2013-01-13 19:29:12 +01:00
Milan Broz
2c4542a590
Update bitops.h (stolen from util-linux:).
2013-01-13 19:28:36 +01:00
Milan Broz
3ce5359523
Update po files.
2013-01-11 13:03:05 +01:00
Milan Broz
fe4175b551
Fix some extended compile warning.
2013-01-10 17:26:19 +01:00
Milan Broz
310bf08568
Do not include pbkdf2 prototype in header if code is not compiled in.
2013-01-10 16:48:47 +01:00
Milan Broz
c040b4821d
Fix null blocks in kernel backend.
2013-01-10 15:37:26 +01:00
Milan Broz
20149281a4
Fix tests to work with pwquality compiled in.
2013-01-10 15:34:11 +01:00
Milan Broz
87f1017f80
Allow to overwrite gcrypt PBKDF2 use for configure.
2013-01-09 18:46:38 +01:00
Milan Broz
664eff9e76
Prepare 1.6.0 release.
2013-01-09 13:23:34 +01:00
Milan Broz
36eb33bc86
Skip test for kernel wihtout autoclear flag.
2013-01-08 18:44:02 +01:00
Milan Broz
df8fb84723
Workaround api-test compilation on some very old systems.
2013-01-08 17:41:06 +01:00
Milan Broz
4de648a77a
Properly specify cipher in tests.
2013-01-08 14:45:39 +01:00
Milan Broz
929dc47be4
Fix displaying of error messages for mising kernel features.
2013-01-08 14:19:31 +01:00
Milan Broz
5f222517f0
Change LUKS default cipher to aes-xts-plain64 (AES128-XTS).
2013-01-08 12:21:30 +01:00
Milan Broz
940690be82
Update po files.
2013-01-05 12:51:58 +01:00
Milan Broz
37ec687237
Properly initialize pkg-config in autoconf.
2013-01-05 12:51:21 +01:00
Milan Broz
ca75cd940f
Prepare supported PBKDF2 implementation autodetection for gcrypt.
2013-01-03 14:11:52 +01:00
Milan Broz
607fd2b977
Update pl.po.
2013-01-02 22:46:32 +01:00
Milan Broz
e689eb4a0a
Fix benchmark alignment (wider columns).
2013-01-02 21:53:49 +01:00
Milan Broz
b6a63c8d5c
Update po files.
2013-01-02 13:25:07 +01:00
Yuri Chornoivan
209f1db984
Fix typo
2012-12-31 18:33:33 +01:00
Milan Broz
dd3fddb0e9
Fix autogen script to handle configure.ac.
2012-12-30 18:39:48 +01:00