Skip to content

Send and check "Intended recipient fingerprint" packets #7057

@link2xt

Description

@link2xt

OpenPGP has "indented recipient fingerprint" packet: https://www.rfc-editor.org/rfc/rfc9580.html#name-intended-recipient-fingerpr

It should be sent to protect against Surreptitious Forwarding and if it is present but does not match receiver should deliver the message to trash.

This should not be sent for broadcast lists when we want to keep recipients anonymous to each other: #6782
For normal groups there should be intended recipient fingerprint inside the encrypted part even when anonymous recipient is used on the outer encryption layer.

For testing it's enough to create an .eml file with a message signed by Alice, intended for Bob but reencypted to Charlie and make sure that Charlie ignores the signature. The message will then likely get assigned to the address-contact corresponding to the outer From field.

Maybe there is no API in rPGP or it involves looking at the packets manually like rsop and rpgpie does. In this case we likely need an API in rPGP first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions