scop/portecle

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

s7o1 opened this issue · 1 comments

s7o1 commented

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

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