Draft: Add CLI memo encryption and decryption commands

Summary

  • Add clive crypt decrypt command to decrypt encrypted memos using memo keys from wallet
  • Add meaningful error messages when encryption/decryption fails:
    • Invalid encrypted memo format (not starting with '#')
    • Decode error for malformed memos
    • Missing memo key in wallet

Test plan

  • Test decrypting a valid encrypted memo with correct key in wallet
  • Test error handling for memos not starting with '#'
  • Test error handling when memo key is not in wallet
  • Run existing tests: pytest tests/functional/cli/encryption/test_memo_encryption.py

🤖 Generated with Claude Code

Edited by Marcin Sobczyk

Merge request reports

Loading