platform/upstream/cryptsetup.git
15 years agoCleanups thanks to Ivan Stankovic
Clemens Fruhwirth [Tue, 13 Jan 2009 20:09:17 +0000 (20:09 +0000)]
Cleanups thanks to Ivan Stankovic

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@46 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoRemove unnecessary files from po/. They will be regenerated by ./autogen.sh
Clemens Fruhwirth [Tue, 13 Jan 2009 19:48:25 +0000 (19:48 +0000)]
Remove unnecessary files from po/. They will be regenerated by ./autogen.sh

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@45 36d66b0a-2a48-0410-832c-cd162a569da5

15 years ago* Fix wrong output for remaining key at key deletion.
Clemens Fruhwirth [Fri, 19 Dec 2008 19:39:42 +0000 (19:39 +0000)]
* Fix wrong output for remaining key at key deletion.
* Allow deletion of key slot while other keys have the same key
  information (that implied rewritting verification logic).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@41 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoAdd missing AM_PROG_CC_C_O to configure.in
Milan Broz [Wed, 5 Nov 2008 15:05:15 +0000 (15:05 +0000)]
Add missing AM_PROG_CC_C_O to configure.in

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@40 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoRemove duplicate sentence in man page (patch by Till Maas).
Milan Broz [Wed, 5 Nov 2008 11:30:21 +0000 (11:30 +0000)]
Remove duplicate sentence in man page (patch by Till Maas).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@39 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoWipe start of device before LUKS-formatting.
Milan Broz [Wed, 5 Nov 2008 11:23:24 +0000 (11:23 +0000)]
Wipe start of device before LUKS-formatting.

Cryptsetup keeps some sectors (between the physical LUKS header
and keyslot data) on disk untouched, unfortunatelly ext2/3/4 signature can
be there and blkid detects filesystem here instead of LUKS.

This patch wipes the first eight sectors on disk with zero during luksFormat.
This should be probably solved by physical header padding in next version.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@38 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoDo not process configure.in in hidden directories.
Milan Broz [Wed, 5 Nov 2008 11:21:53 +0000 (11:21 +0000)]
Do not process configure.in in hidden directories.

(E.g. quilt uses ".pc" dir for file backups to track
changes and processing this directory by autogen is incorrect.)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@37 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoRemove more autoconf stuff as it is generated by autogen.sh anyway.
Clemens Fruhwirth [Thu, 23 Oct 2008 19:08:40 +0000 (19:08 +0000)]
Remove more autoconf stuff as it is generated by autogen.sh anyway.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@36 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoRemove config.sub/config.guess as they are regenerated by autogen.sh
Clemens Fruhwirth [Thu, 16 Oct 2008 09:24:23 +0000 (09:24 +0000)]
Remove config.sub/config.guess as they are regenerated by autogen.sh
Remove reference to m4/Makefile.in from configure.in

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@35 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoRemove ltmain.sh and m4, and strip the former LUKS branch tag of the gettext package...
Clemens Fruhwirth [Sun, 12 Oct 2008 12:21:13 +0000 (12:21 +0000)]
Remove ltmain.sh and m4, and strip the former LUKS branch tag of the gettext package identifier

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@34 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoReturn preset error description in case of IO or header format error.
Milan Broz [Mon, 22 Sep 2008 12:07:31 +0000 (12:07 +0000)]
Return preset error description in case of IO or header format error.

(All password related errors still return -EPERM - "No key available with this passphrase.")

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@33 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoUse remapping to error target instead of calling udevsettle for temporary crypt device.
Milan Broz [Tue, 16 Sep 2008 15:35:50 +0000 (15:35 +0000)]
Use remapping to error target instead of calling udevsettle for temporary crypt device.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@32 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoCheck device mapper communication and warn user in case the communication fails....
Clemens Fruhwirth [Thu, 11 Sep 2008 09:10:55 +0000 (09:10 +0000)]
Check device mapper communication and warn user in case the communication fails. Thanks to Milan Broz.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@31 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoThanks to Milan Broz <mbroz@redhat.com> for this patch:
Clemens Fruhwirth [Wed, 10 Sep 2008 10:55:28 +0000 (10:55 +0000)]
Thanks to Milan Broz <mbroz@redhat.com> for this patch:

Fix signal handler to proper close device, otherwise if the descriptor
is 0, it keeps device open and temporary-cryptsetup-$PID mapping
is not removed (leaving device open and unusable).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@30 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoThanks to Ivan Stankovic
Clemens Fruhwirth [Mon, 1 Sep 2008 08:54:05 +0000 (08:54 +0000)]
Thanks to Ivan Stankovic

* write_lseek_blockwise: declare innerCount outside the if block
* add -Wall to the default CFLAGS
* fix some signedness issues

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@29 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoError handling improvement thanks to Erik Edin.
Clemens Fruhwirth [Wed, 20 Aug 2008 10:40:45 +0000 (10:40 +0000)]
Error handling improvement thanks to Erik Edin.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@28 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoAdd non-exclusive override to interface definition, add regression test
Clemens Fruhwirth [Mon, 30 Jun 2008 12:21:06 +0000 (12:21 +0000)]
Add non-exclusive override to interface definition, add regression test

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@26 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoAdd non-exclusive override via --non-exclusive.
Clemens Fruhwirth [Mon, 30 Jun 2008 12:20:24 +0000 (12:20 +0000)]
Add non-exclusive override via --non-exclusive.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@25 36d66b0a-2a48-0410-832c-cd162a569da5

15 years agoRefactor key slot selection into keyslot_from_option. Either autoselect next
Clemens Fruhwirth [Sat, 28 Jun 2008 17:45:55 +0000 (17:45 +0000)]
Refactor key slot selection into keyslot_from_option. Either autoselect next
free keyslot or honor user choice (after checking).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@24 36d66b0a-2a48-0410-832c-cd162a569da5

16 years agoPurge leftovers from patching (.orig)
Clemens Fruhwirth [Sat, 22 Mar 2008 08:29:12 +0000 (08:29 +0000)]
Purge leftovers from patching (.orig)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@4 36d66b0a-2a48-0410-832c-cd162a569da5

16 years agoInitial checking of what was revision 56 on http://luks.endorphin.org/svn/cryptsetup
Clemens Fruhwirth [Sat, 22 Mar 2008 08:23:35 +0000 (08:23 +0000)]
Initial checking of what was revision 56 on luks.endorphin.org/svn/cryptsetup

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@3 36d66b0a-2a48-0410-832c-cd162a569da5

16 years agoInitial test commit of a single file.
Clemens Fruhwirth [Wed, 12 Mar 2008 10:45:48 +0000 (10:45 +0000)]
Initial test commit of a single file.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@2 36d66b0a-2a48-0410-832c-cd162a569da5

16 years agoInitial directory structure.
Clemens Fruhwirth [Tue, 11 Mar 2008 14:21:47 +0000 (14:21 +0000)]
Initial directory structure.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@1 36d66b0a-2a48-0410-832c-cd162a569da5