KeystoreManager - unfinished