Popularity
6.8
Declining
Activity
0.0
Stable
7
3
9

Monthly Downloads: 46
Programming language: Haskell
License: MIT License
Tags: Cryptography     Parsing     Crypto    
Latest version: v0.2.7

crypto-pubkey-openssh alternatives and similar packages

Based on the "crypto" category.
Alternatively, view crypto-pubkey-openssh alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of crypto-pubkey-openssh or a related project?

Add another 'crypto' Package

README

crypto-pubkey-openssh Build Status

OpenSSH keys decoder/encoder, example.

import System.Environment (getArgs)
import qualified Data.ByteString as B

import Crypto.PubKey.OpenSsh (decodePrivate)

main :: IO ()
main = do
    fname <- fmap head getArgs
    content <- B.readFile fname
    case decodePrivate content of
        Left e -> error e
        Right key -> print key