[Bug 218512] Geli arbitrarily prevents setting passphrases
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 22 06:10:18 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218512
--- Comment #15 from Alexander Motin <mav at FreeBSD.org> ---
Changing passphrase without -i should not change number of iterations, so there
should be no problem:
/*
* Field md_iterations equal to -1 means "choose some sane
* value for me".
*/
if (md->md_iterations == -1) {
assert(new);
if (verbose)
printf("Calculating number of iterations...\n");
md->md_iterations = pkcs5v2_calculate(2000000);
assert(md->md_iterations > 0);
if (verbose) {
printf("Done, using %d iterations.\n",
md->md_iterations);
}
}
If md_iterations was ever set, the same value should be used for that disk
forever.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-geom
mailing list