draft-ietf-httpauth-mutual-algo-02.txt   draft-ietf-httpauth-mutual-algo-03.txt 
HTTPAUTH Working Group Y. Oiwa HTTPAUTH Working Group Y. Oiwa
Internet-Draft H. Watanabe Internet-Draft H. Watanabe
Intended status: Experimental H. Takagi Intended status: Experimental H. Takagi
Expires: August 23, 2015 RISEC, AIST Expires: January 7, 2016 ITRI, AIST
K. Maeda K. Maeda
T. Hayashi T. Hayashi
Lepidum Lepidum
Y. Ioku Y. Ioku
Individual Individual
February 19, 2015 July 6, 2015
Mutual Authentication Protocol for HTTP: KAM3-based Cryptographic Mutual Authentication Protocol for HTTP: KAM3-based Cryptographic
Algorithms Algorithms
draft-ietf-httpauth-mutual-algo-02 draft-ietf-httpauth-mutual-algo-03
Abstract Abstract
This document specifies some cryptographic algorithms which will be This document specifies some cryptographic algorithms which will be
used for the Mutual user authentication method for the Hyper-text used for the Mutual user authentication method for the Hyper-text
Transport Protocol (HTTP). Transport Protocol (HTTP).
Status of this Memo Status of this Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
skipping to change at page 1, line 39 skipping to change at page 1, line 39
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/. Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on August 23, 2015. This Internet-Draft will expire on January 7, 2016.
Copyright Notice Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 2, line 20 skipping to change at page 2, line 20
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
2. Cryptographic Overview (Non-normative) . . . . . . . . . . . . 3 2. Cryptographic Overview (Non-normative) . . . . . . . . . . . . 3
3. Authentication Algorithms . . . . . . . . . . . . . . . . . . 4 3. Authentication Algorithms . . . . . . . . . . . . . . . . . . 4
3.1. Support Functions and Notations . . . . . . . . . . . . . 5 3.1. Support Functions and Notations . . . . . . . . . . . . . 5
3.2. Functions for Discrete-Logarithm Settings . . . . . . . . 6 3.2. Functions for Discrete-Logarithm Settings . . . . . . . . 6
3.3. Functions for Elliptic-Curve Settings . . . . . . . . . . 7 3.3. Functions for Elliptic-Curve Settings . . . . . . . . . . 7
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 8 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 8
5. Security Considerations . . . . . . . . . . . . . . . . . . . 8 5. Security Considerations . . . . . . . . . . . . . . . . . . . 9
5.1. General Implementation Considerations . . . . . . . . . . 8 5.1. General Implementation Considerations . . . . . . . . . . 9
5.2. Cryptographic Assumptions and Considerations . . . . . . . 9 5.2. Cryptographic Assumptions and Considerations . . . . . . . 9
6. Notice on intellectual properties . . . . . . . . . . . . . . 10 6. Notice on intellectual properties . . . . . . . . . . . . . . 10
7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 10 7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
7.1. Normative References . . . . . . . . . . . . . . . . . . . 10 7.1. Normative References . . . . . . . . . . . . . . . . . . . 10
7.2. Informative References . . . . . . . . . . . . . . . . . . 10 7.2. Informative References . . . . . . . . . . . . . . . . . . 11
Appendix A. (Informative) Group Parameters for Appendix A. (Informative) Group Parameters for
Discrete-Logarithm Based Algorithms . . . . . . . . . 11 Discrete-Logarithm Based Algorithms . . . . . . . . . 11
Appendix B. (Informative) Derived Numerical Values . . . . . . . 13 Appendix B. (Informative) Derived Numerical Values . . . . . . . 13
Appendix C. (Informative) Draft Change Log . . . . . . . . . . . 14 Appendix C. (Informative) Draft Change Log . . . . . . . . . . . 14
C.1. Changes in HTTPAUTH-WG revision 02 . . . . . . . . . . . . 14 C.1. Changes in HTTPAUTH-WG revision 03 . . . . . . . . . . . . 14
C.2. Changes in HTTPAUTH-WG revision 01 . . . . . . . . . . . . 14 C.2. Changes in HTTPAUTH-WG revision 02 . . . . . . . . . . . . 14
C.3. Changes in HTTPAUTH-WG revision 00 . . . . . . . . . . . . 14 C.3. Changes in HTTPAUTH-WG revision 01 . . . . . . . . . . . . 14
C.4. Changes in HTTPAUTH revision 02 . . . . . . . . . . . . . 14 C.4. Changes in HTTPAUTH-WG revision 00 . . . . . . . . . . . . 14
C.5. Changes in HTTPAUTH revision 01 . . . . . . . . . . . . . 14 C.5. Changes in HTTPAUTH revision 02 . . . . . . . . . . . . . 14
C.6. Changes in revision 02 . . . . . . . . . . . . . . . . . . 14 C.6. Changes in HTTPAUTH revision 01 . . . . . . . . . . . . . 14
C.7. Changes in revision 01 . . . . . . . . . . . . . . . . . . 14 C.7. Changes in revision 02 . . . . . . . . . . . . . . . . . . 14
C.8. Changes in revision 00 . . . . . . . . . . . . . . . . . . 15 C.8. Changes in revision 01 . . . . . . . . . . . . . . . . . . 15
C.9. Changes in revision 00 . . . . . . . . . . . . . . . . . . 15
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 15 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 15
1. Introduction 1. Introduction
This document specifies some algorithms for Mutual authentication This document specifies some algorithms for Mutual authentication
protocol for Hyper-Text Transport Protocol (HTTP) protocol for Hyper-Text Transport Protocol (HTTP)
[I-D.ietf-httpauth-mutual]. The algorithms are based on so-called [I-D.ietf-httpauth-mutual]. The algorithms are based on so-called
"Augmented Password-based Authenticated Key Exchange" (Augmented "Augmented Password-based Authenticated Key Exchange" (Augmented
PAKE) techniques. In particular, it uses one of three key exchange PAKE) techniques. In particular, it uses one of three key exchange
algorithm defined in the ISO 11770-4: "Key management - Mechanisms algorithm defined in the ISO 11770-4: "Key management - Mechanisms
skipping to change at page 7, line 37 skipping to change at page 7, line 37
o r: for the order of the subgroup generated by G. o r: for the order of the subgroup generated by G.
The function P(p) converts a curve point p into an integer The function P(p) converts a curve point p into an integer
representing point p, by computing x * 2 + (y mod 2), where (x, y) representing point p, by computing x * 2 + (y mod 2), where (x, y)
are the coordinates of point p. P'(z) is the inverse of function P, are the coordinates of point p. P'(z) is the inverse of function P,
that is, it converts an integer z to a point p that satisfies P(p) = that is, it converts an integer z to a point p that satisfies P(p) =
z. If such p exists, it is uniquely defined. Otherwise, z does not z. If such p exists, it is uniquely defined. Otherwise, z does not
represent a valid curve point. The operator + indicates the represent a valid curve point. The operator + indicates the
elliptic-curve group operation, and the operation [x] * p denotes an elliptic-curve group operation, and the operation [x] * p denotes an
integer-multiplication of point p: it calculates p + p + ... (x integer-multiplication of point p: it calculates p + p + ... (x
times) ... + p. See the literatures on elliptic-curve cryptography times) ... + p. See the literature on elliptic-curve cryptography
for the exact algorithms used for those functions (e.g. Section 3 of for the exact algorithms used for those functions (e.g. Section 3 of
[RFC6090], which uses different notations, though.) 0_E represents [RFC6090], which uses different notations, though.) 0_E represents
the infinity point. The equation (x / y mod z) denotes a natural the infinity point. The equation (x / y mod z) denotes a natural
number w less than z that satisfies (w * y) mod z = x mod z. number w less than z that satisfies (w * y) mod z = x mod z.
The function J is defined as The function J is defined as
J(pi) = [pi] * G. J(pi) = [pi] * G.
The value of K_c1 is derived as The value of K_c1 is derived as
skipping to change at page 8, line 33 skipping to change at page 8, line 33
the value z on the client side is derived by the following equation: the value z on the client side is derived by the following equation:
z = P([(S_c1 + t_2) / (S_c1 * t_1 + pi) mod r] * P'(K_s1)). z = P([(S_c1 + t_2) / (S_c1 * t_1 + pi) mod r] * P'(K_s1)).
The value z on the server side is derived by the following equation: The value z on the server side is derived by the following equation:
z = P([S_s1] * (P'(K_c1) + [t_2] * G)). z = P([S_s1] * (P'(K_c1) + [t_2] * G)).
4. IANA Considerations 4. IANA Considerations
Four tokens iso-kam3-dl-2048-sha256, iso-kam3-dl-4096-sha512, This document defines four new tokens to be added for "HTTP Mutual
iso-kam3-ec-p256-sha256 and iso-kam3-ec-p521-sha512 shall be authentication algorithms" registry; iso-kam3-dl-2048-sha256,
allocated and registered according to the provision of the core iso-kam3-dl-4096-sha512, iso-kam3-ec-p256-sha256 and
documentation when this document is promoted to an RFC. iso-kam3-ec-p521-sha512, as follows:
Note: More formal declarations will be added in the future drafts to +-------------------------+-------------------------+---------------+
meet the RFC 5226 requirements. | Token | Description | Specification |
+-------------------------+-------------------------+---------------+
| iso-kam3-dl-2048-sha256 | ISO-11770-4 KAM3, | This document |
| | 2048-bit DL | |
| iso-kam3-dl-4096-sha512 | ISO-11770-4 KAM3, | This document |
| | 4096-bit DL | |
| iso-kam3-ec-p256-sha256 | ISO-11770-4 KAM3, | This document |
| | 256-bit EC | |
| iso-kam3-ec-p521-sha512 | ISO-11770-4 KAM3, | This document |
| | 521-bit EC | |
+-------------------------+-------------------------+---------------+
5. Security Considerations 5. Security Considerations
Refer the corresponding section of the core specification for Refer the corresponding section of the core specification for
algorithm-independent, generic considerations, too. algorithm-independent, generic considerations, too.
5.1. General Implementation Considerations 5.1. General Implementation Considerations
o During the exchange, the value VK_s, defined in o During the exchange, the value VK_s, defined in
[I-D.ietf-httpauth-mutual], MUST only be sent when the server has [I-D.ietf-httpauth-mutual], MUST only be sent when the server has
received a correct (expected) value of VK_c. This is a received a correct (expected) value of VK_c. This is a
requirement from underlying cryptography stated in requirement from underlying cryptography stated in
[ISO.11770-4.2006]. [ISO.11770-4.2006].
o All random numbers used in these algorithms MUST be at least o All random numbers used in these algorithms MUST be at least
cryptographically computationally secure against forward and cryptographically computationally secure against forward and
backward guessing attacks. backward guessing attacks.
skipping to change at page 10, line 37 skipping to change at page 10, line 44
csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf>. csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf>.
[FIPS.186-4.2013] [FIPS.186-4.2013]
National Institute of Standards and Technology, "Digital National Institute of Standards and Technology, "Digital
Signature Standard (DSS)", FIPS PUB 186-4, July 2013, <htt Signature Standard (DSS)", FIPS PUB 186-4, July 2013, <htt
p://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf>. p://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf>.
[I-D.ietf-httpauth-mutual] [I-D.ietf-httpauth-mutual]
Oiwa, Y., Watanabe, H., Takagi, H., Maeda, K., Hayashi, Oiwa, Y., Watanabe, H., Takagi, H., Maeda, K., Hayashi,
T., and Y. Ioku, "Mutual Authentication Protocol for T., and Y. Ioku, "Mutual Authentication Protocol for
HTTP", draft-ietf-httpauth-mutual-04 (work in progress), HTTP", draft-ietf-httpauth-mutual-05 (work in progress),
February 2015. July 2015.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997. Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC3526] Kivinen, T. and M. Kojo, "More Modular Exponential (MODP) [RFC3526] Kivinen, T. and M. Kojo, "More Modular Exponential (MODP)
Diffie-Hellman groups for Internet Key Exchange (IKE)", Diffie-Hellman groups for Internet Key Exchange (IKE)",
RFC 3526, May 2003. RFC 3526, May 2003.
7.2. Informative References 7.2. Informative References
skipping to change at page 14, line 13 skipping to change at page 14, line 13
| values. | | | | | | | values. | | | | | |
| minimum | 2048 | 4096 | 1 | 1 | | | minimum | 2048 | 4096 | 1 | 1 | |
| allowed S_c1 | | | | | | | allowed S_c1 | | | | | |
+----------------+---------+---------+---------+---------+----------+ +----------------+---------+---------+---------+---------+----------+
(The numbers marked with an * do not include any enclosing quotation (The numbers marked with an * do not include any enclosing quotation
marks.) marks.)
Appendix C. (Informative) Draft Change Log Appendix C. (Informative) Draft Change Log
C.1. Changes in HTTPAUTH-WG revision 02 C.1. Changes in HTTPAUTH-WG revision 03
o IANA registration information added.
C.2. Changes in HTTPAUTH-WG revision 02
o No technical changes: references updated. o No technical changes: references updated.
C.2. Changes in HTTPAUTH-WG revision 01 C.3. Changes in HTTPAUTH-WG revision 01
o Changed behavior on failed generation of K_s1. o Changed behavior on failed generation of K_s1.
o Security considerations updated. o Security considerations updated.
C.3. Changes in HTTPAUTH-WG revision 00 C.4. Changes in HTTPAUTH-WG revision 00
o Added a note on the choice of elliptic curves. o Added a note on the choice of elliptic curves.
C.4. Changes in HTTPAUTH revision 02 C.5. Changes in HTTPAUTH revision 02
o Added nIterPi parameter to adjust to the changes to the core o Added nIterPi parameter to adjust to the changes to the core
draft. draft.
o Added a note on the verification of exchange transaction. o Added a note on the verification of exchange transaction.
C.5. Changes in HTTPAUTH revision 01 C.6. Changes in HTTPAUTH revision 01
o Notation change: integer output of hash function will be notated o Notation change: integer output of hash function will be notated
as INT(H(*)), changed from H(*). as INT(H(*)), changed from H(*).
C.6. Changes in revision 02 C.7. Changes in revision 02
o Implementation hints in appendix changed (number of characters for o Implementation hints in appendix changed (number of characters for
base64-fixed-number does not contain double-quotes). base64-fixed-number does not contain double-quotes).
C.7. Changes in revision 01 C.8. Changes in revision 01
o Parameter names renamed. o Parameter names renamed.
o Some expressions clarified without changing the value. o Some expressions clarified without changing the value.
C.8. Changes in revision 00 C.9. Changes in revision 00
The document is separated from the revision 08 of the core The document is separated from the revision 08 of the core
documentation. documentation.
Authors' Addresses Authors' Addresses
Yutaka Oiwa Yutaka Oiwa
National Institute of Advanced Industrial Science and Technology National Institute of Advanced Industrial Science and Technology
Research Institute for Secure Systems Information Technology Research Institute
3-11-46 Nakouji Tsukuba Central 2
Amagasaki, Hyogo 1-1-1 Umezono
Tsukuba-shi, Ibaraki
JP JP
Email: mutual-auth-contact-ml@aist.go.jp Email: mutual-auth-contact-ml@aist.go.jp
Hajime Watanabe Hajime Watanabe
National Institute of Advanced Industrial Science and Technology National Institute of Advanced Industrial Science and Technology
Research Institute for Secure Systems Information Technology Research Institute
Tsukuba Central 2 Tsukuba Central 2
1-1-1 Umezono 1-1-1 Umezono
Tsukuba-shi, Ibaraki Tsukuba-shi, Ibaraki
JP JP
Hiromitsu Takagi Hiromitsu Takagi
National Institute of Advanced Industrial Science and Technology National Institute of Advanced Industrial Science and Technology
Research Institute for Secure Systems Information Technology Research Institute
Tsukuba Central 2 Tsukuba Central 2
1-1-1 Umezono 1-1-1 Umezono
Tsukuba-shi, Ibaraki Tsukuba-shi, Ibaraki
JP JP
Kaoru Maeda Kaoru Maeda
Lepidum Co. Ltd. Lepidum Co. Ltd.
#602, Village Sasazuka 3 #602, Village Sasazuka 3
1-30-3 Sasazuka 1-30-3 Sasazuka
Shibuya-ku, Tokyo Shibuya-ku, Tokyo
JP JP
Tatsuya Hayashi Tatsuya Hayashi
Lepidum Co. Ltd. Lepidum Co. Ltd.
#602, Village Sasazuka 3 #602, Village Sasazuka 3
1-30-3 Sasazuka 1-30-3 Sasazuka
Shibuya-ku, Tokyo Shibuya-ku, Tokyo
JP JP
Yuichi Ioku Yuichi Ioku
Individual Individual
 End of changes. 25 change blocks. 
38 lines changed or deleted 55 lines changed or added

This html diff was produced by rfcdiff 1.42. The latest version is available from http://tools.ietf.org/tools/rfcdiff/