Replace secret and kid

This commit is contained in:
Fang-Pen Lin
2025-11-07 09:20:12 -08:00
parent a8cd3619bd
commit ce3d70c30a
+2 -2
View File
@@ -224,8 +224,8 @@ def step_impl(context: Context, email: str, kid: str, secret: str, account_var:
account_public_key = acme_client.net.key.public_key() account_public_key = acme_client.net.key.public_key()
eab = messages.ExternalAccountBinding.from_data( eab = messages.ExternalAccountBinding.from_data(
account_public_key=account_public_key, account_public_key=account_public_key,
kid=kid, kid=replace_vars(kid, context.vars),
hmac_key=secret, hmac_key=replace_vars(secret, context.vars),
directory=acme_client.directory, directory=acme_client.directory,
hmac_alg="HS256", hmac_alg="HS256",
) )