packages feed

hopenpgp-tools 0.23.5 → 0.23.6

raw patch · 2 files changed

+6/−5 lines, 2 files

Files

hokey.hs view
@@ -276,7 +276,7 @@            else (Just Red, Just "not a V4 key"))         kv     colorizePKA pka-      | pka `elem` [RSA, EdDSA] = Colored (Just Green) Nothing pka+      | pka `elem` [RSA, EdDSA, ECDH] = Colored (Just Green) Nothing pka       | otherwise =         Colored           (Just Yellow)@@ -284,8 +284,9 @@           pka     colorizePKS pka epks = uncurry Colored (colorizePKS' pka epks) (hush epks)     colorizePKS' pka (Right pks)-      | pka == EdDSA && pks >= 256 = (Just Green, Nothing)-      | pka == EdDSA = (Just Yellow, Just "Public key size under 256 bits")+      | pka `elem` [EdDSA, ECDH] && pks >= 256 = (Just Green, Nothing)+      | pka `elem` [EdDSA, ECDH] =+        (Just Yellow, Just "Public key size under 256 bits")       | pka == RSA && pks >= 3072 = (Just Green, Nothing)       | pka == RSA && pks >= 2048 =         (Just Yellow, Just "Public key size between 2048 and 3072 bits")
hopenpgp-tools.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hopenpgp-tools-version:             0.23.5+version:             0.23.6 synopsis:            hOpenPGP-based command-line tools description:         command-line tools for performing some OpenPGP-related operations homepage:            https://salsa.debian.org/clint/hOpenPGP-tools@@ -112,4 +112,4 @@ source-repository this   type:     git   location: https://salsa.debian.org/clint/hopenpgp-tools.git-  tag:      hopenpgp-tools/0.23.5+  tag:      hopenpgp-tools/0.23.6