-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rnp_key_valid_till can only return a 32-bit result #1480
Milestone
Comments
Here's a POC that there is an overflow:
|
Thanks for pointing us on this, definitely 32 bit could be not enough. |
Fixed via #1492 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expiration time in OpenPGP is 33-bits. Key creation time is 32-bits and key expiration time is a 32-bit quantity relative to the creation time:
rnp_key_valid_till
returns auint32_t
.The text was updated successfully, but these errors were encountered: