mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	libzfs: zfs_crypto_create() requires a new key by definition: set newkey
This changes the password prompt for new encryption roots from Enter passphrase: Re-enter passphrase: to Enter new passphrase: Re-enter new passphrase: which makes more sense and is more consistent with "new passphrase" now always meaning "come up with something" and plain "passphrase" "remember that thing" Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11866
This commit is contained in:
		
							parent
							
								
									95e29a7275
								
							
						
					
					
						commit
						a559c3d0f4
					
				@ -960,7 +960,7 @@ zfs_crypto_create(libzfs_handle_t *hdl, char *parent_name, nvlist_t *props,
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		ret = populate_create_encryption_params_nvlists(hdl, NULL,
 | 
			
		||||
		    B_FALSE, keyformat, keylocation, props, &wkeydata,
 | 
			
		||||
		    B_TRUE, keyformat, keylocation, props, &wkeydata,
 | 
			
		||||
		    &wkeylen);
 | 
			
		||||
		if (ret != 0)
 | 
			
		||||
			goto out;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user