Commit Graph

174 Commits

Author SHA256 Message Date
Stephan Kulow
a44c443eb1 Accepting request 211316 from security
- version 1.6.3 
* Fix cryptsetup reencryption tool to work properly 
  with devices using 4kB sectors.
* Rewrite cipher benchmark loop which was unreliable on very fast machines.
* Support activation of old TrueCrypt containers (requires kernel 3.13)
* Other bugfixes. (forwarded request 210973 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/211316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=85
2013-12-19 11:39:34 +00:00
7d203f1cbd Accepting request 210973 from home:elvigia:branches:security
- version 1.6.3 
* Fix cryptsetup reencryption tool to work properly 
  with devices using 4kB sectors.
* Rewrite cipher benchmark loop which was unreliable on very fast machines.
* Support activation of old TrueCrypt containers (requires kernel 3.13)
* Other bugfixes.

OBS-URL: https://build.opensuse.org/request/show/210973
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=107
2013-12-18 07:35:57 +00:00
Stephan Kulow
27bee42f51 Accepting request 196348 from security
- cryptsetup 1.6.2
* Print error and fail if more device arguments 
  are present for isLuks command.
* Fix cipher specification string parsing 
(found by gcc -fsanitize=address option).
* Try to map TCRYPT system encryption through partitions
* Workaround for some recent changes in automake (forwarded request 185875 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/196348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=83
2013-08-30 09:33:17 +00:00
97c0fc2e1f Accepting request 185875 from home:elvigia:branches:security
- cryptsetup 1.6.2
* Print error and fail if more device arguments 
  are present for isLuks command.
* Fix cipher specification string parsing 
(found by gcc -fsanitize=address option).
* Try to map TCRYPT system encryption through partitions
* Workaround for some recent changes in automake

OBS-URL: https://build.opensuse.org/request/show/185875
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=105
2013-08-26 08:24:57 +00:00
Stephan Kulow
a17cc78ed0 Accepting request 181818 from security
- cryptsetup 1.6.1
 * Fix loop-AES keyfile parsing.
 * Fix passphrase pool overflow for too long TCRYPT passphrase.
 * Fix deactivation of device when failed underlying node disappeared.
- There is a bug in the released tarball, due to HAVE_BYTESWAP_H
  and HAVE_ENDIAN_H not properly handled by the buildsystem. A
  patch with permanent solution was sent and accepted upstream
  and will appear in the next release, for now an spec file workaround
  is in place, remove in the next update. (forwarded request 181807 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/181818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=82
2013-07-03 14:29:37 +00:00
Dr. Werner Fink
ba19ad260a Accepting request 181807 from home:elvigia:branches:security
- cryptsetup 1.6.1
 * Fix loop-AES keyfile parsing.
 * Fix passphrase pool overflow for too long TCRYPT passphrase.
 * Fix deactivation of device when failed underlying node disappeared.
- There is a bug in the released tarball, due to HAVE_BYTESWAP_H
  and HAVE_ENDIAN_H not properly handled by the buildsystem. A
  patch with permanent solution was sent and accepted upstream
  and will appear in the next release, for now an spec file workaround
  is in place, remove in the next update.

OBS-URL: https://build.opensuse.org/request/show/181807
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=103
2013-07-02 20:45:10 +00:00
Stephan Kulow
eb37569de2 Accepting request 161166 from security
- Remove excessive dependencies of libcryptsetup-devel
  (it does not require any of these)
- Mark 2.6.38 as needed

N.B.: You can now use the tilde syntax when procuring beta versions
in future, e.g. "Version: 2.0~beta1" (forwarded request 160813 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/161166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=81
2013-03-26 13:05:44 +00:00
Philipp Thomas
7b820e0fc0 Accepting request 160813 from home:jengelh:branches:security
- Remove excessive dependencies of libcryptsetup-devel
  (it does not require any of these)
- Mark 2.6.38 as needed

N.B.: You can now use the tilde syntax when procuring beta versions
in future, e.g. "Version: 2.0~beta1"

OBS-URL: https://build.opensuse.org/request/show/160813
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=101
2013-03-26 11:48:10 +00:00
Stephan Kulow
60246d0244 Accepting request 159201 from security
- version 1.6.0
 * Change LUKS default cipher to to use XTS encryption mode,
   aes-xts-plain64 (i.e. using AES128-XTS).
 * license change to GPL-2.0+ from GPL-1.0
 * new unified command open and close.
 * direct support for TCRYPT (TrueCrypt and compatible tc-play) on-disk format
 * new benchmark command (forwarded request 159200 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/159201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=80
2013-03-14 09:55:57 +00:00
8d29697e3f Accepting request 159200 from home:lnussel:branches:security
- version 1.6.0
 * Change LUKS default cipher to to use XTS encryption mode,
   aes-xts-plain64 (i.e. using AES128-XTS).
 * license change to GPL-2.0+ from GPL-1.0
 * new unified command open and close.
 * direct support for TCRYPT (TrueCrypt and compatible tc-play) on-disk format
 * new benchmark command

OBS-URL: https://build.opensuse.org/request/show/159200
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=99
2013-03-13 16:21:37 +00:00
Stephan Kulow
5a01b01f1d Accepting request 145279 from security
ATTENTION: wait for cryptsetup-mkinitrd before checkin, otherwise installation
with root on crypto no longer boot

- version 1.5.1:
  * Added keyslot checker
  * Add crypt_keyslot_area() API call.
  * Optimize seek to keyfile-offset (Issue #135, thx to dreisner).
  * Fix luksHeaderBackup for very old v1.0 unaligned LUKS headers.
  * Allocate loop device late (only when real block device needed).
  * Rework underlying device/file access functions.
  * Create hash image if doesn't exist in veritysetup format.
  * Provide better error message if running as non-root user (device-mapper, loop).
- split off hashalot and boot.crypto
- move to /usr (forwarded request 145274 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/145279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=78
2012-12-21 13:32:57 +00:00
2469c1380b Accepting request 145274 from home:lnussel:branches:security
ATTENTION: wait for cryptsetup-mkinitrd before checkin, otherwise installation
with root on crypto no longer boot

- version 1.5.1:
  * Added keyslot checker
  * Add crypt_keyslot_area() API call.
  * Optimize seek to keyfile-offset (Issue #135, thx to dreisner).
  * Fix luksHeaderBackup for very old v1.0 unaligned LUKS headers.
  * Allocate loop device late (only when real block device needed).
  * Rework underlying device/file access functions.
  * Create hash image if doesn't exist in veritysetup format.
  * Provide better error message if running as non-root user (device-mapper, loop).
- split off hashalot and boot.crypto
- move to /usr

OBS-URL: https://build.opensuse.org/request/show/145274
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=97
2012-12-13 13:06:34 +00:00
7a1b87dbd3 Accepting request 143882 from home:sbrabec:gpg-offline-verify
Verify GPG signature: Perform build-time offline GPG verification.
Please verify that included keyring matches your needs.
For manipulation with the offline keyring, please use gpg-offline tool from openSUSE:Factory, devel-tools-building or Base:System.
See the man page and/or /usr/share/doc/packages/gpg-offline/PACKAGING.HOWTO.

If you need to build your package for older products and don't want to mess spec file with ifs, please follow PACKAGING.HOWTO:
you can link or aggregate gpg-offline from
devel:tools:building or use following trick with "osc meta prjconf":

--- Cut here ----
%if 0%{?suse_version} <= 1220
Substitute: gpg-offline
%endif

Macros:
%gpg_verify(dnf) \
%if 0%{?suse_version} > 1220\
echo "WARNING: Using %%gpg_verify macro from prjconf, not from gpg-offline package."\
gpg-offline --directory="%{-d:%{-d*}}%{!-d:%{_sourcedir}}" --package="%{-n:%{-n*}}%{!-n:%{name}}""%{-f: %{-f*}}" --verify %{**}\
%else\
echo "WARNING: Dummy prjconf macro. gpg-offline is not available, skipping %{**} GPG signature verification!"\
%endif\
%nil
-----------------

OBS-URL: https://build.opensuse.org/request/show/143882
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=96
2012-12-11 12:52:39 +00:00
Stephan Kulow
0caf5deb99 Accepting request 140034 from security
- Remove crypttab manpage, it is now provided by systemd.

OBS-URL: https://build.opensuse.org/request/show/140034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=77
2012-11-03 07:18:17 +00:00
Factory Maintainer
6a9632a0b7 osc copypac from project:home:fcrozat:branches:security package:cryptsetup revision:2
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=94
2012-11-03 07:17:34 +00:00
Stephan Kulow
8644819990 Accepting request 134107 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=76
2012-09-17 11:48:24 +00:00
9e6cb2b3b1 add reencrypt
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=92
2012-08-02 12:19:12 +00:00
7a73bec4e1 - version 1.5.0:
* Add --device-size option for reencryption tool.
  * Switch to use unit suffix for --reduce-device-size option.
  * Remove open device debugging feature (no longer needed).
  * Introduce cryptsetup-reencrypt - experimental offline LUKS reencryption tool.
  * Fix luks-header-from-active script (do not use LUKS header on-disk, add UUID).
  * Add --test-passphrase option for luksOpen (check passphrase only).
  * Introduce veritysetup for dm-verity target management.
  * Both data and header device can now be a file.
  * Loop is automatically allocated in crypt_set_data_device().
  * Require only up to last keyslot area for header device (ignore data offset).
  * Fix header backup and restore to work on files with large data offset.
  * Fix readonly activation if underlying device is readonly (1.4.0).
  * Fix keyslot removal (wipe keyslot) for device with 4k hw block (1.4.0).
  * Allow empty cipher (cipher_null) for testing.
  * Fix loop mapping on readonly file.
  * Relax --shared test, allow mapping even for overlapping segments.
  * Support shared flag for LUKS devices (dangerous).
  * Switch on retry on device remove for libdevmapper.
  * Allow "private" activation (skip some udev global rules) flag.

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=91
2012-08-01 13:39:44 +00:00
Stephan Kulow
2628b2de70 Accepting request 127439 from security
- license update: SUSE-GPL-2.0-with-openssl-exception and LGPL-2.0+
  cryptsetup developers use a special exception to link against openSSL

OBS-URL: https://build.opensuse.org/request/show/127439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=75
2012-07-10 11:39:51 +00:00
b9c271feeb cryptsetup developers use a special exception to link against openSSL
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=89
2012-07-10 06:28:35 +00:00
acdb37a416 Accepting request 127399 from home:babelworx:ldig:branches:security
license update: SUSE-GPL-2.0-with-openssl-exception and LGPL-2.0+
cryÃptsetup developers use a special exception to link against openSSL

OBS-URL: https://build.opensuse.org/request/show/127399
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=88
2012-07-09 21:33:52 +00:00
Stephan Kulow
81da93c9c6 Accepting request 125109 from security
- boot.crypto:
  * update man page to mention systemd and wiki article
  * sanitize dm target names (bnc#716240)

OBS-URL: https://build.opensuse.org/request/show/125109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=73
2012-06-15 17:39:02 +00:00
d0db1b9bba - boot.crypto:
* update man page to mention systemd and wiki article
  * sanitize dm target names (bnc#716240)

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=86
2012-06-15 12:41:51 +00:00
Stephan Kulow
96c0a437e7 Accepting request 114171 from security
- boot.crypto:
  * prefer physdev from crypttab
  * fix non-plymouth use

- new version 1.4.2
  * Fix header check to support old (cryptsetup 1.0.0) header alignment. (1.4.0)
  * Add --keyfile-offset and --new-keyfile-offset parameters to API and CLI.
  * Add repair command and crypt_repair() for known LUKS metadata problems repair.
  * Allow to specify --align-payload only for luksFormat.
  * Unify password verification option.
  * Support password verification with quiet flag if possible. (1.2.0)
  * Fix retry if entered passphrases (with verify option) do not match.
  * Support UUID=<LUKS_UUID> format for device specification.
  * Add --master-key-file option to luksOpen (open using volume key).
  * Fix use of empty keyfile.
  * Fix error message for luksClose and detached LUKS header.
  * Allow --header for status command to get full info with detached header.

- boot.crypto:
  * avoid warning about module 'kernel' (bnc#741468)
  * incorporate plymouth support

OBS-URL: https://build.opensuse.org/request/show/114171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=72
2012-04-17 19:57:44 +00:00
edec8e139d - boot.crypto:
* prefer physdev from crypttab
  * fix non-plymouth use

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=84
2012-04-17 13:04:02 +00:00
a991e23180 - new version 1.4.2
* Fix header check to support old (cryptsetup 1.0.0) header alignment. (1.4.0)
  * Add --keyfile-offset and --new-keyfile-offset parameters to API and CLI.
  * Add repair command and crypt_repair() for known LUKS metadata problems repair.
  * Allow to specify --align-payload only for luksFormat.
  * Unify password verification option.
  * Support password verification with quiet flag if possible. (1.2.0)
  * Fix retry if entered passphrases (with verify option) do not match.
  * Support UUID=<LUKS_UUID> format for device specification.
  * Add --master-key-file option to luksOpen (open using volume key).
  * Fix use of empty keyfile.
  * Fix error message for luksClose and detached LUKS header.
  * Allow --header for status command to get full info with detached header.

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=83
2012-04-16 12:23:27 +00:00
82a3543aae - boot.crypto:
* avoid warning about module 'kernel' (bnc#741468)
  * incorporate plymouth support

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=82
2012-04-16 09:57:35 +00:00
c3fe034594 osc copypac from project:security package:cryptsetup revision:79
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=81
2012-02-10 12:56:38 +00:00
1eee894b80 Accepting request 102718 from home:rjschwei:branches:security
usrMerge project - move files from toplevel to /usr

OBS-URL: https://build.opensuse.org/request/show/102718
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=80
2012-02-10 12:55:56 +00:00
Stephan Kulow
f9138e8586 Accepting request 96970 from security
Update to new upstream release 1.4.1; trim support, amongst it (forwarded request 96862 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/96970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=71
2011-12-27 17:34:50 +00:00
Cristian Rodríguez
a97c0c5911 Accepting request 96862 from home:jengelh:branches:security
Update to new upstream release 1.4.1; trim support, amongst it

OBS-URL: https://build.opensuse.org/request/show/96862
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=78
2011-12-18 20:29:05 +00:00
Stephan Kulow
dbad703ab8 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=70
2011-12-06 17:04:45 +00:00
OBS User buildservice-autocommit
6b18da047e Updating link to change in openSUSE:Factory/cryptsetup revision 70.0
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=7a60ed36764274731cb599e831d681e2
2011-12-06 17:04:45 +00:00
Stephan Kulow
f208e0a54e Accepting request 89562 from security
- on update convert noauto to nofail and turn on fsck (bnc#724113)

- cryptsetup-boot: Rescan LVM volumes after opening crypto (bnc#722916).

OBS-URL: https://build.opensuse.org/request/show/89562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=69
2011-10-27 17:32:11 +00:00
29279bfec8 - on update convert noauto to nofail and turn on fsck (bnc#724113)
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=75
2011-10-27 15:53:38 +00:00
ec1a451c86 - cryptsetup-boot: Rescan LVM volumes after opening crypto (bnc#722916).
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=74
2011-10-10 09:36:11 +00:00
Lars Vogdt
e059b6170b Accepting request 86094 from security
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages (forwarded request 85975 from coolo)

OBS-URL: https://build.opensuse.org/request/show/86094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=67
2011-10-03 07:15:12 +00:00
Cristian Rodríguez
bc5d6c42fb Accepting request 85975 from home:coolo:removelibtool
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages

OBS-URL: https://build.opensuse.org/request/show/85975
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=72
2011-10-02 15:40:14 +00:00
Sascha Peilicke
65c857d3b3 Accepting request 84790 from security
- Remove redundant tags/sections from specfile (forwarded request 83185 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=66
2011-09-26 08:30:03 +00:00
f790952036 Accepting request 83185 from home:jengelh:bl-c
- Remove redundant tags/sections from specfile

OBS-URL: https://build.opensuse.org/request/show/83185
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=70
2011-09-26 07:42:42 +00:00
Sascha Peilicke
44bef5e516 Autobuild autoformatter for 71707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=65
2011-05-30 07:29:48 +00:00
OBS User buildservice-autocommit
de1ff3a167 Updating link to change in openSUSE:Factory/cryptsetup revision 65.0
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=e77b1300699558a088b4a7760d5d9906
2011-05-30 07:29:48 +00:00
Sascha Peilicke
2a2f4e8ad4 Accepting request 71707 from security
- boot.crypto:
  * don't hard require boot.device-mapper in boot.crypto

OBS-URL: https://build.opensuse.org/request/show/71707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=64
2011-05-30 07:29:37 +00:00
2d76387d91 - boot.crypto:
* don't hard require boot.device-mapper in boot.crypto

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=68
2011-05-27 13:21:11 +00:00
Sascha Peilicke
eac04c2afa Accepting request 71270 from security
- new version 1.3.1:
 * Fix keyfile=- processing in create command (regression in 1.3.0).
 * Simplify device path status check (use /sys and do not scan /dev).
 * Do not ignore device size argument for create command (regression in 1.2.0).
 * Fix error paths in blockwise code and lseek_write call.

OBS-URL: https://build.opensuse.org/request/show/71270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=63
2011-05-26 08:29:49 +00:00
715a5bf4de Accepting request 71223 from home:lnussel:Factory
- new version 1.3.1:
 * Fix keyfile=- processing in create command (regression in 1.3.0).
 * Simplify device path status check (use /sys and do not scan /dev).
 * Do not ignore device size argument for create command (regression in 1.2.0).
 * Fix error paths in blockwise code and lseek_write call.

OBS-URL: https://build.opensuse.org/request/show/71223
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=66
2011-05-25 11:15:26 +00:00
Sascha Peilicke
2e4638fd93 Accepting request 66862 from security
Accepted submit request 66862 from user coolo

OBS-URL: https://build.opensuse.org/request/show/66862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=62
2011-04-12 10:02:23 +00:00
Cristian Rodríguez
88eca89303 Accepting request 66851 from home:lnussel:Factory
OBS-URL: https://build.opensuse.org/request/show/66851
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=64
2011-04-11 14:45:23 +00:00
Ruediger Oertel
2f6f1fb72f Autobuild autoformatter for 61554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=61
2011-02-18 11:14:10 +00:00
OBS User buildservice-autocommit
fd1e4bf861 Updating link to change in openSUSE:Factory/cryptsetup revision 61.0
OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=e7b4d1bf326c00a63702bd613fdbe3fe
2011-02-18 11:14:10 +00:00