Security is paramount for non-custodial wallet management. Ed25519 KeyPair serialization, recovery, and retrieval must be handled securely in memory using secure encoding practices to prevent key leakage while saving/retrieving to platform secure storage.
Implementation guidelines:
- Write a utility class
StellarKeypairSerializer containing methods to securely serialize a KeyPair to/from private keys or seeds.
- Connect the utility to
SecureStorageService to write and retrieve keypair data securely.
- Implement zero-memory wipe techniques (e.g. overwriting variables, garbage collection prompts) to avoid key residue remaining in the device RAM.
- Prevent exposure of private keys through logging or debugging tools.
Files location: mobile/lib/core/services/keypair_serialization_service.dart, secure_storage_service.dart
Expected result: KeyPairs are encrypted/decrypted securely using hardware-backed storage (Keystore/Keychain) and serialized/deserialized through a robust utility, protecting critical wallet secrets.
Join the contributor Telegram group and ask any questions: https://t.me/+8mSQnieRmIM1Yjc0
Security is paramount for non-custodial wallet management. Ed25519 KeyPair serialization, recovery, and retrieval must be handled securely in memory using secure encoding practices to prevent key leakage while saving/retrieving to platform secure storage.
Implementation guidelines:
StellarKeypairSerializercontaining methods to securely serialize aKeyPairto/from private keys or seeds.SecureStorageServiceto write and retrieve keypair data securely.Files location:
mobile/lib/core/services/keypair_serialization_service.dart,secure_storage_service.dartExpected result: KeyPairs are encrypted/decrypted securely using hardware-backed storage (Keystore/Keychain) and serialized/deserialized through a robust utility, protecting critical wallet secrets.
Join the contributor Telegram group and ask any questions: https://t.me/+8mSQnieRmIM1Yjc0