Skip to content

Commit

Permalink
Another fix to demorun.md -- the right RFC4120 structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanrein committed Sep 20, 2016
1 parent f025ac3 commit d71e56d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions demorun.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,18 @@ And we can look at the contained DER data, and how it is structured:

Note how this dump follows the ASN.1 specs, thanks to the Quick DER library:

EncryptedData ::= SEQUENCE {
etype [0] Int32 -- EncryptionType --,
kvno [1] UInt32 OPTIONAL,
cipher [2] OCTET STRING -- ciphertext
EncTicketPart ::= [APPLICATION 3] SEQUENCE {
flags [0] TicketFlags,
key [1] EncryptionKey,
crealm [2] Realm,
cname [3] PrincipalName,
transited [4] TransitedEncoding,
authtime [5] KerberosTime,
starttime [6] KerberosTime OPTIONAL,
endtime [7] KerberosTime,
renew-till [8] KerberosTime OPTIONAL,
caddr [9] HostAddresses OPTIONAL,
authorization-data [10] AuthorizationData OPTIONAL
}

There is no authorization-data in the ticket cache, so it is absent; there may
Expand Down

0 comments on commit d71e56d

Please sign in to comment.