Guilhem Moulin
3106b4e2c1
More typo and spelling fixes.
...
Reported by `git ls-tree -rz --name-only | grep -Evz -e '\.(pdf|xz)$' -e
^po/ | xargs -r0 spellintian --`. All changes are
documentation-related (comments, manuals, etc.) except for s/fial/fail/
in tests/unit-wipe-test.
The remaining entry are AFAICT all false positives, mostly annotations
such as `@param name name of xyz` or `struct foo foo`:
$ git ls-tree -rz HEAD --name-only | grep -Evz -e '\.(pdf|xz)$' -e ^po/ | xargs -r0 spellintian --
COPYING.LGPL: "GNU Library Public License" -> "GNU Library General Public License"
autogen.sh: echo echo (duplicate word) -> echo
configure.ac: fi fi (duplicate word) -> fi
docs/v1.7.2-ReleaseNotes: option option (duplicate word) -> option
lib/crypto_backend/cipher_check.c: block block (duplicate word) -> block
lib/libcryptsetup.h: name name (duplicate word) -> name
lib/libcryptsetup.h: type type (duplicate word) -> type
lib/libcryptsetup.h: passphrase passphrase (duplicate word) -> passphrase
lib/libcryptsetup.h: flags flags (duplicate word) -> flags
lib/libcryptsetup.h: password password (duplicate word) -> password
lib/libcryptsetup.h: salt salt (duplicate word) -> salt
lib/libcryptsetup.h: keyslot keyslot (duplicate word) -> keyslot
lib/libcryptsetup.h: priority priority (duplicate word) -> priority
lib/libcryptsetup.h: offset offset (duplicate word) -> offset
lib/libcryptsetup.h: length length (duplicate word) -> length
lib/libcryptsetup.h: keyfile keyfile (duplicate word) -> keyfile
lib/libcryptsetup.h: token token (duplicate word) -> token
lib/libcryptsetup.h: cipher cipher (duplicate word) -> cipher
lib/libcryptsetup.h: size size (duplicate word) -> size
lib/luks2/luks2_json_metadata.c: long long (duplicate word) -> long
lib/luks2/luks2_keyslot_luks2.c: AFEKSize AFEKSize (duplicate word) -> AFEKSize
lib/luks2/luks2_reencrypt.c: alignment alignment (duplicate word) -> alignment
lib/luks2/luks2_reencrypt_digest.c: ptr ptr (duplicate word) -> ptr
lib/luks2/luks2_reencrypt_digest.c: buffer buffer (duplicate word) -> buffer
lib/luks2/luks2_segment.c: min min (duplicate word) -> min
lib/verity/verity_fec.c: blocks blocks (duplicate word) -> blocks
man/cryptsetup.8.adoc: LUKS LUKS (duplicate word) -> LUKS
scripts/cryptsetup.conf.in: root root (duplicate word) -> root
src/Makemodule.am: endif endif (duplicate word) -> endif
src/cryptsetup.c: long long (duplicate word) -> long
src/utils_args.c: long long (duplicate word) -> long
tests/compat-test2: fi fi (duplicate word) -> fi
tests/device-test: echo echo (duplicate word) -> echo
tests/differ.c: long long (duplicate word) -> long
tests/loopaes-test: done done (duplicate word) -> done
tests/luks2-integrity-test: aead aead (duplicate word) -> aead
tests/luks2-reencryption-test: fi fi (duplicate word) -> fi
tests/mode-test: done done (duplicate word) -> done
tests/password-hash-test: cat cat (duplicate word) -> cat
tests/password-hash-test: fi fi (duplicate word) -> fi
tests/unit-wipe.c: long long (duplicate word) -> long
tests/verity-compat-test: done done (duplicate word) -> done
tests/verity-compat-test: fi fi (duplicate word) -> fi
tokens/ssh/cryptsetup-ssh.c: argp argp (duplicate word) -> argp
tokens/ssh/cryptsetup-ssh.c: arguments arguments (duplicate word) -> arguments
(Treated COPYING.LGPL as a false positive too since it's the exact text
from https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html .)
2022-07-15 16:35:02 +02:00
daniel.zatovic
8eff391a66
Regenerate manual pages using AsciiDoctor in spec file.
2022-07-13 21:08:17 +02:00
daniel.zatovic
dae6aa0384
Obsolete cryptsetup-reencrypt and add manual pages to spec file.
...
The cryptsetup-reencrypt utility is now replaced by reencrypt action.
New per-action manual pages have been added.
2022-07-13 21:08:15 +02:00
Milan Broz
aa126ac10a
Remove dracut plugin that is obsolete and will not work with current reencrypt code.
2022-07-12 17:58:48 +00: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
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
Ondrej Kozina
c35b896209
cryptsetup.spec: remove .la file from plugins build dir.
2021-06-30 12:41:42 +02:00
Ondrej Kozina
95eb986206
Few fixes to ssh-token and related spec file.
2021-06-30 09:37:50 +02:00
Vojtech Trefny
b4670ce7f0
ssh token: Change license to LGPL
...
The cryptsetup-ssh binary stays under GPL.
2021-06-29 16:19:04 +02:00
Vojtech Trefny
eadbcac115
ssh token: Add man page for cryptsetup-ssh
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
fc6982f577
Add spec file for Fedora.
...
Spec file will be needed for some automoatic tests.
THis is simplified version with some obsolete provides removal (cryptsetup-luks).
2021-06-18 09:47:02 +02:00
Vojtech Trefny
9125df1398
misc: Remove LUKS2 SSH token example
...
The SSH plugin in tokens/ssh replaces it.
2021-06-16 12:30:53 +02: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
Milan Broz
d1d9dd8e20
Update Copyright year.
2021-01-25 22:00:25 +01:00
Milan Broz
080566a1fd
Update copyright year.
2020-01-03 13:04:55 +01:00
Milan Broz
a6f5ce8c7b
Update copyright year.
...
And unify name copyright format.
2019-01-25 09:45:57 +01:00
Ondrej Kozina
7de815e957
Silence annoying shell checks for dracut module.
...
Also fixes one theoretical issue with 'local' keyword for
any (if any) POSIX-strictly shell.
2018-12-12 15:08:06 +01:00
Rafael Fontenelle
f35ec9771e
Fix typos
...
A bunch of typos reported by codespell, most of them comments in the code
2018-07-21 07:24:25 -03:00
Ondrej Kozina
8ea6b3eebd
Redirect stdout to stderr during reencryption in initrd.
...
Stdout is not printed in initrd unless user invokes debug mode.
It's inconvenient to have users waiting for reencryption to
finish with no input at all.
2018-07-21 11:28:41 +02:00
Ondrej Kozina
1b9148f12f
dracut-reencrypt: add --progress-frequency parameter
2018-07-18 11:56:04 +02:00
Milan Broz
6ddf765d8d
Remove example covered by cryptsetup already.
2018-04-19 18:29:26 +02:00
Milan Broz
1fe014dbae
Update copyright year.
2018-01-20 17:55:21 +01:00
Andrea Gelmini
a97de38b6b
Fix typos.
2017-11-08 10:22:49 +01:00
Milan Broz
dd397a9957
Fix Makefile example after automake changes.
2017-10-29 16:31:49 +01:00
Milan Broz
9bbc13f256
Add LUKS2 examples.
...
Signed-off-by: Milan Broz <gmazyland@gmail.com >
2017-09-27 07:46:41 +02:00
Harald Hoyer
1691282314
dracut-reencrypt: call "udevadm settle" once more
...
Somehow testing in qemu resulted sometimes in an endless loop.
Either the timing or the settle fixed the issue.
When the VM was in an endless loop, an strace showed, that the first 512
and 1024 of the crypt partition was read over and over. Either it was
the udev blkid, or some device mapper udev rule.
Maybe the reencrypt tool opens and closes the device fd, where the close
triggers a udev blkid and causes the reencrypt tool to reread the device...
Anyhow.. with this settle the issue was not seen anymore.
2017-04-26 10:50:44 +02:00
Harald Hoyer
3d6bb53b31
dracut-reencrypt: add UUID handling to rd.luks.reencrypt=
...
This patch adds a udev rule, so that you can specify
rd.luks.reencrypt=<UUID> instead of rd.luks.reencrypt=<devname>
It also moves the job to the "settled" queue, which means, that it is
executed after udev has settled.
2017-04-26 10:50:41 +02:00
Harald Hoyer
6a8a6aea54
dracut-reencrypt: add finished hook
...
A finished hook prevents dracut-initqueue from exiting and lets it
finish the batched jobs. Without a "finished hook" and without
"root=<dev>" on the kernel command line, the reencrypt job would not be
executed.
Normally you want to reencrypt without a "root=<dev>" on the kernel
command and want to reboot after the reencrypt job is done.
This patch adds the missing "finished hook".
2017-04-26 10:50:36 +02:00
Ondrej Kozina
1b7799cb1d
dracut_90reencrypt: fix warns reported by static analysis
...
- moddir is assigned in parent script run by dracut (warning was
silenced)
- fix defect wrt to assignement and making variable local on
same line. The variable cwd was first assigned by subshell
and later any error originating in subshell was masked by
making the variable local (which returns always 'true')
2016-04-25 15:47:18 +02:00
Ondrej Kozina
2c072eb6b6
Clarify the reencrypt_keyslot= option
2016-02-21 18:48:49 +01:00
Milan Broz
78f938b0e9
Add old cryptsetup udev rules (for archive reasons).
...
Do not install these until you know what are you doing.
2014-02-05 17:22:07 +01:00
Ondrej Kozina
e52d5f3d98
90reencrypt fixes:
...
- add loop module to initramfs image
- modprobe loop before reencrypt start
- add rd.luks.reencrypt_keyslot=
- add conflict with dracut crypt module
- drop to emergency_shell after reencryption
2013-11-10 17:38:11 +01:00
wagner
cbfd48d949
Fixed the buit instruction
...
Improved example
2013-03-23 16:00:58 +01:00
Milan Broz
29f21208a0
Change License from GPLv2 only to GPLv2+ ("or any later").
...
Agreed by all copyright authors.
2012-12-29 11:33:54 +01:00
Milan Broz
099a2b9d17
Add TCRYPT password search example.
2012-12-29 11:12:29 +01:00
Milan Broz
193402ad41
Check read & seek return codes, use uint64 offset.
...
Signed-off-by: Arno Wagner <wagner.arno@gmail.com >
Signed-off-by: Milan Broz <gmazyland@gmail.com >
2012-10-12 13:18:22 +02:00
Arno Wagner
1b86b7cb4b
added keyslot checker Redesigned to only use public definitions
...
Signed-off-by: Arno Wagner <wagner.arno@gmail.com >
2012-10-11 18:07:35 +02:00
Milan Broz
0c1efd1f8a
Fix dracut example.
2012-08-03 15:27:59 +02:00
Milan Broz
50a2d89add
Fix some issues in dict example.
2012-08-02 12:51:28 +02:00
Milan Broz
fcc35f459c
Better define comment lines for for dict example.
2012-07-20 15:36:16 +02:00
Milan Broz
a5aa91ed99
Clear dict example a little bit.
2012-07-20 14:51:51 +02:00
Milan Broz
d83b872c55
Add example of dictionary search.
2012-07-20 00:15:20 +02:00
Milan Broz
8ec2651ad7
Use fixed dir (old dracut lib...)
2012-07-12 21:15:37 +02:00
Milan Broz
53e269c5f1
Add key option to dracut example.
2012-07-12 19:21:22 +02:00
Milan Broz
6462ee55d3
Update example files for new dracut.
2012-07-10 19:59:44 +02:00
Milan Broz
37cecb5a5b
Add example of dracut module for reencryption.
2012-07-10 12:53:32 +02:00
Milan Broz
c4a533c3d5
Fix luks-header-from-active to not require header on device and add UUID setting.
2012-06-19 14:43:10 +02:00
Milan Broz
7835b365a7
Fix FSF address in license text according to
...
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@671 36d66b0a-2a48-0410-832c-cd162a569da5
2011-11-02 22:35:21 +00:00
Milan Broz
03a8ba4d17
Add experimental LUKS recovery script (recreate header from active mapping).
...
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@577 36d66b0a-2a48-0410-832c-cd162a569da5
2011-07-25 10:42:35 +00:00