knsd / crypto-pubkey-openssh Goto Github PK
View Code? Open in Web Editor NEWOpenSSH keys decoder/encoder
Home Page: http://hackage.haskell.org/package/crypto-pubkey-openssh
License: MIT License
OpenSSH keys decoder/encoder
Home Page: http://hackage.haskell.org/package/crypto-pubkey-openssh
License: MIT License
I'm not sure whether the problem is here, or upstream, but segfaults seem very wrong either way.
Data/ASN1/Prim.hs:208:34:
Couldn't match type `Integer' with `Int'
Expected type: Either ASN1Error Int
Actual type: Either ASN1Error Integer
In the return type of a call of `getIntegerRaw'
In the second argument of `(<$>)', namely
`getIntegerRaw "enumerated" s'
In the expression: Enumerated <$> getIntegerRaw "enumerated" s
Failed to install asn1-encoding-0.8.1
cabal: Error: some packages failed to install:
Share-0.2 depends on asn1-encoding-0.8.1 which failed to install.
asn1-encoding-0.8.1 failed during the building phase. The exception was:
ExitFailure 1
crypto-pubkey-openssh-0.2.3 depends on asn1-encoding-0.8.1 which failed to
install.
This error is fixed in the newer version of asn1-encoding, which isn't used due to an overly restrictive upper bound.
Currently, only RSA and DSA keys are supported. Is ECDSA key support planned?
Hi,
asn1-data is deprecated because it was split in asn1-types, asn1-parse, and asn1-encoding. You can check it out here:
https://github.com/vincenthz/hs-asn1
Could you please update your package with the new dependencies ?
Thanks,
Jose
crypto-pubkey-openssh builds with process 1.1.0.2
It seems this library would be more complete with private key encoding/decoding.
Could you catch up cereal 0.4.* system?
Feature request. parseOpenSshPublicKey in the opposite direction.
showOpenSshPublicKey :: OpenSshPublicKey -> ByteString
SshKeygen.hs (and other files) is not included in the tarball because it is omitted from the .cabal file.
crypto-pubkey-openssh builds with tasty 0.10
If a comment has a blank, the key is not validated. Example (par of the key):
PHZs7eHAzmAVxEDZ+0FifBRFxfK7/LZGdt6VAV/OCX32jc4G8DdBvZDoLQmvCGDGYb02/om4vE8MoTOhaeSw== Max Makarenko
This key works perfectly in authorized_keys
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.