Friday, May 26, 2017

Re: bioctl crypto size limitation ?

On 05/26/17 00:45, Ted Unangst wrote:
> mymlact@gmx.com wrote:
>> Steps to recreate:
>>
>> dd if=/dev/random of=/dev/rsd0c bs=1m (took over a week)
>>
>> fdisk -iy -g sd0 (I left off the "-b 960" because this is not a
>> bootable partiton)
>>
>> disklabel -E sd0
>>
>> Label editor (enter '?' for help at any prompt)
>> > a a
>> offset: [64]
>> size: [70319603585]
>> FS type: [4.2BSD] RAID
>> > w
>> > q
>>
>> # bioctl -v -c C -l sd0a softraid0
>> New passphrase:
>> Re-type passphrase:
>> Deriving key using bcrypt PBKDF with 16 rounds...
>> bioctl: unknown error
>
>> softraid0: invalid metadata format
> You filled the disk with random data, which is not a valid metadata format...
I followed the FAQ, http://www.openbsd.org/faq/faq14.html#softraidCrypto .

No comments:

Post a Comment