Page MenuHomeFreeBSD

D41614.diff
No OneTemporary

D41614.diff

diff --git a/lib/geom/eli/geom_eli.c b/lib/geom/eli/geom_eli.c
--- a/lib/geom/eli/geom_eli.c
+++ b/lib/geom/eli/geom_eli.c
@@ -1363,6 +1363,12 @@
return;
}
+ /*
+ * The previous eli_genkey() set cached_passphrase, we do not want
+ * to use that for the new passphrase so always prompt for it
+ */
+ memset(cached_passphrase, 0, sizeof(cached_passphrase));
+
/* Generate key for Master Key decryption. */
if (eli_genkey_single(req, md, key, false) == NULL) {
explicit_bzero(key, sizeof(key));

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 6:04 PM (20 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14563770
Default Alt Text
D41614.diff (510 B)

Event Timeline