diff --git a/python_custom_client/auth.py b/python_custom_client/auth.py index 65da869e62288ae4cacac63dbd73e67c99a9bb5d..10d649383f2e1de6ac4ccefe8abe057b6b4ae479 100644 --- a/python_custom_client/auth.py +++ b/python_custom_client/auth.py @@ -71,9 +71,6 @@ def pack_boolean(b): def pack_bytes(bytes_data): return struct.pack(f">{len(bytes_data)}s", bytes_data) -def pack_rsa_key(key): - return struct.pack(f">{len(bytes(key.get_base64(), 'utf-8'))}s", key.get_bits()) - def _get_session_blob(key, service, username, algorithm, session_id, userauth_request): global public_key_bits