Search Criteria
Package Details: grub-luks-keyfile 2:2.06-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/grub-luks-keyfile.git (read-only, click to copy) |
---|---|
Package Base: | grub-luks-keyfile |
Description: | GNU GRand Unified Bootloader (2) with crypto extensions to support for DMCrypt and LUKS volumes with detached headers and key files. |
Upstream URL: | https://www.gnu.org/software/grub/ |
Licenses: | GPL3 |
Conflicts: | grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu, grub-legacy |
Provides: | grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu |
Replaces: | grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu |
Submitter: | kalbasit |
Maintainer: | None |
Last Packager: | mxfm |
Votes: | 7 |
Popularity: | 0.000007 |
First Submitted: | 2017-12-22 02:31 (UTC) |
Last Updated: | 2021-06-14 12:15 (UTC) |
Dependencies (23)
- device-mapper (device-mapper-gitAUR)
- gettext (gettext-gitAUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
- xz (xz-gitAUR)
- autogen (make)
- device-mapper (device-mapper-gitAUR) (make)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR) (make)
- fuse2 (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- help2man (help2man-gitAUR, python-help2manAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- texinfo (texinfo-gitAUR) (make)
- ttf-dejavu (ttf-dejavu-ibAUR, ttf-dejavu-emojilessAUR) (make)
- xz (xz-gitAUR) (make)
- dosfstools (dosfstools-gitAUR) (optional) – For grub-mkrescue FAT FS and EFI support
- efibootmgr (efibootmgr-gitAUR) (optional) – For grub-install EFI support
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR) (optional) – For grub-mkfont usage
- fuse2 (optional) – For grub-mount usage
- libisoburn (libisoburn-gitAUR) (optional) – Provides xorriso for generating grub rescue iso using grub-mkrescue
- mtools (mtools-svnAUR) (optional) – For grub-mkrescue FAT FS support
- os-prober (os-prober-gitAUR, os-prober-btrfsAUR) (optional) – To detect other OSes when generating grub.cfg in BIOS systems
Required by (316)
- apple_set_os (requires grub) (optional)
- arch-grub2-theme (requires grub)
- arch-matrix-grub-theme-git (requires grub)
- archiso-git (requires grub) (optional)
- archiso-grub-themes (requires grub)
- archuseriso (requires grub)
- bieaz (requires grub)
- bieaz-git (requires grub)
- boo-grub-git (requires grub)
- booty-git (requires grub)
- cryptboot (requires grub)
- cyberpunk-grub-theme-git (requires grub)
- dedsec-grub2-theme (requires grub)
- distro-grub-themes-arch (requires grub)
- distro-grub-themes-endeavouros (requires grub)
- distro-grub-themes-meta (requires grub)
- dracula-grub-theme-git (requires grub)
- endeavouros-galleon-grub (requires grub)
- graphite-grub-theme-default-1080p (requires grub)
- graphite-grub-theme-default-2k (requires grub)
- Show 296 more...
Sources (14)
- 0001-00_header-add-GRUB_COLOR_-variables.patch
- 0001-Cryptomount-support-LUKS-detached-header.patch
- 0002-10_linux-detect-archlinux-initramfs.patch
- 0002-Cryptomount-support-key-files.patch
- 0003-Cryptomount-luks-allow-multiple-passphrase-attempts.patch
- 0004-Cryptomount-support-plain-dm-crypt.patch
- 0005-Cryptomount-support-for-hyphens-in-UUID.patch
- 0006-Cryptomount-support-for-using-whole-device-as-keyfile.patch
- grub.default
- https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz
- https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz.sig
- https://ftp.gnu.org/gnu/unifont/unifont-13.0.06/unifont-13.0.06.bdf.gz
- https://ftp.gnu.org/gnu/unifont/unifont-13.0.06/unifont-13.0.06.bdf.gz.sig
- https://git.savannah.nongnu.org/cgit/grub-extras.git/snapshot/grub-extras-f2a079441939eee7251bf141986cdd78946e1d20.tar.gz
Latest Comments
1 2 3 4 Next › Last »
mxfm commented on 2023-04-06 18:40 (UTC)
I disown this package because I moved to gentoo and because plain mode patch was accepted into GRUB.
mxfm commented on 2023-04-06 18:40 (UTC)
@pezz, yes, this GRUB version was not updated. The problem is that GRUB code is changing, which means that these patches must be periodically updated to be kept with current version.
I maintained these 5+ patches because I was interested in supporting plain mode. Support for this feature was merged into GRUB code recently, so I am not interested in supporting these patches anymore. Also, the support for detached headers and key files was also recently added into GRUB.
Luckily, the patch implementing multiple passphrase attempts is trivial for anyone who can code in C programming language. I advise you to write request to support this feature to GRUB bugzilla or grub-devel mailing list.
pezz commented on 2023-04-05 04:57 (UTC) (edited on 2023-04-05 05:02 (UTC) by pezz)
Hey there, I was really stoked when I found this as the 1 password try was driving me nuts.
However after installing it, I've found that the patch doesn't seem to work and I get dropped to grub rescue after a password fail.
Also, I ran into a couple of other issues that do not occur in the latest grub that Arch ships. Such as the "efitextmode" module not being available.
It also appears that the Arch version fixes a bug where grub-install cannot recognise an ext4 partition with the "metadata_csum_seed" feature set.
And dashes are also acceptable in the UUID in the Arch version.
Just curious if there were any plans to update this?
Cheers.
mxfm commented on 2022-06-10 10:04 (UTC) (edited on 2022-06-10 10:07 (UTC) by mxfm)
Yes. The state of things with these patches is following. The 'crypto enhancement' patch series by John Lane adds following features:
key files
detached headers
multiple passphrase attempts
plain dm-crypt support
using device as keyfile
UUID hyphens
Key files were added recently by Glenn Washburn who rewrote some of these patches. Detached headers patch series will be also added soon to grub master.
Currently I am working on the third version of plain mode patch, but it will not be accepted as soon as detached headers support (according to my expectation).
Using device as a keyfile can be added as a fix to keyfiles patch series of Glen Washburn, but currently nobody is working on this. I have added support for this feature in plain mode, but it is not currently supported in LUKS mode.
Finally, supporting multiple passphrase attempts and UUID hyphens patches are not included into grub master and nobody is working on supporting them. When I started to support these patches I was interested only in plain mode. If I have spare time, I will rewrite these two minor patches (+ device as a keyfile), but they are not my priorities.
gamezelda commented on 2022-06-09 19:35 (UTC) (edited on 2022-06-09 19:35 (UTC) by gamezelda)
The 2nd patch in the series, the one which enables the
key-file
,keyfile-offset
andkeyfile-size
parameters, was committed to the official GRUB repository and is included in the latest Arch GRUB package (grub 2:2.06.r261.g2f4430cc0-1).So you may be able to switch to the official Arch package, as long as you only need the base keyfile support and not any of the extras (LUKS detached header, plain dm-crypt, whole device as keyfile, etc.).
PS: And if you switch to the official Arch package, also make sure to remove hyphens from the UUID in
cryptomount
(if this applies to you), that part is not in the official GRUB package yet and it will fail to find the disk unless you remove them.acerix commented on 2021-05-11 22:07 (UTC)
Thank you for your work on this, the git version does not have the issue so I will use that for now.
mxfm commented on 2021-05-11 16:41 (UTC)
No, it is not expected, because I follow arch Grub package pkgbuild, also these patches should not explode package size.
I will investigate this in next weekend.
Can you try git version of this package?
acerix commented on 2021-05-11 00:31 (UTC)
Is it expected for this package to have a Total Installed Size of 930.45 MiB? When I build it, the .img files are much larger than the base grub package.
mxfm commented on 2020-03-04 10:44 (UTC)
@Martmists can you elaborate on the context of your comment? It seems you refer to some revealed bug/issue, however I do not see any links.
I use these patches in a following way. I don't have grub menu, I simply type necessary parameters upon each boot, so I don't know what happens when these patches are used together with grub menu.
Besides, these patches are developed by John Lane (https://github.com/johnlane/grub), so you can contact him to file a bug.
Martmists commented on 2020-03-02 08:27 (UTC) (edited on 2020-03-02 08:27 (UTC) by Martmists)
Grub seems to not use the -p and -k parameter BEFORE the grub menu, as they are not in the binary file on the EFI partition. The cause seems to be that in some parts of the patched code, simply
cryptomount -u $uuid
seems to be used, therefore not unlocking grub at boot.1 2 3 4 Next › Last »