prior to another major refactor of appkeystore