[go: up one dir, main page]

Menu

#122 1.4.0 Cannot open DB

1.4.1
closed-fixed
nobody
None
5
2018-03-04
2018-01-31
Jean-Marc
No

I can open my DB without any problem in v1.3.2
With 1.4.0, I get following error message after I have type the DB password :

L'erreur suivante s'est produite:
(pki_x509:)
error:0D0E10DF:asn1 encoding routines:asn1_get_uint64:too large
(pki_x509.cpp:60)

I clic then on OK and I am back in the program, with NO DB open.

Reverting to 1.3.2. resolves the problem.
Thanks for your help.

Related

Bugs: #122

Discussion

  • Christian Hohnstaedt

    • Group: 1.4.0 --> 1.4.1
     
  • Christian Hohnstaedt

    I cannot trigger the problem here.
    Can you provide a database without sensible data that shows the issue?

     
  • Ryan

    Ryan - 2018-02-03

    Also experiencing this issue.

    I am uncertain if it is related, but I have a large database - approximately 1MB.

     
  • Harald Dunkel

    Harald Dunkel - 2018-02-05

    I am affected, too.

     
  • Jean-Marc

    Jean-Marc - 2018-02-07

    Not related to size;
    I could reproduce the problem with only one certificate, its private key and its authority certificate. I cannot send it since it contains sensible data. Doing some more tests.

     
  • tiker

    tiker - 2018-02-08

    I'm getting the same error on Windows 7, opening a DB created with the previous version of XCA with a file size of 113kb.

    I'll try to create a dummy DB for you shortly.

     
  • tiker

    tiker - 2018-02-09

    Re-creating this problem in a new file is a bit of a challange. Here's what I've tried so far in case it helps without a sample file.

    Using version 1.3.2 I've tried creating a new XDB file, creating test CAs, CSRs, etc. with no luck in reproducing the error. I've tried importing all sorts of certificates from various locations and sources with no luck.

    If I copy the entire list of certificates from my normal XDB file to the clipboard (Export/Clipboard) and then import it to a new XDB file (Paste PEM data), this file will give the error with 1.4.0 but the line "error:0D0E10DF:asn1 encoding routines:asn1_get_uint64:too large" only appears once. Trying to open my real XDB file with 1.4.0 gives me that error about 7 times.

    Since I don't want to share the entire certificate list, I'd open this test XDB file with 1.3.2, remove 3 certificates and attempted to open it in 1.4.0. I'd repeat this process until 1.4.0 opens the file. At that point, I'd try copying just the 3 certificates into a new XDB file but 1.4.0 would still open the new XDB. I'd start this process over again but would first remove the 3 certificates that allowed 1.4.0 to open the XDB. Version 1.4.0 still would not open the XDB and eventually it was a different set of 3 certificates that once removed, 1.4.0 would open.

    Anyways, I'm still trying to get a file to post here to show the problem.

     
  • Christian Hohnstaedt

    Hello,

    i created a 1.4.1-pre01 version downloadable at https://hohnstaedt.de/downloads/
    It should give better error location information.
    Please test it and report any error message. Thank you.

     
    • Jean-Marc

      Jean-Marc - 2018-02-19

      Hello,

      Same message :

      • 1.4.1-pre01
        L'erreur suivante s'est produite:
        (pki_x509:)
        error:0D0E10DF:asn1 encoding routines:asn1_get_uint64:too large

      (pki_x509.cpp:60)

      • 1.4.0
        L'erreur suivante s'est produite:
        (pki_x509:)
        error:0D0E10DF:asn1 encoding routines:asn1_get_uint64:too large

      (pki_x509.cpp:60)

      De : Christian Hohnstaedt [mailto:chris2511@users.sourceforge.net]
      Envoyé : dimanche 18 février 2018 11:14
      À : [xca:bugs] 122@bugs.xca.p.re.sf.net
      Objet : [xca:bugs] #122 1.4.0 Cannot open DB

      Hello,

      i created a 1.4.1-pre01 version downloadable at https://hohnstaedt.de/downloads/
      It should give better error location information.
      Please test it and report any error message. Thank you.


      [bugs:#122]https://sourceforge.net/p/xca/bugs/122/ 1.4.0 Cannot open DB

      Status: open
      Group: 1.4.1
      Created: Wed Jan 31, 2018 07:04 AM UTC by Jean-Marc
      Last Updated: Fri Feb 09, 2018 02:06 PM UTC
      Owner: nobody

      I can open my DB without any problem in v1.3.2
      With 1.4.0, I get following error message after I have type the DB password :

      L'erreur suivante s'est produite:
      (pki_x509:)
      error:0D0E10DF:asn1 encoding routines:asn1_get_uint64:too large
      (pki_x509.cpp:60)

      I clic then on OK and I am back in the program, with NO DB open.

      Reverting to 1.3.2. resolves the problem.
      Thanks for your help.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/xca/bugs/122/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #122

  • tiker

    tiker - 2018-02-21

    No changes in the error message for me with the 1.4.1pre01 version.

    The following error occurred:
    (pki_x509:)
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    error:0D0E00DF:asn1 encoding routines:asn1_get_int64:too large
    
    (pki_x509.cpp:60)
    
     
    • tiker

      tiker - 2018-02-21

      Or maybe it has changed a bit..? I'll have to do more testing with this and 1.4.0.

       
  • Christian Hohnstaedt

    • status: open --> closed-fixed
     
  • Christian Hohnstaedt

    Fixed in XCA 1.4.1 with

    commit 365507b36e0633a6f978e632f97a0cdaca6b4dde
    Author: Christian Hohnstaedt christian@hohnstaedt.de
    Date: Thu Mar 1 22:06:23 2018 +0100

    SF Bug #122 isValid() tried to convert the serial to 64 bit
    
    With OpenSSL 1.1.0 this results in an error message
    if the serial was too long.
    With OpenSSL 1.0.x it didn't.