adb.sign_cryptography module¶
ADB authentication using the cryptography
package.
Contents
-
class
adb.sign_cryptography.
CryptographySigner
(rsa_key_path)[source]¶ Bases:
adb.adb_protocol.AuthSigner
AuthSigner using cryptography.io.
Warning
This is currently broken!
- Parameters
rsa_key_path (str) – The path to the private key.
-
public_key
¶ The contents of the public key file
- Type
str
-
rsa_key
¶ The loaded private key
- Type
cryptography.hazmat.backends.openssl.rsa._RSAPrivateKey