ykman.openpgp
Functions
|
Performs an OpenPGP factory reset while avoiding any unneccessary commands. |
|
|
|
Get human readable information about the OpenPGP configuration. |
Module Contents
- ykman.openpgp.safe_reset(connection)[source]
Performs an OpenPGP factory reset while avoiding any unneccessary commands.
If any data is unreadable preventing the OpenPgpSession from initializing, then OpenPgpSession.reset() will not be able to be called. This function can instead be used to reset the application into a fresh state.
- Parameters:
connection (yubikit.core.smartcard.SmartCardConnection)
- Return type:
None
- ykman.openpgp.get_openpgp_info(session)[source]
Get human readable information about the OpenPGP configuration.
- Parameters:
session (yubikit.openpgp.OpenPgpSession) – The OpenPGP session.