Hello. I'm a freebsd beginner. In short, I tried to find out how to change the passphrase for geli encryption. I do not have deep technical understanding of how geli works. I have used luks1 and luks2 on linux and for adding and removing keys, which is where my technical expertise ends.
I didn't find a way to change a geli passphrase, but I saw there was an option to add a key and delete a key. Therefore I wrote
geli setkey /dev/nda0p5
I was prompted for a new passphrase.
When I tried to use
geli delkey -n 0 /dev/nda0p5,
it warns me that deleting the key will get rid of the last master key copy I have, which I do not understand assuming I added one with setkey.
Can you say how to get rid of the old key, such that I only will have the new key?
I didn't find a way to change a geli passphrase, but I saw there was an option to add a key and delete a key. Therefore I wrote
geli setkey /dev/nda0p5
I was prompted for a new passphrase.
When I tried to use
geli delkey -n 0 /dev/nda0p5,
it warns me that deleting the key will get rid of the last master key copy I have, which I do not understand assuming I added one with setkey.
Can you say how to get rid of the old key, such that I only will have the new key?