Fix AI handler to use correct keystore decryption
This commit is contained in:
@@ -26,7 +26,7 @@ def handle_ai_submit(args, default_rpc_url, first, read_password, render_mapping
|
|||||||
print("Error: Password is required for signing")
|
print("Error: Password is required for signing")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Get auth headers using correct decryption
|
# Get keystore and decrypt private key
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import json
|
import json
|
||||||
from cryptography.hazmat.primitives.asymmetric import ed25519
|
from cryptography.hazmat.primitives.asymmetric import ed25519
|
||||||
|
|||||||
Reference in New Issue
Block a user