kushaldas / johnnycanencrypt

Python module for OpenPGP written in Rust.
GNU Lesser General Public License v3.0
51 stars 9 forks source link

Db upgrade #64

Closed kushaldas closed 3 years ago

kushaldas commented 3 years ago

Idea

We will create a fresh temporary db, and then reimport all the existing keys into. Then we sync the values of oncard for each key.

How to test?

First create a jce.db file from the master branch via a keystore object and do the same from this branch. It should not raise any exception. The database should have the revoked status of each key.

Check the newly added test cases for more details.