OpenBSD Disk Encryption: Change passphrase

Is it possible to change the passphrase after applying Full Disk Encryption by it to your OpenBSD server ?

Yes !! This post shows how. It’s a really simple way with bioctl (opens in a new tab).

First, login to your server. Then run:

console
$ doas bioctl -P sd1

Well, in this example, sd1 is CRYPTO volume introduced by softraid (opens in a new tab). (Moreover, sd0 is the origin disk.) In other words, sd1 here is where OpenBSD was actually installed via the installer.

You will be asked:

console
Old passphrase: 
New passphrase: 
Re-type passphrase:

Enter them. That’s it !!!

When reboot it, you will be accepted with the new passphrase.

More on: Configure and secure a server

OBSD Solutions

OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)

Comments and feedback are welcome.