frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

You don't want long-lived keys

https://argemma.com/blog/long-lived-keys/
18•kkl•3d ago

Comments

pfg_•1h ago
The fixed position background made it look like I had dust on my phone screen
serious_angel•1h ago
It didn't for me, and I got the starry space feel, but I noticed the repeating patterns.

Perhaps some movement is needed? I do recall some relatively similar cases saved, if interested:

  1. Moving forward in space (JavaScript/JS): https://codepen.io/the_artwork/pen/zYEdxyo
  2. Rotating in space (JS): https://codepen.io/the_artwork/pen/NWMRYJP
  3. Rotating in space (CSS+JS): https://codepen.io/the_artwork/pen/PoeNyyy
dnnddidiej•1h ago
You dont usually want keys at all. At least in the sense of copy this key from system A and paste it in this other place system B. Usually CI. You want some continual method of authentication and authorization.
serious_angel•1h ago
Some magnificent systems have APP_KEY/APP_SECRET that is also used for cookie and database encryption. A frequent rotation of this is... inadequate... in systems with high traffic, to say the least, and hence I am sorry, but I do not believe it's the "usual" desire. As always, it depends on the context and transaction scope.

  Related:
  - 1. https://symfony.com/doc/current/reference/configuration/framework.html#configuration-framework-secret
  - 2. https://laravel.com/docs/13.x/encryption#gracefully-rotating-encryption-keys
nightpool•1h ago
Okay but now how do you recommend I hook up my Sentry instance to create tickets in Jira, now that Jira has deprecated long-lived keys and I have to refresh my token every 6 weeks or whatever. It needs long-lived access. Whether that comes in the form of a OAuth refresh token or a key is not particularly interesting or important, IMO.
nitwit005•1h ago
> If you assume that someone is constantly trying to guess a key or password, the likelihood that they guess correctly grows over time.

If they can brute force the password or key, the rotation will, at best, force them to do it multiple times. You'll see more improvement from just adding another couple of characters to the length.

cassianoleal•42m ago
Fair enough, but that doesn't protect you in case of a leak. If you're going to solve for the leak anyway, is it worth it to solve for brute force in isolation? You can always add another couple of characters. At which point do you stop?
peterldowns•59m ago
Agreed! Been working on infra for an early-stage company recently and it's been awesome using OIDC and IRSA (or WIF if you're on google) for as many things as possible. Basically, there are no permanent keys for anything.

Slightly annoying to have to wrap some clis in scripts that generate the short-lived token, but it feels really magical to have services securely calling each other without any explicit keys or password to even store in our vault.

Lots of cool benefits --- for instance, we ran the compromised Trivy github action a few weeks ago, but our Github Actions had 0 keys for it to leak! Also really great that I don't have to worry about rotating shared credentials on short notice if an engineer on my team decides to leave the company.

bzmrgonz•59m ago
What about dynamic credentials. Why can't we deploy HSM(hardware security module), they are so much more affordable now. We then deploy fido2 keys, have our long lived keys in there and have HSM serve as dynamic credentials server.
gleenn•45m ago
After the Vercel hosting compromise and having to rotate a ton of keys recently, we are definitely implementing automated rotation of short lived keys. That was super painful.
cyberax•18m ago
On the contrary. We want long-lived keys. As long as they are not symmetric!

My private SSH key is rooted in hardware and can't even be extracted. This is awesome, I don't have to worry about it getting compromised.

The same should apply to all other keys, including the dreaded "bearer tokens".

Google plans to invest up to $40B in Anthropic

https://www.bloomberg.com/news/articles/2026-04-24/google-plans-to-invest-up-to-40-billion-in-ant...
300•elffjs•9h ago•368 comments

My audio interface has SSH enabled by default

https://hhh.hn/rodecaster-duo-fw/
148•hhh•5h ago•36 comments

Iliad fragment found in Roman-era mummy

https://www.thehistoryblog.com/archives/75877
90•wise_blood•2d ago•26 comments

The Classic American Diner

