Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell or Elm error: unknown public key OID

I have an error in Windows with Elm:

elm-make.exe: unknown public key OID: [1,2,643,2,2,19]

Also I have the same with Haskell Platform, because it's an error of Data.X509.PublicKey module. How to fix it?

I've found that 1.2.643.2.2.19 is a GOST R 34.10-2001 encryption algorithm installed with Crypto PRO encryption software. How to revert it back to defaults?

like image 382
17 revs, 13 users 59% Avatar asked Aug 22 '16 18:08

17 revs, 13 users 59%


1 Answers

I confirm that it is likely CryptoPro. For me, error happened when using pandoc-citeproc.

I solved it this way without reinstalling Windows:

  1. Removing CryproPro.
  2. Then manually removing trusted root certificates using ГОСТ algorithm (they were likely the reason of such a crash) as shown here.

Good luck!

P.S. Don't know if Russian ГОСТ certificates actually violate standards in some very bad way or Haskell library does. This is subject to investigate.

like image 119
dluciv Avatar answered Nov 12 '22 00:11

dluciv