You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is caused by carriage returns (\r) at the end of the untrusted and trusted comment. The current implementation does not trim any trailing \r characters when parsing the signature. This causes the comment signature
verification to fail since it tries to verify a comment (with a \r) that was signed without \r.
This problem will occur in particularly on OS that end newlines with \r\n (i.e. windows).
Activity
trim carriage-return at the end of signature comments
aead commentedon Apr 8, 2021
@infraweavers Thanks for reporting this.
This issue is caused by carriage returns (
\r) at the end of the untrusted and trusted comment. The current implementation does not trim any trailing\rcharacters when parsing the signature. This causes the comment signatureverification to fail since it tries to verify a comment (with a
\r) that was signed without\r.This problem will occur in particularly on OS that end newlines with
\r\n(i.e. windows).PR #8 will fix this.
trim carriage-return at the end of signature comments
jedisct1 commentedon Apr 8, 2021
Good catch, and thanks for the quick fix!