News for hackers. Stuff that matters.
Re:Driftwood: Know if private keys are sensitive by xvector on Monday November 08, 2021 @06:23PM (#29155658)
Private keys for tests should be generated on demand, lest you induce CI failure due to key expiration some years down the line
Re:Driftwood: Know if private keys are sensitive by dilyevsky on Monday November 08, 2021 @08:48PM (#29156735)
Keys (at least rsa,ec,ssh ones) don’t expire - certs do. Also you’re not required to set expiration at all and probably should not in test for the very reason you mentioned. Unless you’re testing expiration validation of course in which case cert will be intentionally expired.
Re:Driftwood: Know if private keys are sensitive by tyingq on Monday November 08, 2021 @07:02PM (#29156007)
I'm somewhat surprised how many keygen type tools don't support ways to do that without putting a passphrase on a command line. Gpg is nice, with --passphrase-fd.