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
There is also an issue from me about this (and a second similar problem with nacl.keygen): #66772 :)
And I also already created a PR to fix both: #66773
Description
As mentioned in documentation, we can generate the
pk
fromsk
using this command:But, this function will generate a
sk
like thepk
(sk
=pk
) and it's wrong.Steps to Reproduce the behavior
sk_file
usingsalt-call --local nacl.keygen
data.pk_file
usingsalt-call --local nacl.keygen sk_file=/etc/salt/pki/master/nacl
command/etc/salt/pki/master/nacl.pub
content. It equals/etc/salt/pki/master/nacl
.Expected behavior
The generated
pk
content should be different and have the correct value.Screenshots
Versions Report
salt --versions-report
The text was updated successfully, but these errors were encountered: