Refactor keychain dao
Use native promises in crypto services