security: Add version number to base64 form of join tokens #64885
Labels
A-authentication
Pertains to authn subsystems
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
good first issue
Join tokens are created by the
create_join_token()
SQL builtin andreturned as base64 encoded strings.
modifications to the join token format, the marshalled form of it
should have a version number in it at a fixed offset (ideally 0)
in addition to all the existing fields. This will ease in any future
updates to the join token format.
-
) and this confuses the command-line parser when pasted in argument position on the command line forcockroach connect join
.Stems from #60632.
Epic: CRDB-6663
The text was updated successfully, but these errors were encountered: