This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub pbs_encryption_key_file_name { | |
my ($scfg, $storeid) = @_; | |
return "/etc/pve/priv/storage/${storeid}.enc"; | |
} | |
# Returns a file handle if there is an encryption key, or `undef` if there is not. Dies on error. | |
sub pbs_open_encryption_key { | |
my ($scfg, $storeid) = @_; |