Hiroshi Takekawa
b4181ffa3b
po: update ja.po (from translationproject.org)
2021-09-07 12:41:48 +02:00
Frédéric Marchal
8c0caf9a1f
po: update fr.po (from translationproject.org)
2021-09-07 12:41:48 +02:00
Roland Illig
d2682c4841
po: update de.po (from translationproject.org)
2021-09-07 12:41:48 +02:00
Petr Pisar
39ddcfaaa0
po: update cs.po (from translationproject.org)
2021-09-07 12:41:48 +02:00
Milan Broz
669ad1933a
Fix possible use of unallocated parameter.
...
(Introduced in previous patches.)
2021-08-30 12:39:17 +02:00
Milan Broz
84fa6ffbde
Remove some Doxygen docs warnings.
2021-08-30 12:32:42 +02:00
Milan Broz
2206f7f108
Prepare version for translation.
2021-08-30 11:57:11 +02:00
JT Moree
ec946b17eb
add headers
...
add headers for Help: documentation and mailing list
2021-08-27 14:39:03 +00:00
JT Moree
a619cc1757
rename reference to specifications
2021-08-27 14:39:03 +00:00
JT Moree
6c3e2e2bee
rework Help section
2021-08-27 14:39:03 +00:00
Ondrej Kozina
621dcea8ee
Do not init LUKS2 decryption for devices with data offset.
...
Currently LUKS2 decryption cannot perform data decryption
with data shift. Even though we can decrypt devices with
data offset > 0 in LUKS2 metadata it does not make much
sense. Such devices cannot be easily mounted after decryption
is finished due to said data offset (fs superblock is moved
typicaly by 16MiBs).
2021-08-27 16:26:37 +02:00
Milan Broz
f6fb530121
Repair also lowercase hash in LUKS1 header.
...
This patch removes magic for backup load that quietly
run lowecase conversion and add this possibility to repair command.
Most of crypto backends allow uppercase though.
2021-08-25 16:45:00 +00:00
Milan Broz
0066f9dd83
Fix LUKS1 repair to repair wrong ECB mode.
...
1) Crypsetup repair should try to call crypt_repair() even
if crypt_load is ok - it has no validate system unlike LUKS2
and some errors cannot be hard load errors.
2) Move ECB fix to repair code, do not try magic on load that
no longer works.
And do not use ECB :)
Fixes : #664
2021-08-25 16:45:00 +00:00
Ondrej Kozina
46b70d7317
Add error message when assigning token to inactive keyslot.
...
While adding or importing new token and assigning immediately to
keyslot it would be useful to provide specific error message
directly from cryptsetup utility when keyslot does not exist.
2021-08-25 16:11:00 +00:00
Milan Broz
8c28774917
Fix vector test print message additional parameter.
2021-08-25 18:09:56 +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
5f2c751dd8
Use dlsym() for token load if dlvsym() is not available.
...
To be discussed. Anyway, we need to support distros with musl...
2021-08-25 13:39:07 +02:00
Ondrej Kozina
53b22cc32e
Fix deferred remove test failure on non-udev systems.
...
Deferred remove non-udev enabled libdevmapper removes
device mapper symlinks immediately. We have to check
device size from sysfs attributes.
2021-08-25 13:39:03 +02:00
Milan Broz
26679e223c
Trigger read event for verity test to mark device as corrupted.
...
If distro does not use udev/blkid, there is no IO event after activation.
Kernel does not mark the device corrupted then (it happens on the
first IO). Just add a simple read to trigger it.
2021-08-25 13:38:58 +02:00
Milan Broz
9b7d3be5c6
Skip UUID= cryptsetup activation test if /dev has no uuid links.
...
There are still distros that tries to reinvent the wheel, let just
ignore if /dev is not propagated by symlinks that we depend on.
2021-08-25 13:38:54 +02:00
Milan Broz
358dec19b2
Use compatible flags for BusyBox diff command.
2021-08-25 13:38:50 +02:00
Milan Broz
863fd08305
Skip test if incompatible tar from BusyBox is installed.
...
We depend on sparse images that BusyBox tar cannot handle.
Just install the full tar package for tests.
2021-08-25 13:38:46 +02:00
Milan Broz
93481d1566
Use compatible flags for BusyBox free command.
2021-08-25 13:38:41 +02:00
Milan Broz
3a79b2b09b
Fix gettext (-lintl) linker flags.
...
The external gettext library should be used on main libcryptsetup,
not later for programs (these do not call any translations).
(Also it was in the wrong order there failing compilation.)
2021-08-25 13:38:23 +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
e008a88b98
Test Coverity action.
2021-08-19 14:29:53 +02:00
Milan Broz
5efa782567
Ignore default algorithm test in FIPS mode.
...
This can cause unexpected failures (despite it is kind of misconfiguration).
2021-08-19 13:36:13 +02:00
Milan Broz
ab37ad0dc9
Update doxyfile.
2021-08-19 10:31:21 +02:00
Milan Broz
03208167b2
Fix release notes.
2021-08-18 17:19:50 +02:00
Milan Broz
0f8e7f317f
Version 2.4.0.
v2.4.0
2021-08-18 16:50:50 +02:00
Milan Broz
c5b0a4dd32
Remove Travis CI config. So long, and thanks for all the builds.
2021-08-18 16:01:36 +02:00
Ondrej Kozina
5c5551d1d3
Update release notes.
2021-08-18 15:11:18 +02:00
Vojtech Trefny
aa324567a8
ssh-plugin-test: Fix running the test in GitHub actions
2021-08-18 14:18:55 +02:00
Milan Broz
0ee752c42d
Update 2.4.0 release notes.
2021-08-18 14:09:32 +02:00
Milan Broz
4746717b75
Update Fedora spec.
...
Rebuild configure suite locally, so we do not need to patch generated
scripts because of RPATH issues.
2021-08-18 14:02:28 +02:00
Milan Broz
3ad942e338
Add autogen.sh to distributions.
...
Allow dowsntream packagers to rebuild the whole buildsystem.
2021-08-18 14:01:09 +02:00
Milan Broz
b5190da581
Update cryptsetup.pot.
2021-08-18 14:00:29 +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
63adb3b0cf
Fix LDFLAGS for all-symbols-test.
...
Option -ldl is for LDFLAGS, not for CFLAGS (fixes clang warning).
2021-08-17 21:45:49 +02:00
Milan Broz
20774374a9
Fail if default compiled hash is not implemented.
...
If crypto backend does not provide configured hash,
fail crypto backend tests.
(User has to use configure option if backend does not provide seclected algorithm.)
Seen recently with RIPEMD160.
Note: NSS does not provide RIPEMD, use --with-plain-hash etc.
2021-08-17 19:16:35 +00:00
Milan Broz
d169020001
Limit GitLab CI only to parent cryptsetup project.
2021-08-17 18:22:21 +02:00
Yuri Chornoivan
76766f11c0
po: update uk.po (from translationproject.org)
2021-08-17 13:48:13 +02:00
Мирослав Николић
5d6d65ce86
po: update sr.po (from translationproject.org)
2021-08-17 13:48:13 +02:00
Yuri Kozlov
24ab0871e7
po: update ru.po (from translationproject.org)
2021-08-17 13:48:13 +02:00
Jakub Bogusz
11e325a112
po: update pl.po (from translationproject.org)
2021-08-17 13:48:13 +02:00
Hiroshi Takekawa
6ea32db1fa
po: update ja.po (from translationproject.org)
2021-08-17 13:48:13 +02:00
Frédéric Marchal
49c8a8b9ef
po: update fr.po (from translationproject.org)
2021-08-17 13:48:13 +02:00
Roland Illig
a480c388b8
po: update de.po (from translationproject.org)
2021-08-17 13:48:13 +02:00