Skip to content

Commit

Permalink
Co-authored-by: GeisericII <g.giacobbe1@outlook.it>
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutdownRepo committed Oct 15, 2021
1 parent 76f3992 commit 50d1ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/getST.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 50d1ec9

Please sign in to comment.