Skip to content

Refactor keychain password retrieval and optimize encryption/decryption logic

Latest

Choose a tag to compare

@fjh658 fjh658 released this 15 Mar 15:27

Commit Details πŸš€

SHA-1: e5eb71ac63d7e5a92b184d28b7675d86edf22a70
MD5: 8a421390b604a771e76bed3e51469c09


Changes ✨

  • πŸ” Secure Password Retrieval:
    Modified the logic to fallback between "Signal Key" and "Signal" from Keychain.

  • πŸ”’ Encryption/Decryption Optimization:
    Updated encrypt_string and decrypt_string implementations to use a fixed IV per macOS OS_Crypt requirements.

  • πŸ› οΈ Improvements:
    Enhanced code readability, documentation, and error handling.