kurtbrose / pyjks

a pure python Java KeyStore file parser, including private key decryption
MIT License
130 stars 35 forks source link

mistake in PyPI document #53

Closed abtinmo closed 5 years ago

abtinmo commented 5 years ago

in the PyPI page you can see the following example:

import jks

keystore = jks.KeyStore.load('keystore.jks', 'passphrase')

print(ks.private_keys)
print(ks.certs)
print(ks.secret_keys)

you will get :

>>> print(ks.private_keys) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'ks' is not defined

mahmoud commented 5 years ago

I believe this is the same as #52. Maybe I should move up the next release just to fix this :) Thanks for keeping an eye out!