That post seems to be missing.
load all comments
Eknz 7 points a year ago

Ironically, the passphrase for the encryption wouldn't be encrypted in this scenario as claims can be decoded from the token payload if intercepted. It would also probably be stored as-is server side as well. Claims aren't designed as secrets.

Perhaps you could authorise a request to an actual secrets manager via oidc though, allowing the volume to be unlocked.

path: 0 20341449, hotness: undefined, score: 7, children: 3
dont 1 point a year ago

Yes, I was thinking about storing encrypted keys, but still, using claims is clearly just wrong... Using a vault to store the key is probably the way to go, even though it adds another service the setup depends on.

path: 0 20341449 20342290, hotness: undefined, score: 1, children: 2
Eknz 2 points a year ago

A fall-back to the current way of unlocking the volume would probably be a good idea. It wouldn't be fun to lose access to something because a cloud service went down or access to it was lost etc.

path: 0 20341449 20342290 20342790, hotness: undefined, score: 2, children: 1
dont 1 point a year ago

Definitely! I have bmc/kvm everywhere (well, everywhere that matters).

I have talked myself out of this (for now), though. I think if I ever find the time to revisit this, I will try to to it by injecting some oidc-based approval (memo to myself: ciba flow?) into something like clevis/tang.

path: 0 20341449 20342290 20342790 20342938, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...