Fix AI handler to use correct keystore decryption
Some checks failed
CLI Tests / test-cli (push) Failing after 1s
Security Scanning / security-scan (push) Successful in 53s

This commit is contained in:
aitbc
2026-04-28 17:27:08 +02:00
parent 1fedd8b9ee
commit 1555746fb8

View File

@@ -26,7 +26,7 @@ def handle_ai_submit(args, default_rpc_url, first, read_password, render_mapping
print("Error: Password is required for signing")
sys.exit(1)
# Get auth headers using correct decryption
# Get keystore and decrypt private key
from pathlib import Path
import json
from cryptography.hazmat.primitives.asymmetric import ed25519