question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reusing registered accounts

See original GitHub issue

As I understand it, a Let’s Encrypt account only needs to be registered one time. So if I call:

var account = await client.NewRegistraton($"mailto:{Email}");

I need to save the account so I can re-use it on future registrations. (According to the LE documentation there is a penalty for registering a single account too many times.) I can re-use the registered account by calling the Use method:

client.Use(account.Key);

What I can’t figure out is how to save the key in my database so I can re-use it later. The key is a type KeyInfo but it only contains one property “PrivateKeyInfo”. I can store this byte array but I need a way to turn it back into a key. Do you have any examples of how to do that?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fszlincommented, Feb 9, 2018

☺️ closing the issue.

0reactions
ericallenpaulcommented, Feb 8, 2018

Perfect! That is exactly what I needed.

Thanks also for all of your hard work creating this library. It’s made my job a lot easier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reusing addresses between multiple accounts
Users can reuse same addresses between multiple account records.
Read more >
Three Reasons NOT to Reuse Old Registrations
If you re-open the same registration and have existing members try to register again, they won't be able to because they can only...
Read more >
Can I reuse a company name after liquidation?
If your company has been liquidated and you are setting up a new business, you may want to use the same or a...
Read more >
KB5020276—Netjoin: Domain join hardening changes
Account reuse attempt will be permitted if the account was created by a member of domain administrators. These additional security checks are done...
Read more >
53% of People Admit They Reuse the Same Password for ...
Among those who use the same password for different accounts, most are using it across 3-7 accounts (62 percent) - and 10 percent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found