Finding all files encrypted with a certain key
Jacob Bachmeyer
jcb62281 at gmail.com
Thu Oct 26 04:38:55 CEST 2023
raf via Gnupg-users wrote:
> [...]
> While testing these, I just noticed that /usr/bin/file
> on my macOS-10.14 laptop shows a different keyid to
> what libmagic shows. That's bizarre.
>
> For some encrypted files of mine, /usr/bin/file (v5.33)
> shows 3A0FC449 817C22BA but libmagic/rh shows 49C40F3A
> BA227C81 for the same files. A more recent version of
> file (v5.45) installed via macports shows the same as
> libmagic/rh. So choose your version of file(1) wisely. :-)
>
You have an endianness-mismatch issue somewhere. The octets are
reversed in each 32-bit group between the samples.
-- Jacob
More information about the Gnupg-users
mailing list