[File] [PATCH] magic: update PGP algorithms to latest standards
Session Hu
sessionhu at outlook.com
Sun Nov 30 12:50:54 UTC 2025
Hi Christos,
Attached is a patch that updates the PGP magic definitions to support modern
standards (RFC 4880, RFC 6637, Crypto Refresh) and aligns them with the latest
IANA registry.
I have included three attachments:
1. The patch file itself.
2. An ASCII-armored PGP signature of the patch (.asc).
3. A test set tarball (testset.tar.gz) containing sample files.
Verification details:
- I verified the changes for ECC (Curve25519/Ed25519) and Camellia using the
attached test files, which were generated with GnuPG 2.5.11.
- Please note that the keys used to generate these test files were randomly
generated for this purpose and are ephemeral (no real private keys involved).
Regarding SHA3:
While I added support for SHA3-256/512 based on the IANA registry, my local
GnuPG setup could not yet generate live test cases for these specific packet
configurations. However, the implementation strictly follows the IANA registry
values and uses the same logic pattern verified by the other algorithms.
Best regards,
Session Hu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20251130/aa598e9c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-feat-magic-update-PGP-algorithms-to-latest-IANA-stan.patch
Type: application/octet-stream
Size: 4865 bytes
Desc: 0001-feat-magic-update-PGP-algorithms-to-latest-IANA-stan.patch
URL: <https://mailman.astron.com/pipermail/file/attachments/20251130/aa598e9c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testset.tar.gz
Type: application/x-gzip
Size: 736 bytes
Desc: testset.tar.gz
URL: <https://mailman.astron.com/pipermail/file/attachments/20251130/aa598e9c/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-feat-magic-update-PGP-algorithms-to-latest-IANA-stan.patch.asc
URL: <https://mailman.astron.com/pipermail/file/attachments/20251130/aa598e9c/attachment.asc>
More information about the File
mailing list