remove unused Key parameter from isCryptographicallySecure

This will allow using isCryptographicallySecure on a Backend, before a
Key has been generated.

Sponsored-by: Lawrence Brogan on Patreon
This commit is contained in:
Joey Hess 2023-03-27 14:34:00 -04:00
parent f4a390b2a6
commit d4cb7afeed
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 6 additions and 6 deletions

View file

@ -80,7 +80,7 @@ genBackend hash = Backend
, canUpgradeKey = Just needsUpgrade
, fastMigrate = Just trivialMigrate
, isStableKey = const True
, isCryptographicallySecure = const (cryptographicallySecure hash)
, isCryptographicallySecure = cryptographicallySecure hash
}
genBackendE :: Hash -> Backend