TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you manage PGP/SSH key backups?

2 点作者 xanthine超过 4 年前
With different SSH keys being used for different git repos, I was considering adding those keys to my GPG keyring (which also holds those PGP keys that I use for storing passwords with pass, and signing commits), as outlined in this article:<p>https:&#x2F;&#x2F;opensource.com&#x2F;article&#x2F;19&#x2F;4&#x2F;gpg-subkeys-ssh-multiples<p>I&#x27;m however skeptical of this, as it seems like a hack at best (if this was common enough, we wouldn&#x27;t have to use options like &#x27;--expert&#x27; and &#x27;--edit-key&#x27; with gpg). I&#x27;m curious as to how most people take backups of their keys, and store them securely.

1 comment

Hackbraten超过 4 年前
All my SSH keypairs are files so they’re part of my usual backup regimen with hourly, daily and weekly filesystem snapshots, copied to several backup locations.<p>I wouldn’t bother though if I lost my SSH keys. I’d just create and deploy new ones and invalidate the lost public keys on the servers.<p>No strategy yet for PGP keys, though.