You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to decrypt the ticket on the initiator/client side? I tried perhaps naively using ticket.Decrypt(skey) however that returns error decrypting Ticket EncPart: error decrypting: integrity verification failed so perhaps that's not the correct key to use.
Specifically, I'd like to get at the ticket timing fields on the initiator/client side which don't seem to be exported in an obvious way. For now, I can calculate an approximate end time with time.Now().Add(cl.Config.LibDefaults.TicketLifetime) but that's slightly inaccurate.
The text was updated successfully, but these errors were encountered:
Assuming I have the following code:
Is there a way to decrypt the ticket on the initiator/client side? I tried perhaps naively using
ticket.Decrypt(skey)
however that returnserror decrypting Ticket EncPart: error decrypting: integrity verification failed
so perhaps that's not the correct key to use.Specifically, I'd like to get at the ticket timing fields on the initiator/client side which don't seem to be exported in an obvious way. For now, I can calculate an approximate end time with
time.Now().Add(cl.Config.LibDefaults.TicketLifetime)
but that's slightly inaccurate.The text was updated successfully, but these errors were encountered: