Added support for alice reading key from db