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
Pubgrade checks the access tokens in the headers X-Project-Access-Token, X-User-Access-Token and X-Super-User-Access-Token against the stored ones with != (repositories, builds, subscriptions, users). Compare them with hmac.compare_digest instead, in one helper used by every check, so that each comparison takes the same time whatever the supplied value. Missing, empty or non-string values count as not matching; values outside ASCII are compared like others (UTF-8), not rejected.
Done when every token check uses the helper, with unit tests for matching, non-matching and missing tokens.
Activity