haskell-tls / hs-certificate

Certificate and Key Reader/Writer in haskell
60 stars 57 forks source link

x509-validation: PubKeyEC not in scope #65

Closed jkarni closed 8 years ago

jkarni commented 8 years ago
Data/X509/Validation/Signature.hs:87:18:

    Not in scope: data constructor ‘PubKeyEC’

    Perhaps you meant ‘PubKeyDH’ (imported from Data.X509)

Data/X509/Validation/Signature.hs:109:27:

    Not in scope: type constructor or class ‘PubKeyEC’

    Perhaps you meant ‘PubKey’ (imported from Data.X509)

Data/X509/Validation/Signature.hs:112:9:

    Not in scope: data constructor ‘PubKeyEC_Named’

Data/X509/Validation/Signature.hs:113:9:

    Not in scope: data constructor ‘PubKeyEC_Prime’

Data/X509/Validation/Signature.hs:116:58:

    Not in scope: ‘pubkeyEC_pub’

Data/X509/Validation/Signature.hs:121:37:

    Not in scope: ‘pubkeyEC_a’

Data/X509/Validation/Signature.hs:122:37:

    Not in scope: ‘pubkeyEC_b’

Data/X509/Validation/Signature.hs:123:37:

    Not in scope: ‘pubkeyEC_order’

Data/X509/Validation/Signature.hs:124:37:

    Not in scope: ‘pubkeyEC_prime’

Data/X509/Validation/Signature.hs:136:33:

    Not in scope: data constructor ‘SerializedPoint’

    Perhaps you meant variable ‘unserializePoint’ (line 136)

Looks like a missing lower bounds on x509.

EDIT: forgot a link to the travis build.

fisx commented 8 years ago

I think should 1.6.3 be 1.7?

https://wiki.haskell.org/Package_versioning_policy

fisx commented 8 years ago

Just got corrected by @jkarni: you're not breaking pvp (as far as the above errors are concerned anyway), but add functions in one package (which is allowed between 1.6.2 and 1.6.3) that are expected in another (which is also allowed). The problem is that the other package doesn't know it needs 1.6.3 now, and 1.6.2 will break.

Sorry for the noise! (-: