issue-25 #42

Merged
s merged 12 commits from issue-25 into main 2024-05-16 06:45:59 +00:00
Showing only changes of commit 32c9a062c4 - Show all commits

View File

@ -206,7 +206,10 @@ export const SignPage = () => {
if (!selectedFile || !encryptionKey) return if (!selectedFile || !encryptionKey) return
setIsLoading(true) setIsLoading(true)
const arrayBuffer = await decrypt(selectedFile, encryptionKey) const arrayBuffer = await decrypt(
selectedFile,
decodeURIComponent(encryptionKey)
)
if (!arrayBuffer) return if (!arrayBuffer) return
@ -478,11 +481,6 @@ export const SignPage = () => {
placeholder='Select file' placeholder='Select file'
value={selectedFile} value={selectedFile}
onChange={(value) => setSelectedFile(value)} onChange={(value) => setSelectedFile(value)}
InputProps={{
inputProps: {
accept: '.zip'
}
}}
/> />
{selectedFile && ( {selectedFile && (