scop / portecle

User friendly GUI application for creating, managing and examining keystores, keys, certificates, certificate requests, certificate revocation lists and more
http://portecle.sourceforge.net/
GNU General Public License v2.0
154 stars 47 forks source link

Unable to save a .bcfks file with 60 entries or more #51

Closed s7o1 closed 6 years ago

s7o1 commented 6 years ago

Try to save a .bcfks file with 60 entries or more will run into the following error: java.lang.IllegalStateException: CCM packet too large for choice of q Attached a bcfks file (with password changeit) with 59 entries, import any cert into and try to save, and you'll run into the exception. The file size becomes 0 byte at that point. trustcerts-59 .zip Or you can try with one that has 107 entries. trustcerts-107.zip

s7o1 commented 6 years ago

Updating BC jars from version 1.58 to version 1.59 seems to get that to work.