mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 06:28:23 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 93198a19ed)
This commit is contained in:
committed by
Tim Abbott
parent
893c10f869
commit
2e4785f51c
@@ -132,9 +132,11 @@ def der_encode_ticket(tkt: Dict[str, Any]) -> bytes:
|
||||
der_encode_sequence( # EncryptedData
|
||||
[
|
||||
der_encode_int32(tkt["encPart"]["etype"]),
|
||||
der_encode_uint32(tkt["encPart"]["kvno"])
|
||||
if "kvno" in tkt["encPart"]
|
||||
else None,
|
||||
(
|
||||
der_encode_uint32(tkt["encPart"]["kvno"])
|
||||
if "kvno" in tkt["encPart"]
|
||||
else None
|
||||
),
|
||||
der_encode_octet_string(base64.b64decode(tkt["encPart"]["cipher"])),
|
||||
]
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user