Re: bioctl -P, change passwords on crypto volumes
Christopher Zimmermann madro...@zakweb.de writes: Is it possible to change the number of rounds, too, or do I have to backup/restore the volume? At the moment I have to wait for about 7s for my crypto volume to come up. I'd rather use a slightly longer passphrase. I think not because the man page says When creating volume and it seems in sync with source because the number of rounds are read from disk in the bio_changepass function (AFAIU). -- Manuel Giraud
Re: bioctl -P, change passwords on crypto volumes
On 10/13/10 21:29, Markus Bergkvist wrote: $ sudo bioctl -c C -l /dev/sd1a softraid0 Passphrase: scsibus4 at softraid0: 1 targets sd2 at scsibus4 targ 0 lun 0: OPENBSD, SR CRYPTO, 004 SCSI2 0/direct fixed sd2: 237MB, 512 bytes/sec, 487409 sec total $ sudo bioctl -P sd2 Old passphrase: New passphrase: Re-type passphrase: /Markus Is it possible to change the number of rounds, too, or do I have to backup/restore the volume? At the moment I have to wait for about 7s for my crypto volume to come up. I'd rather use a slightly longer passphrase. Christopher
bioctl -P, change passwords on crypto volumes
Hi, I have not been able to figure out how to change password on my softraid crypto disks running -current as of two days. At boot I am doing bioctl -c C -l /dev/wd0k softraid0 and the crypto volume shows up as sd0a. I have tried all combinations of bioctl -P -l /dev/sd0a softraid0, bioctl -P /dev/wd0k, bioctl -P /dev/sd0a, bioctl -P -l /dev/wd0k, bioctl -P -l /dev/sd0a but to no avail. Could it be that it is no longer working? Or am I just not understanding the man page? Regards, /Joakim
Re: bioctl -P, change passwords on crypto volumes
On 10/13/10 20:51, Joakim Anka wrote: Hi, I have not been able to figure out how to change password on my softraid crypto disks running -current as of two days. At boot I am doing bioctl -c C -l /dev/wd0k softraid0 and the crypto volume shows up as sd0a. I have tried all combinations of bioctl -P -l /dev/sd0a softraid0, bioctl -P /dev/wd0k, bioctl -P /dev/sd0a, bioctl -P -l /dev/wd0k, bioctl -P -l /dev/sd0a but to no avail. Could it be that it is no longer working? Or am I just not understanding the man page? Regards, /Joakim $ sudo bioctl -c C -l /dev/sd1a softraid0 Passphrase: scsibus4 at softraid0: 1 targets sd2 at scsibus4 targ 0 lun 0: OPENBSD, SR CRYPTO, 004 SCSI2 0/direct fixed sd2: 237MB, 512 bytes/sec, 487409 sec total $ sudo bioctl -P sd2 Old passphrase: New passphrase: Re-type passphrase: /Markus