Personal Assertion Token (PASSporT)ComcastOne Comcast CenterPhiladelphia, PA 19103USAchris-ietf@chriswendt.netNeustar Inc.1800 Sutter St Suite 570Concord, CA 94520USjon.peterson@neustar.biz
ART
STIRInternet-DraftThis document defines a method for creating and validating a token that cryptographically verifies an originating identity, or more generally a URI or telephone number representing the originator of personal communications. The PASSporT token is cryptographically signed to protect the integrity of the identity the originator and to verify the assertion of the identity information at the destination. The cryptographic signature is defined with the intention that it can confidently verify the originating persona even when the signature is sent to the destination party over an insecure channel. PASSporT is particularly useful for many personal communications applications over IP networks and other multi-hop interconnection scenarios where the originating and destination parties may not have a direct trusted relationship.In today’s IP-enabled telecommunications world, there is a growing concern about the ability to trust incoming invitations for communications sessions, including video, voice and messaging . As an example, modern telephone networks provide the ability to spoof the calling party telephone number for many legitimate purposes including providing network features and services on the behalf of a legitimate telephone number. However, as we have seen, bad actors have taken advantage of this ability for illegitimate and fraudulent purposes meant to trick telephone users to believe they are someone they are not. This problem can be extended to many emerging forms of personal communications.This document defines a method for creating and validating a token that cryptographically verifies an originating identity, or more generally a URI or telephone number representing the originator of personal communications. Through extensions defined in this document, in , other information relevant to the personal communications can also be added to the token. The goal of PASSporT is to provide a common framework for signing originating identity related information in an extensible way. Additionally, this functionality is independent of any specific personal communications signaling call logic, so that the assertion of originating identity related information can be implemented in a flexible way and can be used in applications including end-to-end applications that require different signaling protocols or gateways between different communications systems. It is anticipated that signaling protocol specific guidance will be provided in other related documents and specifications to specify how to use and transport PASSporT tokens, however this is intentionally out of scope for this document. provides details of the use of PASSporT within SIP signaling protocol for the signing and verification of telephone numbers and SIP URIs.The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL
NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this
document are to be interpreted as described in RFC 2119 .JSON Web Token (JWT) and JSON Web Signature (JWS) and related specifications define a standard token format that can be used as a way of encapsulating claimed or asserted information with an associated digital signature using X.509 based certificates. JWT provides a set of claims in JSON format that can conveniently accommodate asserted originating identity information and is easily extensible for extension mechanisms defined below. Additionally, JWS provides a path for updating methods and cryptographic algorithms used for the associated digital signatures.JWS defines the use of JSON data structures in a specified canonical format for signing data corresponding to JOSE header, JWS Payload, and JWS Signature. JWT defines a set of claims that are represented by specified JSON objects which can be extended with custom keys for specific applications. The next sections define the header and claims that MUST be minimally used with JWT and JWS for PASSporT.PASSporT specifically uses this token format and defines claims that convey the identity of the origination and destination of personal communications. The originating identity, the primary value asserted in a PASSporT object represents the identity of the calling party or the initiator of a personal communications session. The signer of a PASSporT object may or may not correspond to the origination identity. For a given application’s use or using protocol of PASSporT the creation of the PASSporT object is performed by an entity that is authoritative to assert the callers identity. This authority is represented by the certificate credentials and the signature and PASSporT object is created and initiated to the destination(s) at the applications choice of authoritative point(s) in the network. For example, the PASSporT object could be created at a device that has authenticated with a user, or at a network entity with an authenticated trust relationship with that device and it’s user. Destination identities represent the intended destination of the personal communications, i.e. the identity(s) being called by the caller. The destination point(s) determined by the application need to have the capability to verify the PASSporT token and the digital signature. The PASSporT associated certificate is used to validate the authority of the originating signer, generally via a certificate chain to the trust anchor for that application.The JWS token header is a JOSE header, Section 4, that defines the type and encryption algorithm used in the token.PASSporT header should include, at a minimum, the header parameters defined in the next three subsections.The “typ” (Type) Header Parameter is defined in JWS Section 4.1.9. to declare the media type of the complete JWS.For PASSporT Token the “typ” header MUST be the string “passport”. This represents that the encoded token is a JWT of type passport.The “alg” (Algorithm) Header Parameter is defined in JWS Section 4.1.1. This definition includes the ability to specify the use of a cryptographic algorithm for the signature part of the JWS. It also refers to a list of defined “alg” values as part of a registry established by JSON Web Algorithms (JWA) Section 3.1.For the creation and verification of PASSporT tokens and their digital signatures, implementations MUST support ES256 as defined in JWA Section 3.4. Implementations MAY support other algorithms registered in the JSON Web Signature and Encryption Algorithms registry created by . The contents of that registry may be updated in the future depending on cryptographic strength requirements guided by current security best practice. The mandatory-to-support algorithm for PASSporT tokens may likewise be updated in future updates to this document.As defined in JWS Section 4.1.5., the “x5u” header parameter defines a URI referring to the resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS. Generally, as defined in JWS section 4.1.5, this would correspond to an HTTPS or DNSSEC resource using integrity protection.An example of the header, would be the following, including the specified passport type, ES256 algorithm, and a URI referencing the network location of the certificate needed to validate the PASSporT signature.The token claims consist of the information which needs to be verified at the destination party. These claims follow the definition of a JWT claim Section 4 and are encoded as defined by the JWS Payload Section 3.PASSporT defines the use of a standard JWT defined claim as well as custom claims corresponding to the two parties associated with personal communications, the originator and destination as detailed below.Any claim names or claim values outside the US-ASCII range should follow the default JSON serialization defined in Section 7.The JSON claim MUST include the “iat” Section 4.1.6 defined claim Issued At. As defined the “iat” should be set to the date and time of issuance of the JWT and MUST the origination of the personal communications. The time value should be of the format defined in Section 2 NumericDate. This is included for securing the token against replay and cut and paste attacks, as explained further in the security considerations in .The origination and destination identities are represented by two claims that are required for PASSporT, the “orig” and “dest” claims. Both “orig” and “dest” MUST contain claim values that are identity claim JSON objects where the child claim name represents an identity type and the claim value is the identity string, both defined in subsequent subsections. Currently, these identities can be represented as either telephone numbers or Uniform Resource Indicators (URIs).The “orig” claim is a JSON object with the claim name of “orig” and a claim value which is a JSON object representing the asserted identity of any type (currently either “tn” or “uri”) of the originator of the personal communications signaling. There MUST be exactly one “orig” claim with exactly one identity claim object in a PASSporT object.Note, as explained in , the originating identity represents the calling party and may or may not correspond to the authoritative signer of the token.The “dest” is a JSON object with the claim name of “dest” and MUST have at least have one identity claim object. The “dest” claim value is an array containing one or more identity claim JSON objects representing the destination identities of any type (currently “tn” or “uri”). If the “dest” claim value array contains both “tn” and “uri” claim names, the JSON object should list the “tn” array first and the “uri” array second. Within the “tn” and “uri” arrays, the identity strings should be put in lexicographical order including the scheme-specific portion of the URI characters.Note, as explained in , the destination identity represents the called party and may or may not correspond to the authoritative party verifying the token signature.If the originating or destination identity is a telephone number, the claim name representing the identity MUST be “tn”.The claim value for the “tn” claim is the telephone number and MUST be canonicalized according to the procedures specified in Section 8.3.If any of the originating or destination identities is of the form URI, as defined in , the claim name representing the identity MUST be “uri” and the claim value is the URI form of the identity.We recognize that in the future there may be other standard mechanisms for representing identities. The “orig” and “dest” claims currently support “tn” and “uri” but could be extended in the future to allow for other identity types with new IANA registered unique types to represent these forms.Single originator, with telephone number identity +12155551212, to single destination, with URI identity ‘sip:alice@example.com’, example:Single originator, with telephone number identity +12155551212, to multiple destination identities, with telephone number identity +12125551212 and two URI identities, sip:alice@example.com and sip:bob@example.com, example:Some protocols that use PASSporT may also want to protect media security keys delivered within their signaling in order to bind those keys to the identities established in the signaling layers. The “mky” is an optional PASSporT claim defining the assertion of media key fingerprints carried in SDP via the “a=fingerprint” attribute Section 5. This claim can support either a single or multiple fingerprints appearing in a single SDP body corresponding to one or more media streams offered as defined in .The “mky” claim MUST be formatted as a JSON object with an array including the “alg” and “dig” claims with the corresponding algorithm and hexadecimal values. If there is more than one fingerprint value associated with different media streams in SDP, the fingerprint values MUST be constructed as a JSON array denoted by bracket characters.
For the “dig” claim, the claim value MUST be the hash hexadecimal value without any colons.The “mky” claim is a JSON object with a claim name of “mky” and a claim value of a JSON array denoted by brackets. The “mky” claim value JSON array MUST be constructed as follows:Take each “a=fingerprint” lines carried in the SDP.Sort the lines based on the UTF8 encoding of the concatenation of the “alg” and “dig” claim value strings.Encode the array in the order of the sorted lines, where each “mky” array element is a JSON object with two elements corresponding to the “alg” and “dig” objects, with “alg” first and “dig” second.An example claim with “mky” claim is as follows:For an SDP offer that includes the following fingerprint values,the PASSporT Payload object would be:The signature of the PASSporT is created as specified by JWS Section 5.1 Steps 1 through 6. PASSporT MUST use the JWS Protected Header. For the JWS Payload and the JWS Protected Header, the lexicographic ordering and white space rules described in and , and JSON serialization rules in of this document MUST be followed.Appendix A of this document has a detailed example of how to follow the steps to create the JWS Signature.JWS Section 5.1 Step 7 JWS JSON serialization is not supported for PASSporT.JWS Section 5.1 Step 8 describes the method to create the final JWS Compact Serialization form of the PASSporT Token.For a using protocol of PASSporT, the PASSporT Claims as well as the PASSporT Header may include redundant or default information that could be reconstructed at the destination based on information provided in the signaling protocol transporting the PASSporT object. In this case, it may be advantageous to have a more compact form of PASSporT to save the transmission of the bytes needed to represent the header and claims.This specification defines the compact form of the PASSporT token, in the spirit of form defined in Appendix F, with the use of ‘..’, two periods to represent the header and claim objects being removed, followed by PASSporT signature as defined in , and the need for the destination to reconstruct the header and claim objects in order to verify the signature.In order to construct the Compact form of the PASSporT string, the procedure described in with the exception of Step 8 described in JWS Section 5.1. This step would be replaced by the following construction of the compact form of PASSporT,
‘..’ || BASE64URL(JWS Signature).The using protocol of the compact form of PASSporT MUST be accompanied by a specification for how the header and claims objects can be reconstructed from information in the signaling protocol being used.Note that the full form of the PASSporT token, containing the entire header, payload, and signature, should also use the lexicographic ordering and white space serialization rules, particularly in the case where some using protocols or interworking between protocols may require switching between full and compact forms and maintaining the integrity of the signature.The compact form of the following example token (with line breaks between period used for readability purposes only)would be as follows (with line breaks between period used for readability purposes only)PASSporT includes the bare minimum set of claims needed to securely assert the originating identity and support the secure properties discussed in various parts of this document. JWT supports a straight forward way to add additional asserted or signed information by simply adding new claims. PASSporT can be extended beyond the defined base set of claims to represent other information requiring assertion or validation beyond the originating identity itself as needed.Any using protocol can extend the payload of PASSporT with additional JWT claims. JWT claims are managed by an existing IANA registry as defined in Section 10.1. Implementations of PASSporT MUST support the baseline claims defined in , and MAY support extended claims. If it is necessary for an extension to PASSporT to require that a relying party support a particular extended claim or set of claims in the PASSporT object, it can do so by specifying a “ppt” element for the PASSporT JOSE header. All values of “ppt” need to be defined in a specification which associates the new value of the “ppt” element with the required claims and behaviors. Relying parties MUST fail to validate PASSporT objects containing an unsupported “ppt”.Using protocols MUST explicitly define the how each claim is carried in the using protocol and the rules for how the header and payload objects are constructed beyond the lexicographical and serialization rules defined in this document.Using protocols that carry the compact form of PASSporT, defined in , instead of the full form MUST use only mandatory extensions signaled with “ppt” - if a using protocol were to add additional optional claims to a PASSporT object it carried in compact form, relying parties would have no way to reconstruct the token. Moreover, using protocols that support the compact form of PASSporT MUST have some field to signal “ppt” to relying parties, as the compact form of PASSporT omits the JOSE header.An example header with a PASSporT extension type of “foo” is as follows:Specifications that define extensions to the PASSporT mechanism MUST explicitly specify what claims they include beyond the base set of claims from this document, the order in which they will appear, and any further information necessary to implement the extension. All extensions MUST include the baseline PASSporT claim elements specified in ; claims may only be appended to the claims object specified; they can never be removed or re-ordered. Specifying new claims follows the baseline JWT procedures ( Section 10.1). Understanding an extension or new claims defined by the extension on the destination verification of the PASSporT token is optional. The creator of a PASSporT object cannot assume that destination systems will understand any given extension. Verification of PASSporT tokens by destination systems that do support an extension may then trigger appropriate application-level behavior in the presence of an extension; authors of extensions should provide appropriate extension-specific guidance to application developers on this point.An example set of extended claims, extending the first example in using “bar” as the newly defined claim would be as follows:JSON objects can include spaces and line breaks, and key value pairs can occur in any order. It is therefore a non-deterministic string format. In order to make the digital signature verification work deterministically, the JSON representation of the JWS Protected Header object and JWS Payload object MUST be computed as follows.The JSON object MUST follow the following rules. These rules are based on the thumbprint of a JSON Web Key (JWK) as defined in Section 3 Step 1 of .The JSON object MUST contain no whitespace or line breaks before or after any syntactic elements.JSON objects MUST have the keys ordered lexicographically by the Unicode code points of the member names.JSON value literals MUST be lowercase.JSON numbers are to be encoded as integers unless the field is defined to be encoded otherwise.Encoding rules MUST be applied recursively to member values and array values.Note: For any PASSporT extension claims, member names within the scope of a JSON object MUST NOT be equal to other member names, otherwise serialization will not be deterministic.This section demonstrate the deterministic JSON serialization for the example PASSporT Payload shown in .The initial JSON object is shown here:The parent members of the JSON object are as follows:“dest”“orig”“iat”“mky”Their lexicographic order is:“dest”“iat”“mky”“orig”The final constructed deterministic JSON serialization representation, with whitespace and line breaks removed, (with line breaks used for display purposes only) is:There are a number of security considerations for use of the token for avoidance of replay and cut and paste attacks. PASSporT tokens SHOULD only be sent with application level protocol information (e.g. for SIP an INVITE as defined in ) corresponding to the required fields in the token. A uniqueness of the set of token claims and token signature is constructed using the originating identity being asserted with the ‘orig’ claim along with the following two claims:‘iat’ claim should correspond to a date/time the message was originated. It should also be within a relative time that is reasonable for clock drift and transmission time characteristics associated with the application using the PASSporT token. Therefore, validation of the token should consider date and time correlation, which could be influenced by signaling protocol specific use and network time differences.‘dest’ claim is included to prevent the valid re-use of a previously originated message to send to another destination party.The use of PASSporT tokens based on the validation of the digital signature and the associated certificate requires consideration of the authentication and authority or reputation of the signer to attest to the identity being asserted. The following considerations should be recognized when using PASSporT:The use of this token should not, in it’s own right, be considered a full solution for absolute non-repudiation of the identity being asserted.In many applications, the end user represented by the asserted identity represents and signer may not be one in the same. For example, when a service provider signs and validates the token on the behalf of the user consuming the service, the provider MUST have an authenticated and secure relationship with the end user or the device initiating and terminating the communications signaling.Applications that use PASSporT should ensure the verification of the signature includes the means of verifying the signer is authoritative through the use of an application or service specific set of common trust anchors for the application.This section registers the “application/passport” media type in the “Media Types” registry in the manner described in , which can be used to indicate that the content is a PASSporT defined JWT.Type name: applicationSubtype name: passportRequired parameters: n/aOptional parameters: n/aEncoding considerations: 8bit; application/passport values are encoded as a series of base64url-encoded values (some of which may be the empty string) separated by period (‘.’) characters..Security considerations: See the Security Considerations Section of .Interoperability considerations: n/aPublished specification: [RFCThis]Applications that use this media type: STIR and other applications that require identity related assertionFragment identifier considerations: n/aAdditional information:
Magic number(s): n/a
File extension(s): n/a
Macintosh file type code(s): n/aPerson & email address to contact for further information: Chris Wendt, chris-ietf@chriswendt.netIntended usage: COMMONRestrictions on usage: noneAuthor: Chris Wendt, chris-ietf@chriswendt.netChange Controller: IESGProvisional registration? NoClaim Name: “orig”Claim Description: Originating Identity StringChange Controller: IESGSpecification Document(s): of [RFCThis]Claim Name: “dest”Claim Description: Destination Identity StringChange Controller: IESGSpecification Document(s): of [RFCThis]Claim Name: “mky”Claim Description: Media Key Fingerprint StringChange Controller: IESGSpecification Document(s): of [RFCThis]Header Parameter Name: “ppt”Header Parameter Description: PASSporT extension identifierHeader Parameter Usage Location(s): JWSChange Controller: IESGSpecification Document(s): of [RFCThis]The IANA is requested to create a new PASSporT Type registry for ‘ppt’ parameter values. That parameter and its values are defined in . New registry entries must contain the name of the ‘ppt’ parameter value and the specification in which the value is described. The policy for this registry is Specification Required.Particular thanks to members of the ATIS and SIP Forum NNI Task Group including Jim McEchern, Martin Dolly, Richard Shockey, John Barnhill, Christer Holmberg, Victor Pascual Avila, Mary Barnes, Eric Burger for their review, ideas, and contributions also thanks to Henning Schulzrinne, Russ Housley, Alan Johnston, Richard Barnes, Mark Miller, Ted Hardie, Dave Crocker, Robert Sparks, Jim Schaad for valuable feedback on the technical and security aspects of the document. Additional thanks to Harsha Bellur for assistance in coding the example tokens.Authenticated Identity Management in the Session Initiation Protocol (SIP)The baseline security mechanisms in the Session Initiation Protocol (SIP) are inadequate for cryptographically assuring the identity of the end users that originate SIP requests, especially in an interdomain context. This document defines a mechanism for securely identifying originators of SIP requests. It does so by defining a SIP header field for conveying a signature used for validating the identity, and for conveying a reference to the credentials of the signer.SDP Fingerprint Attribute Usage ClarificationsThis document updates RFC 4572 by clarifying the usage of multiple SDP 'fingerprint' attributes with a single SDP media description ("m= line"). The document also updates the preferred cipher suite with a stronger cipher suite.Multipurpose Internet Mail Extensions (MIME) Part Two: Media TypesThis second document defines the general structure of the MIME media typing system and defines an initial set of media types. [STANDARDS-TRACK]Uniform Resource Identifier (URI): Generic SyntaxA Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet. The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier. This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme. [STANDARDS-TRACK]SDP: Session Description ProtocolThis memo defines the Session Description Protocol (SDP). SDP is intended for describing multimedia sessions for the purposes of session announcement, session invitation, and other forms of multimedia session initiation. [STANDARDS-TRACK]Connection-Oriented Media Transport over the Transport Layer Security (TLS) Protocol in the Session Description Protocol (SDP)This document specifies how to establish secure connection-oriented media transport sessions over the Transport Layer Security (TLS) protocol using the Session Description Protocol (SDP). It defines a new SDP protocol identifier, 'TCP/TLS'. It also defines the syntax and semantics for an SDP 'fingerprint' attribute that identifies the certificate that will be presented for the TLS session. This mechanism allows media transport over TLS connections to be established securely, so long as the integrity of session descriptions is assured.This document extends and updates RFC 4145. [STANDARDS-TRACK]Media Type Specifications and Registration ProceduresThis document defines procedures for the specification and registration of media types for use in HTTP, MIME, and other Internet protocols. This memo documents an Internet Best Current Practice.JSON Web Signature (JWS)JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and an IANA registry defined by that specification. Related encryption capabilities are described in the separate JSON Web Encryption (JWE) specification.JSON Web Algorithms (JWA)This specification registers cryptographic algorithms and identifiers to be used with the JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK) specifications. It defines several IANA registries for these identifiers.JSON Web Token (JWT)JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted.JSON Web Key (JWK) ThumbprintThis specification defines a method for computing a hash value over a JSON Web Key (JWK). It defines which fields in a JWK are used in the hash computation, the method of creating a canonical form for those fields, and how to convert the resulting Unicode string into a byte sequence to be hashed. The resulting hash value can be used for identifying or selecting the key represented by the JWK that is the subject of the thumbprint.The Unicode StandardThe Unicode ConsortiumKey words for use in RFCs to Indicate Requirement LevelsIn many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.SIP: Session Initiation ProtocolThis document describes Session Initiation Protocol (SIP), an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences. [STANDARDS-TRACK]Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) ProfileThis memo profiles the X.509 v3 certificate and X.509 v2 certificate revocation list (CRL) for use in the Internet. An overview of this approach and model is provided as an introduction. The X.509 v3 certificate format is described in detail, with additional information regarding the format and semantics of Internet name forms. Standard certificate extensions are described and two Internet-specific extensions are defined. A set of required certificate extensions is specified. The X.509 v2 CRL format is described in detail along with standard and Internet-specific extensions. An algorithm for X.509 certification path validation is described. An ASN.1 module and examples are provided in the appendices. [STANDARDS-TRACK]Secure Telephone Identity Problem Statement and RequirementsOver the past decade, Voice over IP (VoIP) systems based on SIP have replaced many traditional telephony deployments. Interworking VoIP systems with the traditional telephone network has reduced the overall level of calling party number and Caller ID assurances by granting attackers new and inexpensive tools to impersonate or obscure calling party numbers when orchestrating bulk commercial calling schemes, hacking voicemail boxes, or even circumventing multi-factor authentication systems trusted by banks. Despite previous attempts to provide a secure assurance of the origin of SIP communications, we still lack effective standards for identifying the calling party in a VoIP session. This document examines the reasons why providing identity for telephone numbers on the Internet has proven so difficult and shows how changes in the last decade may provide us with new strategies for attaching a secure identity to SIP sessions. It also gives high-level requirements for a solution in this space.For PASSporT, there will always be a JWS with the following members:“protected”, with the value BASE64URL(UTF8(JWS Protected Header))“payload”, with the value BASE64URL (JWS Payload)“signature”, with the value BASE64URL(JWS Signature)This example will follow the steps in JWS Section 5.1, steps 1-6 and 8 and incorporates the additional serialization steps required for PASSporT.Step 1 for JWS references the JWS Payload, an example PASSporT Payload is as follows:This would be serialized to the form (with line break used for display purposes only):Step 2 Computes the BASE64URL(JWS Payload) producing this value (with line break used for display purposes only):For Step 3, an example PASSporT Protected Header comprising the JOSE Header is as follows:This would be serialized to the form (with line break used for display purposes only):Step 4 Performs the BASE64URL(UTF8(JWS Protected Header)) operation and encoding produces this value (with line break used for display purposes only):Step 5 and Step 6 performs the computation of the digital signature of the PASSporT Signing Input
ASCII(BASE64URL(UTF8(JWS Protected Header)) || ‘.’ || BASE64URL(JWS Payload))
using ES256 as the algorithm and the BASE64URL(JWS Signature).Step 8 describes how to create the final PASSporT token, concatenating the values in the order Header.Payload.Signature with period (‘.’) characters. For the above example values this would produce the following (with line breaks between period used for readability purposes only):