Skip to content

Commit

Permalink
fix: Use unicode signer name
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Nov 12, 2024
1 parent f45b103 commit d4b2178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const useFilesStore = function(...args) {
addIdentifierToSigner(signer) {
// generate unique code to new signer to be possible delete or edit
if ((signer.identify === undefined || signer.identify === '') && signer.signRequestId === undefined) {
signer.identify = btoa(JSON.stringify(signer))
signer.identify = btoa(String.fromCharCode(...new TextEncoder().encode(JSON.stringify(signer))))
}
if (signer.signRequestId) {
signer.identify = signer.signRequestId
Expand Down

0 comments on commit d4b2178

Please sign in to comment.