OpenPGP RFC 9580 forbids generating SHA-1 signatures
The revised OpenPGP standard (RFC 9580) says implementations must not generate signatures with MD5, SHA-1 or RIPEMD-160 and should not validate new signatures that depend on them. It cites Shambles and recommends SHA-1 collision detection wherever SHA-1 must remain, such as v4 key fingerprints.
Background
The Shambles PGP impersonation attack targeted exactly the Web-of-Trust certifications that RFC 4880 implementations had produced with SHA-1 for decades. RFC 9580 introduces v6 keys with SHA-256-based fingerprints; v4 fingerprints remain SHA-1, which is why the document points to sha1collisiondetection.
Sources
- standardRFC 9580: OpenPGPIETF, rfc-editor.org