Valid

GM/T 0113-2021Fast online identity authentication protocol (English PDF)

在线快捷身份鉴别协议

Preview PDF

This is a limited preview

Buy now to download the full PDF

Need quotation for your management?

Get a formal quotation for GM/T 0113-2021 in 30 minutes.

Issued by

State Administration of Cryptography

Level / Type

National · Recommended

Issue date

October 18, 2021

Implementation date

May 1, 2022

Scope

GM/T 0113-2021 is the English-translated version of 在线快捷身份鉴别协议.

GM/T 0113-2021 — This document specifies the online fast identity authentication protocol, including the general online fast identity authentication protocol and the two-factor online fast identity authentication protocol.

This document is applicable to the development, testing, evaluation of online fast identity authentication services.

Found what you need?

Document preview — GM/T 0113-2021

National Standard of the People's Republic of China

ICS
35.030

Contents

  • Scope1
  • Normative references2
  • Terms and definitions3
  • Abbreviations4
  • Overview5
  • Registration6
  • Overview7
  • Extensions8
  • Final challenge parameters9
  • Protocol messages10
  • Rules for the authentication server to generate deregistration request11
  • Rules for the biometric key manager to process logout requests12
  • Overview13
  • Registration14
  • Overview15
  • Request message framework16
  • Short encoding17
  • Extended length encoding18
  • Rules for the identity authentication server to call registration interface19
  • Overview20
  • Registration21
  • Overview22
  • Request message framework23
  • Short encoding24
  • Extended length encoding25
  • Rules for the identity authentication server to call registration interface26

1 Scope

This document specifies the online fast identity authentication protocol, including the general online fast identity authentication protocol and the two-factor online fast identity authentication protocol.

This document is applicable to the development, testing, evaluation of online fast identity authentication services.

2 Normative references

The contents of the following documents constitute the essential terms of this document through normative references in the text. Among them, for dated references, only the version corresponding to that date applies to this document; for undated references, the latest version (including all amendments) applies to this document.

GB/T 16262 (all parts) Information technology - Abstract syntax notation one (ASN.1) GB/T 16649.4 Identification Cards - Integrated circuit cards - Part 4: Organization, security and commands for interchange GB/T 25069 Information security techniques - Terminology GB/T 32905 Information security techniques - SM3 cryptographic hash algorithm GB/T 32918 (all parts) Information security technology - Public key cryptographic algorithm SM2 based on elliptic curves GB/T 35276 Information security technology - SM2 cryptography algorithm usage specification

3 Terms and definitions

The terms and definitions as defined in GB/T 25069, GB/T 36651, GM/Z 4001, as well as the following terms and definitions, apply to this document.

Authentication client A software component that processes two-factor authentication protocol messages in a user agent, which is used for communication between the user agent and the authenticator in the two-factor authentication protocol.

Authentication client interface A protocol interface provided by the authentication client, which is used for communication between the user agent and the authentication client in the two-factor authentication protocol.

4 Abbreviations

The following abbreviations apply to this document.

APDU. Application Protocol Data Unit AppID. Application Identifier ASN.1.Abstract Syntax Notation One BAP. Biometric Authentication Protocol BAPV. Biometric Authentication Protocol Version

5.1.1 Overview

The General Online Quick Identity Authentication Protocol uses smart devices and combines biometric identification technology, to provide a password-free, highly secure, easy-to-use identity authentication solution.

5.1.2 Registration

In the process of user registration with the identity authentication server, the user uses the biometric key manager to create a new pair of authentication public and private keys;

saves the authentication private key in the biometric key manager;

5.2.1 Overview

All data formats of the general online quick identity authentication protocol are described in GB/T 16262.

5.2.4 Extensions

This structure describes a common extension used in various operations.

id. The identifier of the extension.

5.2.6 Final challenge parameters

appID. The parameter value is set to the appID parameter value of the operation header.

challenge. This parameter value is set to the server challenge parameter value in the registration request or authentication request. The server challenge is a random parameter value provided by the server.

5.2.12 Protocol messages

Protocol messages are messages transmitted by various participants of the general online fast identity authentication protocol when they interact. ASN.1 describes them as follows.

