Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102191204
D41614.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
510 B
Referenced Files
None
Subscribers
None
D41614.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D41614: geli: fix setkey behavior on detached providers
Attached
Detach File
Event Timeline
Log In to Comment