Milan Broz
6ec29d935f
Fix (deprecated) reload device command to accept new device argument.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@241 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-30 12:23:38 +00:00
Milan Broz
231ab0167b
Fix luksFormat/luksOpen reading passphrase from stdin and "-" keyfile.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@237 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-27 18:44:00 +00:00
Milan Broz
cddf4d859d
Fix luksClose if underlying device is another DM device
...
and commands fails with "Device 253:0 doesn't exist or access denied." error.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@225 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-23 13:09:33 +00:00
Milan Broz
4ac7e5a4d2
Skip align test if kernel fails to load scsi_debug.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@215 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-01 16:04:04 +00:00
Milan Broz
f47b7ba425
Fix gcrypt detection & compatimage in api-test.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@212 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-01 09:59:12 +00:00
Milan Broz
5107296213
Rename apitest -> api-test.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@211 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-01 09:59:04 +00:00
Milan Broz
19dc09131d
Rename align test (Anyone mentioned autoconfigure?). Add some minor changes, run it in make check.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@210 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-01 09:58:55 +00:00
Milan Broz
78d014e27d
Move compat test to separate script and run it in make check.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@209 36d66b0a-2a48-0410-832c-cd162a569da5
2010-05-01 09:58:47 +00:00
Milan Broz
611278ca39
Allow no hash specification in plain device constructor (issue 63).
...
Fix some warnings in apitest.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@207 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-30 14:05:25 +00:00
Milan Broz
1dcd5a3de5
Detect old dm-crypt module and disable LUKS suspend/resume.
...
Fix apitest to work on older systems.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@205 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-30 12:03:41 +00:00
Milan Broz
0516a1a676
Do not use kernel dm-ioctl header directly and remove warnings.
...
Add alignment test to distributed files.
Fix write() return compiler warning.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@202 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-16 15:48:09 +00:00
Milan Broz
17c87c1148
Fix minor errors
...
- undefined variable
- properly closinf file descriptorif totpology not detected
- fix IV mode to test run on RHEL5
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@201 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-16 14:51:09 +00:00
Milan Broz
566f48f7a4
Fix align test.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@200 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-16 13:16:11 +00:00
Milan Broz
d39b33a371
Avoid class C++ keyword in library header.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@197 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-12 11:53:47 +00:00
Milan Broz
743fbbc451
Support topology information for data alignment (LUKS).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@195 36d66b0a-2a48-0410-832c-cd162a569da5
2010-04-09 15:35:19 +00:00
Milan Broz
311727a571
Add nonFIPS alg format test, clean up some warnings in apicheck.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@172 36d66b0a-2a48-0410-832c-cd162a569da5
2010-01-10 20:40:50 +00:00
Milan Broz
403559261a
Fix test to handle new default key size.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@153 36d66b0a-2a48-0410-832c-cd162a569da5
2009-12-11 11:56:17 +00:00
Milan Broz
e698843420
Add CRYPT_ prefix to enum defined in libcryptsetup.h.
...
(Avoid collision with other defines.)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@136 36d66b0a-2a48-0410-832c-cd162a569da5
2009-11-14 21:33:16 +00:00
Milan Broz
1cc33f943e
patch 1.patch
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@109 36d66b0a-2a48-0410-832c-cd162a569da5
2009-09-10 12:41:18 +00:00
Milan Broz
3cea5dcc7b
* Add luksSuspend (freeze device and wipe key) and luksResume (with provided passphrase).
...
Signed-off-by: Milan Broz <mbroz@redhat.com >
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@104 36d66b0a-2a48-0410-832c-cd162a569da5
2009-09-02 12:47:21 +00:00
Milan Broz
52b0271a0e
Disable --non-exclusive test.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@103 36d66b0a-2a48-0410-832c-cd162a569da5
2009-08-31 17:15:07 +00:00
Milan Broz
bcd94f6ad4
Add LUKS open and format test using new api.
...
Fix some error messages.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@102 36d66b0a-2a48-0410-832c-cd162a569da5
2009-08-31 17:03:22 +00:00
Milan Broz
8a0553d452
Add plain crypt device test using new API.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@100 36d66b0a-2a48-0410-832c-cd162a569da5
2009-08-31 10:36:36 +00:00
Milan Broz
04a0f5dfb8
Fix include path.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@88 36d66b0a-2a48-0410-832c-cd162a569da5
2009-08-28 15:54:03 +00:00
Milan Broz
b30c1c7f43
Add separate tests directory, move LUKS tests, Add old library API tests.
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@87 36d66b0a-2a48-0410-832c-cd162a569da5
2009-08-28 15:22:37 +00:00