diff --git a/python/src/trezorlib/device.py b/python/src/trezorlib/device.py index ea07f9e8e2..23d1ea1cba 100644 --- a/python/src/trezorlib/device.py +++ b/python/src/trezorlib/device.py @@ -193,3 +193,8 @@ def reset( def backup(client): ret = client.call(messages.BackupDevice()) return ret + + +@expect(messages.Success, field="message") +def cancel_authorization(client): + return client.call(messages.CancelAuthorization())