Skip to content

Commit

Permalink
fix issue with importing ed25516 private key
Browse files Browse the repository at this point in the history
  • Loading branch information
akirapham committed Apr 14, 2023
1 parent f954bf9 commit aa30a45
Show file tree
Hide file tree
Showing 5 changed files with 5,663 additions and 5,453 deletions.
4 changes: 2 additions & 2 deletions build.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
],
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "build_assets/entitlements.mac.plist",
"entitlementsInherit": "build_assets/entitlements.mac.plist",
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"gatekeeperAssess": false
},
"dmg": {
Expand Down
10 changes: 10 additions & 0 deletions entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
</dict>
</plist>
1 change: 1 addition & 0 deletions src/lib/pages/Profile/Send/Forms/SendCurrency.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
popupContent = '';
if ($selectedWallet) {
console.log('selected wallet', $selectedWallet);
const result = await sendToken(
$selectedWallet.publicKey,
$selectedWallet.privateKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
const pbkUint8 = Keys.Ed25519.privateToPublicKey(pvkUint8);
keyPair = Keys.Ed25519.parseKeyPair(pbkUint8, pvkUint8);
algorithm = 'secp256k1';
algorithm = 'ed25519';
}
return {
Expand Down
Loading

0 comments on commit aa30a45

Please sign in to comment.