commit | ff07cadffde502e87cce49f3a52e3bfc0f07a48f | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Dec 21 12:38:52 2018 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Dec 21 12:38:52 2018 -0800 |
tree | ea6508cbbc11cf10fcb3e917e0349902c72d44db | |
parent | 98db82953ecb61da7af890d3c8be215f41ae2e76 [diff] |
TokenManager: use full id in token Previously, because of an error in the code that combined ids together, only the bottom 15-bits of an id was used in the token (even though the HMAC was computed from the full id). This meant that new tokens created could invalidate previous tokens. Bug: N/A Test: (sanity) YouTube, (sanity) tokens always verified now (or error) Change-Id: I493c76f77601cb1bfb74c6de81eb6a44f08d2ea3