5.3.3.2.1 Rules for the authentication server to generate deregistration request

The authentication server shall follow the following steps.

5.3.3.2.2 Rules for the biometric key manager to process logout requests

The biometric key manager shall follow the following steps.

6.1.1 Overview

For the relying party that has deployed the user authentication method using username/password, the two-factor online fast identity authentication protocol uses the authenticator as the second factor of user identity authentication, to improve the security of user identity authentication.

6.1.2 Registration

When the user registers with the relying party, the authenticator generates a pair of authentication public-private key pairs and sends the authentication public key to the relying party. The relying party saves the authentication public key and binds it to the user's identity, to complete the registration process. The session flow (registration flow) is shown in Figure 6, which uses HTTP redirection to illustrate the protocol interaction.

6.2.1 Overview

The two-factor online quick identity authentication protocol mainly includes request messages and response messages. The request message is created by the authentication client and processed by the authenticator; the response message is created by the authenticator and used by the relying party. This document specifies the encoding method of the request and response messages.

6.2.2.1 Request message framework

The request message is encapsulated as a command APDU; the encapsulation method is as follows.

6.2.2.1.1 Short encoding

In short encoding, the maximum length of request data is 255 bytes. Among them, Lc is encoded as follows.

6.2.2.1.2 Extended length encoding

In extended length encoding, the maximum length of request data is 65535 bytes.

Among them, Lc is encoded as follows.

6.3.1.2.1 Rules for the identity authentication server to call registration interface

The identity authentication server shall follow the following steps to call the registration interface.

Appendix A

(Informative)

Security risks and recommended measures A.1 Malicious relying party an attacker may pretend to be a legitimate relying party. After obtaining the user's private information, the attacker can pretend to be the user and register the authenticator with the real relying party as the user.

The relying party needs to strengthen the identity authentication during registration and the initial strength of the user password. When the user communicates with the relying party, the authenticity of the other party needs to be verified.

A.2 Client malware

An attacker may install malware on the user's device and maliciously tamper with the data or operation execution process of the biometric key manager.

It is necessary to ensure that the biometric key manager is executed in a trusted environment and use the operating system privilege separation mechanism, to avoid any malicious modification outside the trusted environment.

GM/T 0113-2021

CRYPTOGRAPHIC INDUSTRY STANDARD ICS 35.030 L 80 Fast online identity authentication protocol Issued on. OCTOBER 18, 2021 Implemented on. MAY 01, 2022 Issued by. State Cryptography Administration

Table of Contents

Foreword... 3

1 Scope... 4

2 Normative references... 4

3 Terms and definitions... 5

4 Abbreviations... 5

5 General online quick identity authentication protocol... 6

5.1 Protocol architecture... 6

5.2 Protocol message related data structure... 11

5.3 Protocol process and requirements... 17

6 Two-factor online fast identity authentication protocol... 26

6.1 Protocol architecture... 26

6.2 Protocol message framework... 30

6.3 Protocol process and requirements... 33 Appendix A (Informative) Security risks and recommended measures... 48 Appendix B (Informative) Trusted environment implementation methods... 52 Appendix C (Informative) Protocol interface... 53 References... 59

1 Scope

This document specifies the online fast identity authentication protocol, including the general online fast identity authentication protocol and the two-factor online fast identity authentication protocol.

This document is applicable to the development, testing, evaluation of online fast identity authentication services.

2 Normative references the contents of the following documents constitute the essential terms of this document through normative references in the text. Among them, for dated references, only the version corresponding to that date applies to this document; for undated references, the latest version (including all amendments) applies to this document.

GB/T 16262 (all parts) Information technology - Abstract syntax notation one (ASN.1) GB/T 16649.4 Identification Cards - Integrated circuit cards - Part 4: Organization, security and commands for interchange GB/T 25069 Information security techniques - Terminology GB/T 32905 Information security techniques - SM3 cryptographic hash algorithm GB/T 32918 (all parts) Information security technology - Public key cryptographic algorithm SM2 based on elliptic curves GB/T 35276 Information security technology - SM2 cryptography algorithm usage specification

3 Terms and definitions the terms and definitions as defined in GB/T 25069, GB/T 36651, GM/Z 4001, as well as the following terms and definitions, apply to this document.

