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
Background
With --auth-token set to default (simple), observed that updates are not propagated to etcd watcher after etcd servers are restarted. Following 8914 and design-auth-v3, wanted to use --auth-token as jwt,sign-method=HS256,priv-key=/path/to/secret,ttl=60m. But it looks like HS256 and TTL are not supported on 3.3.x.
RS512 without TTL works well jwt,priv-key=/path/to/priv-key,pub-key=/path/to/pub-key,sign-method=RS512.
From 8302 and 9883, it looks like these support started from 3.4.x. So it is just a documentation bug on 3.3.x? Or am I missing something?
2020-11-12 22:26:15.723239 E | auth: failed to read public key () for jwt: open : no such file or directory
2020-11-12 22:26:15.723281 E | etcdserver: failed to create token provider: open : no such file or directory
The text was updated successfully, but these errors were encountered:
The change was introduced in this large PR: #10692 And as @ajithcnambiar pointed out the options aren't available in 3.3. The commits in the PR are extremely large so reverting wouldn't be realistic. We need to open a new PR for fixing in release-3.3 branch.
The PR #10692 has many problems not limited to the problem pointed in this PR. I shared the example problems in the PR, will wait response from the author.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
What's the issue:
--auth-token
flag on version 3.3.xsign-method
with--auth-token
on version 3.3.x3.3.13 Documentation mentions these options are supported.
Background
With
--auth-token
set to default (simple
), observed that updates are not propagated to etcd watcher after etcd servers are restarted. Following 8914 and design-auth-v3, wanted to use--auth-token
asjwt,sign-method=HS256,priv-key=/path/to/secret,ttl=60m
. But it looks like HS256 and TTL are not supported on 3.3.x.RS512 without TTL works well
jwt,priv-key=/path/to/priv-key,pub-key=/path/to/pub-key,sign-method=RS512
.From 8302 and 9883, it looks like these support started from 3.4.x. So it is just a documentation bug on 3.3.x? Or am I missing something?
Steps to Replicate
Error logs
Error logs
The text was updated successfully, but these errors were encountered: