Daniel Wayne Armstrongdwarmstrong@fosstodon.org
Nov 8, 2026, 7:30 PMDay 38
When creating a new encryption device using the cryptographic device driver (CGD), a parameters file is generated in `/etc/cgd` that stores the encryption type, key length, and a random password salt for the new encrypted device. This file cannot be recreated, and will be required if encrypted data becomes inaccessible and needs to be restored, so be sure to make a backup of this file.
See: https://www.netbsd.org/docs/guide/en/chap-cgd.html#chap-cgd-example-creating