[8u] RFR 8165996: PKCS11 using NSS throws an error regarding secmod.db when NSS uses sqlite

Andrew Hughes gnu.andrew at redhat.com
Fri Aug 28 20:16:10 UTC 2020


On 17:01 Fri 28 Aug     , Martin Balao wrote:
> Hi,
> 
> Thanks for having a look at this.
> 
> On 8/28/20 4:38 PM, Andrew Hughes wrote:
> > I'm seeing a difference in the binary diff of the two .db files
> > and, when the patch is applied, they seem to apparently be from
> > a different SQLite version:
> > 
> > JDK 16:
> > $ file jdk/test/jdk/sun/security/pkcs11/Secmod/cert9.db
> > ../../jdk/test/jdk/sun/security/pkcs11/Secmod/cert9.db: SQLite 3.x database, last written using SQLite version 3011000
> > 
> > JDK 8u with patch:
> > $ file test/sun/security/pkcs11/Secmod/cert9.db
> > test/sun/security/pkcs11/Secmod/cert9.db: SQLite 3.x database, last written using SQLite version 3014002
> > 
> > Can you please update the webrev with the versions used in 11u?
> 
> I'm not completely sure about the binary difference but have generated
> the patch again including the files directly from 11u.
> 
> Webrev.04:
>  *
> http://cr.openjdk.java.net/~mbalao/webrevs/8165996/8165996.jdk8u.jdk.webrev.04/
> 
> No regressions in sun/security/pkcs11 observed.
> 
> Thanks,
> Martin.-
> 
> 

Thanks. I see no differences in the binaries with this version.

Please flag for approval with jdk8u-fix-request.

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222


More information about the jdk8u-dev mailing list