-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Implement Clone
for AccountCredentials
#61
Comments
Why do you need to clone the credentials? What's the use case? |
Whenever I need to recreate
|
Okay, I'd rather fix the cases where you need to recreate an account. It is on purpose that there's no |
@h33p I'm not sure what you mean by acquiring a session since ACME isn't a session oriented protocol. Do you mean an error when creating a brand new account?
This also sounds surprising to me. |
Currently,
AccountCredentials
only implementsSerialize
, andDeserialize
, but cloning them may be useful for recreating ACME client instances. We currently do the following under the hood:However, I feel like this is unnecessary, and it would be better to be able to just clone the creds.
The text was updated successfully, but these errors were encountered: