-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eab command line parameters ignored if certificate issued with implicit new account #6249
Comments
Please upgrade to the latest code and try again first. Maybe it's already fixed. |
output of |
Thanks for this nice script!
If a certificate should be issued and there is no account, the account is created. If there are eab credentials, they are ignored. If the account is created explicitly, the eab credentials are used correctly.
IMHO inside the
issue
function (script line 4503) there isif ! _regAccount "$_accountkeylength"; then
which ignores the the command line parameters --eab-kid and --eab-hmac-key. The other calls to
_regAccount
look like_regAccount "$_account_key_length" "$_eab_id" "$_eab_hmac_key"
and so should line 4503 be more like
if ! _regAccount "$_accountkeylength "$_eab_id" "$_eab_hmac_key""; then
or
if ! _regAccount "$_accountkeylength "$_eab_kid" "$_eab_hmac_key""; then
as the variable is sometimes called
_eab_id
and sometimeseab_kid
.The text was updated successfully, but these errors were encountered: