From 50d1ec9e809b6c79a7f75c46599e432f21a83c9f Mon Sep 17 00:00:00 2001 From: Shutdown Date: Fri, 15 Oct 2021 12:02:37 +0200 Subject: [PATCH] Co-authored-by: GeisericII --- examples/getST.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/getST.py b/examples/getST.py index 8b8c5f4b09..228772354c 100755 --- a/examples/getST.py +++ b/examples/getST.py @@ -98,7 +98,7 @@ def doS4U2ProxyWithAdditionalTicket(self, tgt, cipher, oldSessionKey, sessionKey logging.info("\tUsing additional ticket %s instead of S4U2Self" % additional_ticket_path) ccache = CCache.loadFile(additional_ticket_path) principal = ccache.credentials[0].header['server'].prettyPrint() - creds = ccache.getCredential(principal) + creds = ccache.getCredential(principal.decode()) TGS = creds.toTGS(principal) tgs = decoder.decode(TGS['KDC_REP'], asn1Spec=TGS_REP())[0]