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
% step help certificate create | grep -F typeIs
{{- if typeIs "*sa.PublicKey" .Insecure.CR.PublicKey }}
% step help certificate sign | grep -F typeIs
{{- if typeIs "*sa.PublicKey" .Insecure.CR.PublicKey }}
Your Environment
% step version
Smallstep CLI/0.25.0 (darwin/amd64)
Release Date: 2023-09-27 12:02 UTC
Expected Behavior
The type should be *rsa.PublicKey
Actual Behavior
The output is *sa.PublicKey
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
As reported in #1051, the
example template printed in the help has `*sa.PublicKey` instead of
`*rsa.PublicKey`. This is likely due to the help text preprocessor.
This commit adds an underscore to `*_rsa.PublicKey`, which tricks
the help text preprocessor into simply printing `*rsa.PublicKey`,
ignoring it to be processed as Markdown.
A better fix might be do change the help text processor, but there
are no tests, and it's used widely, so it's a riskier method for
not too much gain.
Steps to Reproduce
Your Environment
Expected Behavior
The type should be
*rsa.PublicKey
Actual Behavior
The output is
*sa.PublicKey
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: