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.

First, login to your server. Then run:

$ doas bioctl -P sd1

Well, in…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by nabbisen

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.

First, login to your server. Then run:

$ doas bioctl -P sd1

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

You will be asked:

Old passphrase: 
New passphrase: 
Re-type passphrase:

Enter them. That's it !!!

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


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by nabbisen


Print Share Comment Cite Upload Translate Updates
APA

nabbisen | Sciencx (2023-01-03T04:33:04+00:00) OpenBSD Disk Encryption: Change passphrase. Retrieved from https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/

MLA
" » OpenBSD Disk Encryption: Change passphrase." nabbisen | Sciencx - Tuesday January 3, 2023, https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/
HARVARD
nabbisen | Sciencx Tuesday January 3, 2023 » OpenBSD Disk Encryption: Change passphrase., viewed ,<https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/>
VANCOUVER
nabbisen | Sciencx - » OpenBSD Disk Encryption: Change passphrase. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/
CHICAGO
" » OpenBSD Disk Encryption: Change passphrase." nabbisen | Sciencx - Accessed . https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/
IEEE
" » OpenBSD Disk Encryption: Change passphrase." nabbisen | Sciencx [Online]. Available: https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/. [Accessed: ]
rf:citation
» OpenBSD Disk Encryption: Change passphrase | nabbisen | Sciencx | https://www.scien.cx/2023/01/03/openbsd-disk-encryption-change-passphrase/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.