3 ms·
Does anyone know if these new tokens are backwards compatible with software that used the old tokens? By which I mean, I’m using a version of Git Tower from bef
by Wowfunhappy 6y ago
Does anyone know if these new tokens are backwards compatible with software that used the old tokens? By which I mean, I’m using a version of Git Tower from before they switched to a subscription model, and I’m wondering whether regenerating my tokens will make me unable to log in.
- sneak 6y agoI imagine they should be, they're still just strings. It's possible that Git Tower does some local validation that might complain, but I think they are in the same set of characters. You could always write a crack for the local validation, too.
- greysteil 6y agoThe reason we (GitHub) kept the new tokens to 40 characters, matching the length of our old tokens, was to make this change as backwards compatible as possible. We’ve never documented or committed to our tokens being 40 characters long, but they’ve been that way a long time and there may be software out there storing them in a fixed length database columns. If you use a service you’re worried the change may break I’d recommend minting a new token and trying it, perhaps on a new account on that service, before revoking your old one. (We do plan to increase the length of our tokens in future, but not before July 2021 at the earliest.)