Authentication client A software component that processes two-factor authentication protocol messages in a user agent, which is used for communication between the user agent and the authenticator in the two-factor authentication protocol.

Authentication client interface A protocol interface provided by the authentication client, which is used for communication between the user agent and the authentication client in the two-factor authentication protocol.

4 Abbreviations

The following abbreviations apply to this document.

APDU. Application Protocol Data Unit AppID. Application Identifier ASN.1.Abstract Syntax Notation One BAP. Biometric Authentication Protocol BAPV. Biometric Authentication Protocol Version

5 General online quick identity authentication protocol

5.1 Protocol architecture

5.1.1 Overview

The General Online Quick Identity Authentication Protocol uses smart devices and combines biometric identification technology, to provide a password-free, highly secure, easy-to-use identity authentication solution.

5.1.2 Registration

In the process of user registration with the identity authentication server, the user uses the biometric key manager to create a new pair of authentication public and private keys;

saves the authentication private key in the biometric key manager;

5.2 Protocol message related data structure

5.2.1 Overview

All data formats of the general online quick identity authentication protocol are described in GB/T 16262.

5.2.4 Extensions

This structure describes a common extension used in various operations.

id. The identifier of the extension.

5.2.6 Final challenge parameters appID. The parameter value is set to the appID parameter value of the operation header.

challenge. This parameter value is set to the server challenge parameter value in the registration request or authentication request. The server challenge is a random parameter value provided by the server.

5.2.12 Protocol messages Protocol messages are messages transmitted by various participants of the general online fast identity authentication protocol when they interact. ASN.1 describes them as follows.

5.3 Protocol process and requirements

5.3.1 Registration process

5.3.3.2 Rules for handling deregistration process

5.3.3.2.1 Rules for the authentication server to generate deregistration request the authentication server shall follow the following steps.

5.3.3.2.2 Rules for the biometric key manager to process logout requests the biometric key manager shall follow the following steps.

6 Two-factor online fast identity authentication protocol

6.1.1 Overview

For the relying party that has deployed the user authentication method using username/password, the two-factor online fast identity authentication protocol uses the authenticator as the second factor of user identity authentication, to improve the security of user identity authentication.

6.1.2 Registration

When the user registers with the relying party, the authenticator generates a pair of authentication public-private key pairs and sends the authentication public key to the relying party. The relying party saves the authentication public key and binds it to the user's identity, to complete the registration process. The session flow (registration flow) is shown in Figure 6, which uses HTTP redirection to illustrate the protocol interaction.

6.2.1 Overview

The two-factor online quick identity authentication protocol mainly includes request messages and response messages. The request message is created by the authentication client and processed by the authenticator; the response message is created by the authenticator and used by the relying party. This document specifies the encoding method of the request and response messages.

6.2.2.1 Request message framework

The request message is encapsulated as a command APDU; the encapsulation method is as follows.

6.2.2.1.1 Short encoding

In short encoding, the maximum length of request data is 255 bytes. Among them, Lc is encoded as follows.

6.2.2.1.2 Extended length encoding

In extended length encoding, the maximum length of request data is 65535 bytes.

Among them, Lc is encoded as follows.

6.3.1.2.1 Rules for the identity authentication server to call registration interface

The identity authentication server shall follow the following steps to call the registration interface.

Appendix A

(Informative)

Security risks and recommended measures A.1 Malicious relying party an attacker may pretend to be a legitimate relying party. After obtaining the user's private information, the attacker can pretend to be the user and register the authenticator with the real relying party as the user.

The relying party needs to strengthen the identity authentication during registration and the initial strength of the user password. When the user communicates with the relying party, the authenticity of the other party needs to be verified.

A.2 Client malware

An attacker may install malware on the user's device and maliciously tamper with the data or operation execution process of the biometric key manager.

It is necessary to ensure that the biometric key manager is executed in a trusted environment and use the operating system privilege separation mechanism, to avoid any malicious modification outside the trusted environment.

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — all pages — is available in the English PDF.

Referenced standards

How to Download GM/T 0113-2021

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GM/T 0113-2021

$500.00