Re:Protecting SSH Keys with macOS Secure Enclave
by masklinn on Wednesday November 11, 2026 @02:15AM
(#50450563)
Which oauth tokens are you talking about? Because GitHub’s created by oauth or gh apps have a lifetime of either 8h or forever.
[ Parent
| on HN ]
Re:Protecting SSH Keys with macOS Secure Enclave
by Jakob on Wednesday November 11, 2026 @02:56AM
(#50450809)
Gitlab uses 2h. TIL that GitHub uses 8h.
Re:Protecting SSH Keys with macOS Secure Enclave
by eddythompson80 on Wednesday November 11, 2026 @03:55AM
(#50451123)
2 hours is plenty. The recent binance hack was 20 minutes after all. A 2 hour token is enough time to get all that can be gotten or done by a token in almost any system especially well defined ones like GH or GL.
It would be nice if GitHub or GitLab could limit a token to a given IP, but with how proxies and dynamic ips work I would imagine it would be a hassle to get it working correctly for everyone, but it’s better than nothing.