Milan Broz
70a69b5059
Fix luks2-external-tokens-path option for meson
...
The variable was never called default-* in autoconf,
name is the same.
Morever, it defines unneeded DEFAULT_* entry in config.h.
2025-08-01 15:27:27 +02:00
Milan Broz
32e9bed060
Fix wrongly generated config.h paths
...
For some reason, external token path and tmpfilesdir uses a macro
that generates entry in config.h, producing these #defines:
DEFAULT_LUKS2_EXTERNAL_TOKENS_PATH
DEFAULT_TMPFILESDIR
Neiter one is used in C code, moreover, definitions are wrong,
as variables are modified after entry is pushed to config.
Remove the macro call and use AC_ARG_WITH directly.
2025-08-01 15:27:27 +02:00
Milan Broz
12eaacaaaf
Do not try to install tmpfiles in system path if $prefix is set
...
If cryptsetup is being installed to different directory using --prefix
configure switch, it tyries to use absolute system path (and fails).
Let's instruct pkgconfig to return proper prefixed tmpfiles variable.
2025-08-01 15:27:27 +02:00
Milan Broz
d0312d6c34
man: Install fvault2Open man page in Meson.
2025-08-01 15:27:27 +02:00
Milan Broz
4a67af439e
Do not silently decrease PBKDF parallel cost (threads)
...
The maximum parallel cost is set since the introduction of Argon2 to 4.
Do not silently decrease the value (if explicitly set by the option)
but fail instead.
2025-08-01 12:31:02 +02:00
Vojtech Trefny
d77ece493d
tests: Add BitLocker image with multibyte character in passphrase
2025-07-30 13:43:14 +02:00
Vojtech Trefny
04d307d9c0
bitlk: Fix unlocking bitlocker with multibyte utf8 characters
...
Fixes : #950
Co-authored-by: Thomas Lidén
2025-07-30 13:43:14 +02:00
Ondrej Kozina
6c7c8d36bb
Fix bug in parsing of tcrypt device in crypt_init_by_name.
...
When TCRYPT subdevices was moved to use SUBDEV dm uuid prefix
we did not correctly modified the TCRYPT_status_one routine
to correctly expect the SUBDEV uuid prefix.
Fixes: cf630f578d
Fixes : #952 .
2025-07-29 13:49:37 +02:00
Ondrej Kozina
b6ddaa40bf
Refactor tcrypt subdev check in a helper routine.
...
Add comments what parts will be removed later.
2025-07-29 13:49:37 +02:00
Funda Wang
1c75cd0dc4
meson: install binaries
2025-07-29 12:23:22 +02:00
Milan Broz
267de08586
man: Try to explain PBKDF hardcoded limits.
2025-07-29 09:14:56 +02:00
Milan Broz
e0a5fb2c25
man: Add better explanation for automatic integrity tag recalculation.
2025-07-29 09:14:56 +02:00
Milan Broz
b995ab243c
man: Mention crypt/verity/integritytab.
2025-07-29 09:14:56 +02:00
Milan Broz
a498757fd4
man: Use *WARNING* only for serious issues.
...
Use highlighted warning only for possibility of data loss or serious security issues.
No need to scary people everywhere :)
2025-07-29 09:14:56 +02:00
Milan Broz
349912fec2
man: Do not use *NOTE*, it is just a normal description.
2025-07-29 09:14:56 +02:00
Milan Broz
b0e3b94839
man: Remove mentions about archeologic kernel 2.6 and kernel 4.x
2025-07-29 09:14:56 +02:00
Milan Broz
c66c520e26
man: Always mention <options> as the last paragraph.
...
Move all notes and warnings to description text.
Refine some small clarification.
Do not use NOTE/WARNING unless there is a serious reason (data loss).
2025-07-29 09:14:56 +02:00
Milan Broz
2c95933bb5
man: Clarify that commands do not wipes data, unify OPAL reset wording.
2025-07-29 09:14:56 +02:00
Milan Broz
bc1b149ee4
man: Better mark option --align-payload as deprecated.
2025-07-29 09:14:56 +02:00
Milan Broz
55272bee98
man: Make --sector-size option description more clear.
2025-07-29 09:14:56 +02:00
Milan Broz
9590d6fe62
man: Clarify --label option.
2025-07-29 09:14:56 +02:00
Milan Broz
5af06cb6cc
man: Weaken warning about /dev/urandom as recent kernels behave much better.
2025-07-29 09:14:56 +02:00
Milan Broz
a9e245f68c
man: Update and clarify cryptsetup man page notes.
2025-07-29 09:14:56 +02:00
Milan Broz
74a4de9fdd
man: Unify tools description and add some context.
2025-07-29 09:14:56 +02:00
Milan Broz
2d4c40e627
CI: update gcc explicitly on Alpine Linux
2025-07-28 22:27:07 +02:00
Milan Broz
2cf4c9a360
man: Avoid forced line breaks where not necessary.
2025-07-17 15:18:21 +02:00
Milan Broz
360f85dde7
man: Grammar and simple stylistic fixes.
...
This is based mainly on Grammarly.
It unifies man pages to at least some level of grammar,
so later we can focus on adding more readable content.
2025-07-17 15:01:39 +02:00
Milan Broz
1438140ce3
man: Do not wrap sentences in man pages.
...
This helps to use external tools for language checking.
2025-07-17 12:38:17 +02:00
Milan Broz
a52e1aadca
man: unify formatting of options
...
- do not use bold if option is the text
- unify argument format
- do not highlight obsolete syntax
2025-07-17 11:51:18 +02:00
Milan Broz
19a4f53c07
man: Do not use bold font in text/URL to avoid format issues.
2025-07-17 11:39:57 +02:00
Milan Broz
8a73750ba9
doc: Mention Asciidoctor in Readme required packages.
2025-07-14 10:55:56 +02:00
Ondrej Kozina
db720abcc3
ci: enable systemd-test-plugin on Rawhide.
2025-06-26 16:24:04 +02:00
Ondrej Kozina
ebbecb6df0
Drop unused variable in systemd-test-plugin.
2025-06-26 14:38:08 +02:00
Ondrej Kozina
830bd02160
tests: enable systemd-tpm2 test to run with default system path.
...
If run in Makefile.localtest there was unset CRYPTSETUP_TOKENS_PATH.
It's valid test case to run with systemd-tpm2 plugin installed on
the system (integration tests).
2025-06-26 14:34:23 +02:00
Milan Broz
ea96360efc
Include fuzz/meson.build in release
...
Fixes : #949
2025-06-25 21:10:27 +02:00
Milan Broz
eb9f0a63b8
Set devel version.
2025-06-25 21:09:33 +02:00
Milan Broz
13306948c8
Version 2.8.0.
v2.8.0
2025-06-24 09:30:17 +02:00
Vojtech Trefny
cdc451a61a
Fix expected keyslot context for LUKS1 activate_by_keyring
2025-06-23 14:22:13 +02:00
Ondrej Kozina
04ca5087f8
man: Add cryptsetup-reencrypt token usage examples.
2025-06-23 14:10:16 +02:00
Milan Broz
2262641c74
tests: Reinitialize integrity device after inline test
2025-06-22 09:35:39 +02:00
Milan Broz
232ba8dd3a
Add missing crypto backend init in crypt_format_inline.
...
This triggers abort() in various crypto backends.
2025-06-22 09:35:18 +02:00
Antonio Ceballos
3490944c27
po: update es.po (from translationproject.org)
2025-06-18 11:53:22 +02:00
Petr Pisar
e8c32e5c41
po: update cs.po (from translationproject.org)
2025-06-18 11:53:22 +02:00
Milan Broz
ccc9a977f7
tests: Use truncate and detect failure.
...
The fallocate can fail, while it has -x option,
we user truncate in different tests, so switch to it.
Also fail early if truncate fails.
2025-06-18 10:10:52 +02:00
Yuri Chornoivan
a0929f67f1
po: update uk.po (from translationproject.org)
2025-06-17 14:46:59 +02:00
Marián Haburaj
e57f1b3dd8
po: update sk.po (from translationproject.org)
2025-06-17 14:46:59 +02:00
Remus-Gabriel Chelu
e9a20ad3dc
po: update ro.po (from translationproject.org)
2025-06-17 14:46:59 +02:00
Jakub Bogusz
f3d348776d
po: update pl.po (from translationproject.org)
2025-06-17 14:46:59 +02:00
Hiroshi Takekawa
e9c626cccd
po: update ja.po (from translationproject.org)
2025-06-17 14:46:59 +02:00
Frédéric Marchal
ef592405dd
po: update fr.po (from translationproject.org)
2025-06-17 14:46:59 +02:00