security: Implement FilePrivateKeyStorage::sign.