Skip to content

test compatibility with v5 OpenPGP keys? #3619

Description

@tomholub
publicstaticfingerprintToLongid=(fingerprint: string)=>{if(fingerprint.length===40){// pgp keysreturnfingerprint.substr(-16).toUpperCase();}thrownewError(`Unexpected fingerprint format (len: ${fingerprint.length}): "${fingerprint}"`);}

Actually this is ok, however this will not work for v5 OpenPGP keys which use longer fingerprints. I'll file a separate issue.

Originally posted by @tomholub in #3575 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    PGP or S/MIMErequires knowledge of spec internals

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions