Ondrej Kozina
957c58db41
Remove cryptsetup-reencrypt from the project.
2021-11-24 19:58:57 +01:00
Milan Broz
bfc39f68d8
Set devel version.
2021-11-19 14:36:47 +01:00
Milan Broz
ff51d5a8fa
Version 2.4.2.
2021-11-18 11:35:45 +01:00
Milan Broz
e03f3bb36e
Set devel version.
2021-11-01 17:11:33 +01:00
Milan Broz
8a0682650e
Version 2.4.1.
2021-09-15 11:29:09 +02:00
Milan Broz
2206f7f108
Prepare version for translation.
2021-08-30 11:57:11 +02:00
Milan Broz
e5d84156e4
Fix linker to use -ldl if external tokens are used.
...
Also run check for symbols only if external modules are really used.
2021-08-25 13:50:33 +02:00
Milan Broz
246d306eeb
Check for argp library that can be standalone.
...
Some systems without glibc provides standalone package for argp.
2021-08-25 13:37:33 +02:00
Milan Broz
03943acbb1
Remove obsolete AC_HEADER_STDC macro.
...
This should be no longer used.
We do not support systems without standard headers anyway.
2021-08-25 13:37:29 +02:00
Milan Broz
20b678c9f3
Fix symbol version test if dlvsym() is not available.
...
If we have no dlvsym(), just run dlsym() test.
2021-08-25 13:37:25 +02:00
Milan Broz
0f8e7f317f
Version 2.4.0.
2021-08-18 16:50:50 +02:00
Ondrej Kozina
5fa8e84ef0
Also install directory for external plugins.
...
And remove custom target from reference .spec file.
2021-08-18 12:08:14 +02:00
Milan Broz
6a64c2e932
Prepare 2.4.0-rc1 version.
2021-07-29 23:18:59 +02:00
Milan Broz
508284cd28
Support build with older libssh.
...
The function ssh_session_is_known_server() was introduced later,
fallback to older version if libssh is available.
2021-07-25 21:57:09 +02:00
Milan Broz
f8caa82186
Prepare version 2.4.0-rc0.
2021-07-02 12:02:39 +02:00
Vojtech Trefny
ca2e93b69d
token ssh: Use autotools magic when linking libssh
2021-06-29 15:11:46 +02:00
Ondrej Kozina
5b9e98f941
Change external token handlers (plugins) default location.
...
Search for token handlers in %{libdir}/cryptsetup directory
by default. Distros may change default location via
--with-luks2-external-tokens-path parameter during configuration.
2021-06-24 12:54:13 +02:00
Milan Broz
db77541790
Switch to Argon2id as default PBKDF for LUKS2.
...
Cryptsetup LUKS2 was using Argon2 while there were two versions -
data independt (Argon2i) suitable for the KDF use case andm Argon2d
(data dependent), that is in princile unsuitable for LUKS2.
Later a new version Argon2id was introduced and this is now default
(and mandatory) algorithm as RFC Argon2 draft defines.
While Argon2id basically combines both approaches from Argon2i
and Argon2d (to provide bette side-channel resistence) it seems
reasonable to switch to Argon2id as default.
Fixes : #555
2021-06-22 13:08:50 +00:00
Milan Broz
06fff68255
Enable build of LUKS2 external tokens by default.
...
Also fail if ssh token is enabled and external token support is disabled.
Use --disable-external-tokens and --disable-ssh-token if needed.
2021-06-17 11:09:20 +00:00
Milan Broz
351d7fefca
integritysetup: mention maximal allowed key size
...
The error message and man page should contain this information.
2021-05-18 16:35:41 +02:00
Milan Broz
a7872ab856
Fix description of maximum passphrase size.
2021-05-18 16:35:36 +02:00
Milan Broz
d4cd675f33
Remove redundant plain-text README and other unused files.
...
Use README.md everywhere now.
2021-03-17 13:01:13 +01:00
Dmitry V. Levin
cb9cb7154d
Update libpasswdqc support
...
Starting with version 2.0.0, libpasswdqc can use memory allocation
when loading configuration that contains new optional parameters.
It's therefore recommended to free all memory allocated by
passwdqc_params_load using new passwdqc_params_free function
introduced in the same version of libpasswdqc.
[slightly modified by mbroz]
2021-03-11 11:24:08 +01:00
Milan Broz
89b3105493
Add example SSH token handler.
...
Provides example of loadable token handler for activation
json validation and metadata dump.
For creating new ssh example token use special cryptsetup-ssh
binary.
2021-02-03 11:43:04 +00:00
Ondrej Kozina
b7c1f1e13d
Revert libcryptsetup_cli.
...
This reverts mostly these commits:
42692418c2
a985c12659
The library was ment to export common functions shared by
all cryptsetup tools and planned LUKS2 tokens plugins.
It is no longer needed.
2021-01-19 10:50:01 +01:00
Ondrej Kozina
a985c12659
WIP: Introduce libcryptsetup_cli.
...
Introducing new library supposed to be used in
cryptsetup tools and future cryptsetup loadable plugins
TODO:
- distribution
- cleanup header files
- incorporate also plugin API?
2020-08-15 15:24:18 +02:00
Milan Broz
cb183de1da
Add configure option for LUKS2 external tokens lib.
...
This is an experimental extension that is disabled for now.
2020-08-11 17:59:51 +02:00
Milan Broz
876ca59234
Set devel version.
2020-05-31 20:26:20 +02:00
Milan Broz
74e94e7bdd
Prepare version 2.3.3.
2020-05-28 11:26:27 +02:00
Milan Broz
e1ceb63023
Set devel version.
2020-05-15 10:43:52 +02:00
Milan Broz
780ebb4680
Version 2.3.2.
2020-04-30 16:56:53 +02:00
Milan Broz
33378792ca
Prepare rc0 for version 2.3.2.
2020-04-17 10:48:04 +02:00
Milan Broz
9d13da0050
Set devel version.
2020-03-23 18:46:28 +01:00
Milan Broz
1f7ed87e6c
Prepare version 2.3.1.
2020-03-12 09:39:20 +01:00
Milan Broz
fa125a354d
Set version to 2.3.1-rc0.
2020-03-08 10:56:09 +01:00
Milan Broz
05d45c6948
Check for dm_device_get_name.
...
And fail dependency scan if not available.
Currently this call uses syfs DM extensions, these are
usually not available anyway on such old systems.
2020-02-21 12:13:04 +01:00
Milan Broz
329f6562c2
Add autoconf check for O_CLOEXEC.
2020-02-21 10:08:17 +01:00
Milan Broz
3e237cb490
Detect separate libiconv library.
...
This patch should fix compilation issues on distributions with
iconv implemented in a separate library (instead libc internally).
2020-02-21 08:20:14 +01:00
Milan Broz
d3d1e30c7c
Prepare version 2.3.0.
2020-02-02 16:58:29 +01:00
Milan Broz
1ddc098e43
Prepare version 2.3.0-rc0.
2020-01-12 12:14:27 +01:00
Milan Broz
6920f9dc27
Set devel version.
2019-11-05 17:56:58 +01:00
Milan Broz
c82728f04d
Version 2.2.2.
2019-11-01 09:02:46 +01:00
Milan Broz
cc0d33bca7
Fix DM_DEVICE_GET_TARGET_VERSION detection.
...
Stable libdevampper used changed name for dm task, let's fix it.
2019-10-31 20:35:46 +01:00
Milan Broz
c81becf10d
Prepare version tag, and sync po files.
...
(For some reason I unsynced all po files again,
this patch reverts them to the translationproject versions...)
2019-10-18 10:52:33 +02:00
Milan Broz
15f5126296
Support new DM_GET_TARGET_VERSION ioctl.
...
This way we can load kernel device-mapper target module before
table create ioctl.
Target version is available since kernel 5.4.
2019-10-08 14:05:30 +02:00
Milan Broz
0395e8935a
Version 2.2.1.
2019-09-06 11:21:15 +02:00
Milan Broz
af0c5c3ccb
Set version to 2.2.1-rc0.
2019-08-30 13:15:17 +02:00
Milan Broz
686744e48e
Prepare version 2.2.0.
2019-08-14 20:38:23 +02:00
Milan Broz
961cc6a6d3
Prepare version 2.2.0-rc1.
2019-06-14 08:20:04 +02:00
Milan Broz
b3e90a93b0
Add test release notes and increase ABI version.
2019-05-03 12:57:29 +02:00