Add support for version 2 hashes needed for password-protected pads
This commit is contained in:
1 parent
fd89811479
commit
811463b870
14 files changed
+254
-100
No files matched your search
@@ -61,6 +61,7 @@ define([
|
||||
if (!priv.filehash) {
|
||||
uploadMode = true;
|
||||
} else {
|
||||
// FILE_HASHES2
|
||||
secret = Hash.getSecrets('file', priv.filehash);
|
||||
if (!secret.keys) { throw new Error("You need a hash"); }
|
||||
hexFileName = Util.base64ToHex(secret.channel);
|
||||
|
||||
Reference in new issue
Block a user