Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78812 - [e2fsprogs] PLEASE ENTER SUMMARY

Attached to Project: Arch Linux
Opened by Gerry Kessler (renegat) - Saturday, 17 June 2023, 11:44 GMT
Last edited by Toolybird (Toolybird) - Saturday, 17 June 2023, 21:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When trying to format a LUKS encrypted partition on a block device which was zeroed you'll always get a warning:

# mkfs.ext4 /dev/mapper/crypt
/dev/mapper/crypt contains `OpenPGP Public Key' data
Proceed anyway? (y,N) n

As the device was zeroed there could not be any "'OpenPGP Public Key' data" left on the device!
So this warning is just irritating and totally wrong.

After long STFW I found a statement:
"It turns out, that mke2fs uses libmagic to check the formatted device for known data signatures. It just so happens, that mapping zeroed file using 'password' as a key, result in the first two bytes being '9a9d', which libmagic recognizes as PGP Public Key."

Additional info:
* package version(s)
e2fsprogs 1.47.0-1

* link to upstream bug report, if any
https://sourceforge.net/p/e2fsprogs/discussion/7053/thread/33995b2ac6/?limit=25#9cdb


This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 17 June 2023, 21:00 GMT
Reason for closing:  Upstream
Additional comments about closing:  Not an Arch packaging bug. Please follow up with upstream.
Comment by Gerry Kessler (renegat) - Saturday, 17 June 2023, 11:47 GMT
I really would like to edit the 'summary' - but I cannot find the 'edit' button...

Loading...