https://blogs.loc.gov/picturethis/2026/04/the-classic-american-diner/
150•NaOH•6h ago•92 comments

Sabotaging projects by overthinking, scope creep, and structural diffing

https://kevinlynagh.com/newsletter/2026_04_overthinking/
350•alcazar•10h ago•90 comments

Google Flow Music

https://www.flowmusic.app/
90•hmokiguess•4h ago•57 comments

There Will Be a Scientific Theory of Deep Learning

https://arxiv.org/abs/2604.21691
121•jamie-simon•7h ago•45 comments

Work with the garage door up (2024)

https://notes.andymatuschak.org/Work_with_the_garage_door_up
110•jxmorris12•3d ago•85 comments

Show HN: I've built a nice home server OS

https://lightwhale.asklandd.dk/
51•Zta77•3h ago•25 comments

FusionCore: ROS 2 sensor fusion (IMU and GPS and encoders)

https://github.com/manankharwar/fusioncore
12•kharwarm•2h ago•3 comments

How to be anti-social – a guide to incoherent and isolating social experiences

https://nate.leaflet.pub/3mk4xkaxobc2p
296•calcifer•14h ago•285 comments

Diatec, known for its mechanical keyboard brand FILCO, has ceased operations

https://gigazine.net/gsc_news/en/20260424-filco-diatec/
91•gslin•8h ago•29 comments

Email could have been X.400 times better

https://buttondown.com/blog/x400-vs-smtp-email
118•maguay•1d ago•120 comments

The Overtom Chess Computer Museum

https://tluif.home.xs4all.nl/chescom/Engindex.html
8•semyonsh•2d ago•0 comments

Spinel: Ruby AOT Native Compiler

https://github.com/matz/spinel
308•dluan•16h ago•82 comments

MacBook Neo and how the iPad should be

https://craigmod.com/essays/ipad_neo/
193•jen729w•1d ago•110 comments

Education must go beyond the mere production of words

https://www.ncregister.com/commentaries/schnell-repairing-the-ruins
3•signor_bosco•59m ago•0 comments

You don't want long-lived keys

https://argemma.com/blog/long-lived-keys/
19•kkl•3d ago•11 comments

Humpback whales are forming super-groups

https://www.bbc.com/future/article/20260416-the-humpback-super-groups-swarming-the-seas
3•andsoitis•2d ago•0 comments

DeepSeek v4

https://api-docs.deepseek.com/
1801•impact_sy•22h ago•1402 comments

I cancelled Claude: Token issues, declining quality, and poor support

https://nickyreinert.de/en/2026/2026-04-24-claude-critics/
767•y42•9h ago•460 comments

I'm done making desktop applications (2009)

https://www.kalzumeus.com/2009/09/05/desktop-aps-versus-web-apps/
139•claxo•9h ago•169 comments

CC-Canary: Detect early signs of regressions in Claude Code

https://github.com/delta-hq/cc-canary
38•tejpalv•7h ago•18 comments

SFO Quiet Airport (2025)

https://viewfromthewing.com/san-francisco-airport-removed-90-minutes-of-daily-noise-travelers-say...
127•CaliforniaKarl•6h ago•74 comments

SDL Now Supports DOS

https://github.com/libsdl-org/SDL/pull/15377
218•Jayschwa•8h ago•76 comments

OpenAI releases GPT-5.5 and GPT-5.5 Pro in the API

https://developers.openai.com/api/docs/changelog
211•arabicalories•6h ago•115 comments

Show HN: Browser Harness – Gives LLM freedom to complete any browser task

https://github.com/browser-use/browser-harness
78•gregpr07•10h ago•34 comments

Different Language Models Learn Similar Number Representations

https://arxiv.org/abs/2604.20817
90•Anon84•10h ago•35 comments

CSS as a Query Language

https://evdc.me/blog/css-query
60•evnc•7h ago•21 comments

Physicists revive 1990s laser concept to propose a next-generation atomic clock

https://phys.org/news/2026-04-physicists-revive-1990s-laser-concept.html
51•wglb•1d ago•8 comments