BUG: properly handle platform != (windows,osx) in keyring backend setup.