| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en" class="RFC"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<meta content="Common,Latin" name="scripts"> |
| 6 |
<meta content="initial-scale=1.0" name="viewport"> |
| 7 |
<title>RFC 8812: CBOR Object Signing and Encryption (COSE) and JSON Object Signing and Encryption (JOSE) Registrations for Web Authentication (WebAuthn) Algorithms</title> |
| 8 |
<meta content="Michael B. Jones" name="author"> |
| 9 |
<meta content=' |
| 10 |
|
| 11 |
The W3C Web Authentication (WebAuthn) specification and the FIDO |
| 12 |
Alliance FIDO2 Client to Authenticator Protocol (CTAP) specification use |
| 13 |
CBOR Object Signing and Encryption (COSE) algorithm identifiers. This |
| 14 |
specification registers the following algorithms (which are used by |
| 15 |
WebAuthn and CTAP implementations) in the IANA "COSE Algorithms" |
| 16 |
registry: RSASSA-PKCS1-v1_5 using SHA-256, SHA-384, SHA-512, and |
| 17 |
SHA-1; and Elliptic Curve Digital Signature Algorithm (ECDSA) |
| 18 |
using the secp256k1 curve and SHA-256. It registers the secp256k1 |
| 19 |
elliptic curve in the IANA "COSE Elliptic Curves" registry. Also, for |
| 20 |
use with JSON Object Signing and Encryption (JOSE), it registers the |
| 21 |
algorithm ECDSA using the secp256k1 curve and SHA-256 in the IANA "JSON |
| 22 |
Web Signature and Encryption Algorithms" registry and the secp256k1 |
| 23 |
elliptic curve in the IANA "JSON Web Key Elliptic Curve" registry. |
| 24 |
|
| 25 |
' name="description"> |
| 26 |
<meta content="xml2rfc 2.47.0" name="generator"> |
| 27 |
<meta content="Cryptography" name="keyword"> |
| 28 |
<meta content="Digital Signature" name="keyword"> |
| 29 |
<meta content="Encryption" name="keyword"> |
| 30 |
<meta content="W3C" name="keyword"> |
| 31 |
<meta content="World Wide Web Consortium" name="keyword"> |
| 32 |
<meta content="WebAuthn" name="keyword"> |
| 33 |
<meta content="Web Authentication" name="keyword"> |
| 34 |
<meta content="FIDO Alliance" name="keyword"> |
| 35 |
<meta content="FIDO" name="keyword"> |
| 36 |
<meta content="FIDO2" name="keyword"> |
| 37 |
<meta content="CTAP" name="keyword"> |
| 38 |
<meta content="CTAP2" name="keyword"> |
| 39 |
<meta content="8812" name="rfc.number"> |
| 40 |
<link href="rfc8812.xml" rel="alternate" type="application/rfc+xml"> |
| 41 |
<link href="#copyright" rel="license"> |
| 42 |
<style type="text/css">/* |
| 43 |
|
| 44 |
NOTE: Changes at the bottom of this file overrides some earlier settings. |
| 45 |
|
| 46 |
Once the style has stabilized and has been adopted as an official RFC style, |
| 47 |
this can be consolidated so that style settings occur only in one place, but |
| 48 |
for now the contents of this file consists first of the initial CSS work as |
| 49 |
provided to the RFC Formatter (xml2rfc) work, followed by itemized and |
| 50 |
commented changes found necssary during the development of the v3 |
| 51 |
formatters. |
| 52 |
|
| 53 |
*/ |
| 54 |
|
| 55 |
/* fonts */ |
| 56 |
@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); /* Sans-serif */ |
| 57 |
@import url('https://fonts.googleapis.com/css?family=Noto+Serif'); /* Serif (print) */ |
| 58 |
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); /* Monospace */ |
| 59 |
|
| 60 |
@viewport { |
| 61 |
zoom: 1.0; |
| 62 |
width: extend-to-zoom; |
| 63 |
} |
| 64 |
@-ms-viewport { |
| 65 |
width: extend-to-zoom; |
| 66 |
zoom: 1.0; |
| 67 |
} |
| 68 |
/* general and mobile first */ |
| 69 |
html { |
| 70 |
} |
| 71 |
body { |
| 72 |
max-width: 90%; |
| 73 |
margin: 1.5em auto; |
| 74 |
color: #222; |
| 75 |
background-color: #fff; |
| 76 |
font-size: 14px; |
| 77 |
font-family: 'Noto Sans', Arial, Helvetica, sans-serif; |
| 78 |
line-height: 1.6; |
| 79 |
scroll-behavior: smooth; |
| 80 |
} |
| 81 |
.ears { |
| 82 |
display: none; |
| 83 |
} |
| 84 |
|
| 85 |
/* headings */ |
| 86 |
#title, h1, h2, h3, h4, h5, h6 { |
| 87 |
margin: 1em 0 0.5em; |
| 88 |
font-weight: bold; |
| 89 |
line-height: 1.3; |
| 90 |
} |
| 91 |
#title { |
| 92 |
clear: both; |
| 93 |
border-bottom: 1px solid #ddd; |
| 94 |
margin: 0 0 0.5em 0; |
| 95 |
padding: 1em 0 0.5em; |
| 96 |
} |
| 97 |
.author { |
| 98 |
padding-bottom: 4px; |
| 99 |
} |
| 100 |
h1 { |
| 101 |
font-size: 26px; |
| 102 |
margin: 1em 0; |
| 103 |
} |
| 104 |
h2 { |
| 105 |
font-size: 22px; |
| 106 |
margin-top: -20px; /* provide offset for in-page anchors */ |
| 107 |
padding-top: 33px; |
| 108 |
} |
| 109 |
h3 { |
| 110 |
font-size: 18px; |
| 111 |
margin-top: -36px; /* provide offset for in-page anchors */ |
| 112 |
padding-top: 42px; |
| 113 |
} |
| 114 |
h4 { |
| 115 |
font-size: 16px; |
| 116 |
margin-top: -36px; /* provide offset for in-page anchors */ |
| 117 |
padding-top: 42px; |
| 118 |
} |
| 119 |
h5, h6 { |
| 120 |
font-size: 14px; |
| 121 |
} |
| 122 |
#n-copyright-notice { |
| 123 |
border-bottom: 1px solid #ddd; |
| 124 |
padding-bottom: 1em; |
| 125 |
margin-bottom: 1em; |
| 126 |
} |
| 127 |
/* general structure */ |
| 128 |
p { |
| 129 |
padding: 0; |
| 130 |
margin: 0 0 1em 0; |
| 131 |
text-align: left; |
| 132 |
} |
| 133 |
div, span { |
| 134 |
position: relative; |
| 135 |
} |
| 136 |
div { |
| 137 |
margin: 0; |
| 138 |
} |
| 139 |
.alignRight.art-text { |
| 140 |
background-color: #f9f9f9; |
| 141 |
border: 1px solid #eee; |
| 142 |
border-radius: 3px; |
| 143 |
padding: 1em 1em 0; |
| 144 |
margin-bottom: 1.5em; |
| 145 |
} |
| 146 |
.alignRight.art-text pre { |
| 147 |
padding: 0; |
| 148 |
} |
| 149 |
.alignRight { |
| 150 |
margin: 1em 0; |
| 151 |
} |
| 152 |
.alignRight > *:first-child { |
| 153 |
border: none; |
| 154 |
margin: 0; |
| 155 |
float: right; |
| 156 |
clear: both; |
| 157 |
} |
| 158 |
.alignRight > *:nth-child(2) { |
| 159 |
clear: both; |
| 160 |
display: block; |
| 161 |
border: none; |
| 162 |
} |
| 163 |
svg { |
| 164 |
display: block; |
| 165 |
} |
| 166 |
.alignCenter.art-text { |
| 167 |
background-color: #f9f9f9; |
| 168 |
border: 1px solid #eee; |
| 169 |
border-radius: 3px; |
| 170 |
padding: 1em 1em 0; |
| 171 |
margin-bottom: 1.5em; |
| 172 |
} |
| 173 |
.alignCenter.art-text pre { |
| 174 |
padding: 0; |
| 175 |
} |
| 176 |
.alignCenter { |
| 177 |
margin: 1em 0; |
| 178 |
} |
| 179 |
.alignCenter > *:first-child { |
| 180 |
border: none; |
| 181 |
/* this isn't optimal, but it's an existence proof. PrinceXML doesn't |
| 182 |
support flexbox yet. |
| 183 |
*/ |
| 184 |
display: table; |
| 185 |
margin: 0 auto; |
| 186 |
} |
| 187 |
|
| 188 |
/* lists */ |
| 189 |
ol, ul { |
| 190 |
padding: 0; |
| 191 |
margin: 0 0 1em 2em; |
| 192 |
} |
| 193 |
ol ol, ul ul, ol ul, ul ol { |
| 194 |
margin-left: 1em; |
| 195 |
} |
| 196 |
li { |
| 197 |
margin: 0 0 0.25em 0; |
| 198 |
} |
| 199 |
.ulCompact li { |
| 200 |
margin: 0; |
| 201 |
} |
| 202 |
ul.empty, .ulEmpty { |
| 203 |
list-style-type: none; |
| 204 |
} |
| 205 |
ul.empty li, .ulEmpty li { |
| 206 |
margin-top: 0.5em; |
| 207 |
} |
| 208 |
ul.compact, .ulCompact, |
| 209 |
ol.compact, .olCompact { |
| 210 |
line-height: 100%; |
| 211 |
margin: 0 0 0 2em; |
| 212 |
} |
| 213 |
|
| 214 |
/* definition lists */ |
| 215 |
dl { |
| 216 |
} |
| 217 |
dl > dt { |
| 218 |
float: left; |
| 219 |
margin-right: 1em; |
| 220 |
} |
| 221 |
/* |
| 222 |
dl.nohang > dt { |
| 223 |
float: none; |
| 224 |
} |
| 225 |
*/ |
| 226 |
dl > dd { |
| 227 |
margin-bottom: .8em; |
| 228 |
min-height: 1.3em; |
| 229 |
} |
| 230 |
dl.compact > dd, .dlCompact > dd { |
| 231 |
margin-bottom: 0em; |
| 232 |
} |
| 233 |
dl > dd > dl { |
| 234 |
margin-top: 0.5em; |
| 235 |
margin-bottom: 0em; |
| 236 |
} |
| 237 |
|
| 238 |
/* links */ |
| 239 |
a { |
| 240 |
text-decoration: none; |
| 241 |
} |
| 242 |
a[href] { |
| 243 |
color: #22e; /* Arlen: WCAG 2019 */ |
| 244 |
} |
| 245 |
a[href]:hover { |
| 246 |
background-color: #f2f2f2; |
| 247 |
} |
| 248 |
figcaption a[href], |
| 249 |
a[href].selfRef { |
| 250 |
color: #222; |
| 251 |
} |
| 252 |
/* XXX probably not this: |
| 253 |
a.selfRef:hover { |
| 254 |
background-color: transparent; |
| 255 |
cursor: default; |
| 256 |
} */ |
| 257 |
|
| 258 |
/* Figures */ |
| 259 |
tt, code, pre, code { |
| 260 |
background-color: #f9f9f9; |
| 261 |
font-family: 'Roboto Mono', monospace; |
| 262 |
} |
| 263 |
pre { |
| 264 |
border: 1px solid #eee; |
| 265 |
margin: 0; |
| 266 |
padding: 1em; |
| 267 |
} |
| 268 |
img { |
| 269 |
max-width: 100%; |
| 270 |
} |
| 271 |
figure { |
| 272 |
margin: 0; |
| 273 |
} |
| 274 |
figure blockquote { |
| 275 |
margin: 0.8em 0.4em 0.4em; |
| 276 |
} |
| 277 |
figcaption { |
| 278 |
font-style: italic; |
| 279 |
margin: 0 0 1em 0; |
| 280 |
} |
| 281 |
@media screen { |
| 282 |
pre { |
| 283 |
overflow-x: auto; |
| 284 |
max-width: 100%; |
| 285 |
max-width: calc(100% - 22px); |
| 286 |
} |
| 287 |
} |
| 288 |
|
| 289 |
/* aside, blockquote */ |
| 290 |
aside, blockquote { |
| 291 |
margin-left: 0; |
| 292 |
padding: 1.2em 2em; |
| 293 |
} |
| 294 |
blockquote { |
| 295 |
background-color: #f9f9f9; |
| 296 |
color: #111; /* Arlen: WCAG 2019 */ |
| 297 |
border: 1px solid #ddd; |
| 298 |
border-radius: 3px; |
| 299 |
margin: 1em 0; |
| 300 |
} |
| 301 |
cite { |
| 302 |
display: block; |
| 303 |
text-align: right; |
| 304 |
font-style: italic; |
| 305 |
} |
| 306 |
|
| 307 |
/* tables */ |
| 308 |
table { |
| 309 |
width: 100%; |
| 310 |
margin: 0 0 1em; |
| 311 |
border-collapse: collapse; |
| 312 |
border: 1px solid #eee; |
| 313 |
} |
| 314 |
th, td { |
| 315 |
text-align: left; |
| 316 |
vertical-align: top; |
| 317 |
padding: 0.5em 0.75em; |
| 318 |
} |
| 319 |
th { |
| 320 |
text-align: left; |
| 321 |
background-color: #e9e9e9; |
| 322 |
} |
| 323 |
tr:nth-child(2n+1) > td { |
| 324 |
background-color: #f5f5f5; |
| 325 |
} |
| 326 |
table caption { |
| 327 |
font-style: italic; |
| 328 |
margin: 0; |
| 329 |
padding: 0; |
| 330 |
text-align: left; |
| 331 |
} |
| 332 |
table p { |
| 333 |
/* XXX to avoid bottom margin on table row signifiers. If paragraphs should |
| 334 |
be allowed within tables more generally, it would be far better to select on a class. */ |
| 335 |
margin: 0; |
| 336 |
} |
| 337 |
|
| 338 |
/* pilcrow */ |
| 339 |
a.pilcrow { |
| 340 |
color: #666; /* Arlen: AHDJ 2019 */ |
| 341 |
text-decoration: none; |
| 342 |
visibility: hidden; |
| 343 |
user-select: none; |
| 344 |
-ms-user-select: none; |
| 345 |
-o-user-select:none; |
| 346 |
-moz-user-select: none; |
| 347 |
-khtml-user-select: none; |
| 348 |
-webkit-user-select: none; |
| 349 |
-webkit-touch-callout: none; |
| 350 |
} |
| 351 |
@media screen { |
| 352 |
aside:hover > a.pilcrow, |
| 353 |
p:hover > a.pilcrow, |
| 354 |
blockquote:hover > a.pilcrow, |
| 355 |
div:hover > a.pilcrow, |
| 356 |
li:hover > a.pilcrow, |
| 357 |
pre:hover > a.pilcrow { |
| 358 |
visibility: visible; |
| 359 |
} |
| 360 |
a.pilcrow:hover { |
| 361 |
background-color: transparent; |
| 362 |
} |
| 363 |
} |
| 364 |
|
| 365 |
/* misc */ |
| 366 |
hr { |
| 367 |
border: 0; |
| 368 |
border-top: 1px solid #eee; |
| 369 |
} |
| 370 |
.bcp14 { |
| 371 |
font-variant: small-caps; |
| 372 |
} |
| 373 |
|
| 374 |
.role { |
| 375 |
font-variant: all-small-caps; |
| 376 |
} |
| 377 |
|
| 378 |
/* info block */ |
| 379 |
#identifiers { |
| 380 |
margin: 0; |
| 381 |
font-size: 0.9em; |
| 382 |
} |
| 383 |
#identifiers dt { |
| 384 |
width: 3em; |
| 385 |
clear: left; |
| 386 |
} |
| 387 |
#identifiers dd { |
| 388 |
float: left; |
| 389 |
margin-bottom: 0; |
| 390 |
} |
| 391 |
#identifiers .authors .author { |
| 392 |
display: inline-block; |
| 393 |
margin-right: 1.5em; |
| 394 |
} |
| 395 |
#identifiers .authors .org { |
| 396 |
font-style: italic; |
| 397 |
} |
| 398 |
|
| 399 |
/* The prepared/rendered info at the very bottom of the page */ |
| 400 |
.docInfo { |
| 401 |
color: #666; /* Arlen: WCAG 2019 */ |
| 402 |
font-size: 0.9em; |
| 403 |
font-style: italic; |
| 404 |
margin-top: 2em; |
| 405 |
} |
| 406 |
.docInfo .prepared { |
| 407 |
float: left; |
| 408 |
} |
| 409 |
.docInfo .prepared { |
| 410 |
float: right; |
| 411 |
} |
| 412 |
|
| 413 |
/* table of contents */ |
| 414 |
#toc { |
| 415 |
padding: 0.75em 0 2em 0; |
| 416 |
margin-bottom: 1em; |
| 417 |
} |
| 418 |
nav.toc ul { |
| 419 |
margin: 0 0.5em 0 0; |
| 420 |
padding: 0; |
| 421 |
list-style: none; |
| 422 |
} |
| 423 |
nav.toc li { |
| 424 |
line-height: 1.3em; |
| 425 |
margin: 0.75em 0; |
| 426 |
padding-left: 1.2em; |
| 427 |
text-indent: -1.2em; |
| 428 |
} |
| 429 |
/* references */ |
| 430 |
.references dt { |
| 431 |
text-align: right; |
| 432 |
font-weight: bold; |
| 433 |
min-width: 7em; |
| 434 |
} |
| 435 |
.references dd { |
| 436 |
margin-left: 8em; |
| 437 |
overflow: auto; |
| 438 |
} |
| 439 |
|
| 440 |
.refInstance { |
| 441 |
margin-bottom: 1.25em; |
| 442 |
} |
| 443 |
|
| 444 |
.references .ascii { |
| 445 |
margin-bottom: 0.25em; |
| 446 |
} |
| 447 |
|
| 448 |
/* index */ |
| 449 |
.index ul { |
| 450 |
margin: 0 0 0 1em; |
| 451 |
padding: 0; |
| 452 |
list-style: none; |
| 453 |
} |
| 454 |
.index ul ul { |
| 455 |
margin: 0; |
| 456 |
} |
| 457 |
.index li { |
| 458 |
margin: 0; |
| 459 |
text-indent: -2em; |
| 460 |
padding-left: 2em; |
| 461 |
padding-bottom: 5px; |
| 462 |
} |
| 463 |
.indexIndex { |
| 464 |
margin: 0.5em 0 1em; |
| 465 |
} |
| 466 |
.index a { |
| 467 |
font-weight: 700; |
| 468 |
} |
| 469 |
/* make the index two-column on all but the smallest screens */ |
| 470 |
@media (min-width: 600px) { |
| 471 |
.index ul { |
| 472 |
-moz-column-count: 2; |
| 473 |
-moz-column-gap: 20px; |
| 474 |
} |
| 475 |
.index ul ul { |
| 476 |
-moz-column-count: 1; |
| 477 |
-moz-column-gap: 0; |
| 478 |
} |
| 479 |
} |
| 480 |
|
| 481 |
/* authors */ |
| 482 |
address.vcard { |
| 483 |
font-style: normal; |
| 484 |
margin: 1em 0; |
| 485 |
} |
| 486 |
|
| 487 |
address.vcard .nameRole { |
| 488 |
font-weight: 700; |
| 489 |
margin-left: 0; |
| 490 |
} |
| 491 |
address.vcard .label { |
| 492 |
font-family: "Noto Sans",Arial,Helvetica,sans-serif; |
| 493 |
margin: 0.5em 0; |
| 494 |
} |
| 495 |
address.vcard .type { |
| 496 |
display: none; |
| 497 |
} |
| 498 |
.alternative-contact { |
| 499 |
margin: 1.5em 0 1em; |
| 500 |
} |
| 501 |
hr.addr { |
| 502 |
border-top: 1px dashed; |
| 503 |
margin: 0; |
| 504 |
color: #ddd; |
| 505 |
max-width: calc(100% - 16px); |
| 506 |
} |
| 507 |
|
| 508 |
/* temporary notes */ |
| 509 |
.rfcEditorRemove::before { |
| 510 |
position: absolute; |
| 511 |
top: 0.2em; |
| 512 |
right: 0.2em; |
| 513 |
padding: 0.2em; |
| 514 |
content: "The RFC Editor will remove this note"; |
| 515 |
color: #9e2a00; /* Arlen: WCAG 2019 */ |
| 516 |
background-color: #ffd; /* Arlen: WCAG 2019 */ |
| 517 |
} |
| 518 |
.rfcEditorRemove { |
| 519 |
position: relative; |
| 520 |
padding-top: 1.8em; |
| 521 |
background-color: #ffd; /* Arlen: WCAG 2019 */ |
| 522 |
border-radius: 3px; |
| 523 |
} |
| 524 |
.cref { |
| 525 |
background-color: #ffd; /* Arlen: WCAG 2019 */ |
| 526 |
padding: 2px 4px; |
| 527 |
} |
| 528 |
.crefSource { |
| 529 |
font-style: italic; |
| 530 |
} |
| 531 |
/* alternative layout for smaller screens */ |
| 532 |
@media screen and (max-width: 1023px) { |
| 533 |
body { |
| 534 |
padding-top: 2em; |
| 535 |
} |
| 536 |
#title { |
| 537 |
padding: 1em 0; |
| 538 |
} |
| 539 |
h1 { |
| 540 |
font-size: 24px; |
| 541 |
} |
| 542 |
h2 { |
| 543 |
font-size: 20px; |
| 544 |
margin-top: -18px; /* provide offset for in-page anchors */ |
| 545 |
padding-top: 38px; |
| 546 |
} |
| 547 |
#identifiers dd { |
| 548 |
max-width: 60%; |
| 549 |
} |
| 550 |
#toc { |
| 551 |
position: fixed; |
| 552 |
z-index: 2; |
| 553 |
top: 0; |
| 554 |
right: 0; |
| 555 |
padding: 0; |
| 556 |
margin: 0; |
| 557 |
background-color: inherit; |
| 558 |
border-bottom: 1px solid #ccc; |
| 559 |
} |
| 560 |
#toc h2 { |
| 561 |
margin: -1px 0 0 0; |
| 562 |
padding: 4px 0 4px 6px; |
| 563 |
padding-right: 1em; |
| 564 |
min-width: 190px; |
| 565 |
font-size: 1.1em; |
| 566 |
text-align: right; |
| 567 |
background-color: #444; |
| 568 |
color: white; |
| 569 |
cursor: pointer; |
| 570 |
} |
| 571 |
#toc h2::before { /* css hamburger */ |
| 572 |
float: right; |
| 573 |
position: relative; |
| 574 |
width: 1em; |
| 575 |
height: 1px; |
| 576 |
left: -164px; |
| 577 |
margin: 6px 0 0 0; |
| 578 |
background: white none repeat scroll 0 0; |
| 579 |
box-shadow: 0 4px 0 0 white, 0 8px 0 0 white; |
| 580 |
content: ""; |
| 581 |
} |
| 582 |
#toc nav { |
| 583 |
display: none; |
| 584 |
padding: 0.5em 1em 1em; |
| 585 |
overflow: auto; |
| 586 |
height: calc(100vh - 48px); |
| 587 |
border-left: 1px solid #ddd; |
| 588 |
} |
| 589 |
} |
| 590 |
|
| 591 |
/* alternative layout for wide screens */ |
| 592 |
@media screen and (min-width: 1024px) { |
| 593 |
body { |
| 594 |
max-width: 724px; |
| 595 |
margin: 42px auto; |
| 596 |
padding-left: 1.5em; |
| 597 |
padding-right: 29em; |
| 598 |
} |
| 599 |
#toc { |
| 600 |
position: fixed; |
| 601 |
top: 42px; |
| 602 |
right: 42px; |
| 603 |
width: 25%; |
| 604 |
margin: 0; |
| 605 |
padding: 0 1em; |
| 606 |
z-index: 1; |
| 607 |
} |
| 608 |
#toc h2 { |
| 609 |
border-top: none; |
| 610 |
border-bottom: 1px solid #ddd; |
| 611 |
font-size: 1em; |
| 612 |
font-weight: normal; |
| 613 |
margin: 0; |
| 614 |
padding: 0.25em 1em 1em 0; |
| 615 |
} |
| 616 |
#toc nav { |
| 617 |
display: block; |
| 618 |
height: calc(90vh - 84px); |
| 619 |
bottom: 0; |
| 620 |
padding: 0.5em 0 0; |
| 621 |
overflow: auto; |
| 622 |
} |
| 623 |
img { /* future proofing */ |
| 624 |
max-width: 100%; |
| 625 |
height: auto; |
| 626 |
} |
| 627 |
} |
| 628 |
|
| 629 |
/* pagination */ |
| 630 |
@media print { |
| 631 |
body { |
| 632 |
|
| 633 |
width: 100%; |
| 634 |
} |
| 635 |
p { |
| 636 |
orphans: 3; |
| 637 |
widows: 3; |
| 638 |
} |
| 639 |
#n-copyright-notice { |
| 640 |
border-bottom: none; |
| 641 |
} |
| 642 |
#toc, #n-introduction { |
| 643 |
page-break-before: always; |
| 644 |
} |
| 645 |
#toc { |
| 646 |
border-top: none; |
| 647 |
padding-top: 0; |
| 648 |
} |
| 649 |
figure, pre { |
| 650 |
page-break-inside: avoid; |
| 651 |
} |
| 652 |
figure { |
| 653 |
overflow: scroll; |
| 654 |
} |
| 655 |
h1, h2, h3, h4, h5, h6 { |
| 656 |
page-break-after: avoid; |
| 657 |
} |
| 658 |
h2+*, h3+*, h4+*, h5+*, h6+* { |
| 659 |
page-break-before: avoid; |
| 660 |
} |
| 661 |
pre { |
| 662 |
white-space: pre-wrap; |
| 663 |
word-wrap: break-word; |
| 664 |
font-size: 10pt; |
| 665 |
} |
| 666 |
table { |
| 667 |
border: 1px solid #ddd; |
| 668 |
} |
| 669 |
td { |
| 670 |
border-top: 1px solid #ddd; |
| 671 |
} |
| 672 |
} |
| 673 |
|
| 674 |
/* This is commented out here, as the string-set: doesn't |
| 675 |
pass W3C validation currently */ |
| 676 |
/* |
| 677 |
.ears thead .left { |
| 678 |
string-set: ears-top-left content(); |
| 679 |
} |
| 680 |
|
| 681 |
.ears thead .center { |
| 682 |
string-set: ears-top-center content(); |
| 683 |
} |
| 684 |
|
| 685 |
.ears thead .right { |
| 686 |
string-set: ears-top-right content(); |
| 687 |
} |
| 688 |
|
| 689 |
.ears tfoot .left { |
| 690 |
string-set: ears-bottom-left content(); |
| 691 |
} |
| 692 |
|
| 693 |
.ears tfoot .center { |
| 694 |
string-set: ears-bottom-center content(); |
| 695 |
} |
| 696 |
|
| 697 |
.ears tfoot .right { |
| 698 |
string-set: ears-bottom-right content(); |
| 699 |
} |
| 700 |
*/ |
| 701 |
|
| 702 |
@page :first { |
| 703 |
padding-top: 0; |
| 704 |
@top-left { |
| 705 |
content: normal; |
| 706 |
border: none; |
| 707 |
} |
| 708 |
@top-center { |
| 709 |
content: normal; |
| 710 |
border: none; |
| 711 |
} |
| 712 |
@top-right { |
| 713 |
content: normal; |
| 714 |
border: none; |
| 715 |
} |
| 716 |
} |
| 717 |
|
| 718 |
@page { |
| 719 |
size: A4; |
| 720 |
margin-bottom: 45mm; |
| 721 |
padding-top: 20px; |
| 722 |
/* The follwing is commented out here, but set appropriately by in code, as |
| 723 |
the content depends on the document */ |
| 724 |
/* |
| 725 |
@top-left { |
| 726 |
content: 'Internet-Draft'; |
| 727 |
vertical-align: bottom; |
| 728 |
border-bottom: solid 1px #ccc; |
| 729 |
} |
| 730 |
@top-left { |
| 731 |
content: string(ears-top-left); |
| 732 |
vertical-align: bottom; |
| 733 |
border-bottom: solid 1px #ccc; |
| 734 |
} |
| 735 |
@top-center { |
| 736 |
content: string(ears-top-center); |
| 737 |
vertical-align: bottom; |
| 738 |
border-bottom: solid 1px #ccc; |
| 739 |
} |
| 740 |
@top-right { |
| 741 |
content: string(ears-top-right); |
| 742 |
vertical-align: bottom; |
| 743 |
border-bottom: solid 1px #ccc; |
| 744 |
} |
| 745 |
@bottom-left { |
| 746 |
content: string(ears-bottom-left); |
| 747 |
vertical-align: top; |
| 748 |
border-top: solid 1px #ccc; |
| 749 |
} |
| 750 |
@bottom-center { |
| 751 |
content: string(ears-bottom-center); |
| 752 |
vertical-align: top; |
| 753 |
border-top: solid 1px #ccc; |
| 754 |
} |
| 755 |
@bottom-right { |
| 756 |
content: '[Page ' counter(page) ']'; |
| 757 |
vertical-align: top; |
| 758 |
border-top: solid 1px #ccc; |
| 759 |
} |
| 760 |
*/ |
| 761 |
|
| 762 |
} |
| 763 |
|
| 764 |
/* Changes introduced to fix issues found during implementation */ |
| 765 |
/* Make sure links are clickable even if overlapped by following H* */ |
| 766 |
a { |
| 767 |
z-index: 2; |
| 768 |
} |
| 769 |
/* Separate body from document info even without intervening H1 */ |
| 770 |
section { |
| 771 |
clear: both; |
| 772 |
} |
| 773 |
|
| 774 |
|
| 775 |
/* Top align author divs, to avoid names without organization dropping level with org names */ |
| 776 |
.author { |
| 777 |
vertical-align: top; |
| 778 |
} |
| 779 |
|
| 780 |
/* Leave room in document info to show Internet-Draft on one line */ |
| 781 |
#identifiers dt { |
| 782 |
width: 8em; |
| 783 |
} |
| 784 |
|
| 785 |
/* Don't waste quite as much whitespace between label and value in doc info */ |
| 786 |
#identifiers dd { |
| 787 |
margin-left: 1em; |
| 788 |
} |
| 789 |
|
| 790 |
/* Give floating toc a background color (needed when it's a div inside section */ |
| 791 |
#toc { |
| 792 |
background-color: white; |
| 793 |
} |
| 794 |
|
| 795 |
/* Make the collapsed ToC header render white on gray also when it's a link */ |
| 796 |
@media screen and (max-width: 1023px) { |
| 797 |
#toc h2 a, |
| 798 |
#toc h2 a:link, |
| 799 |
#toc h2 a:focus, |
| 800 |
#toc h2 a:hover, |
| 801 |
#toc a.toplink, |
| 802 |
#toc a.toplink:hover { |
| 803 |
color: white; |
| 804 |
background-color: #444; |
| 805 |
text-decoration: none; |
| 806 |
} |
| 807 |
} |
| 808 |
|
| 809 |
/* Give the bottom of the ToC some whitespace */ |
| 810 |
@media screen and (min-width: 1024px) { |
| 811 |
#toc { |
| 812 |
padding: 0 0 1em 1em; |
| 813 |
} |
| 814 |
} |
| 815 |
|
| 816 |
/* Style section numbers with more space between number and title */ |
| 817 |
.section-number { |
| 818 |
padding-right: 0.5em; |
| 819 |
} |
| 820 |
|
| 821 |
/* prevent monospace from becoming overly large */ |
| 822 |
tt, code, pre, code { |
| 823 |
font-size: 95%; |
| 824 |
} |
| 825 |
|
| 826 |
/* Fix the height/width aspect for ascii art*/ |
| 827 |
pre.sourcecode, |
| 828 |
.art-text pre { |
| 829 |
line-height: 1.12; |
| 830 |
} |
| 831 |
|
| 832 |
|
| 833 |
/* Add styling for a link in the ToC that points to the top of the document */ |
| 834 |
a.toplink { |
| 835 |
float: right; |
| 836 |
margin-right: 0.5em; |
| 837 |
} |
| 838 |
|
| 839 |
/* Fix the dl styling to match the RFC 7992 attributes */ |
| 840 |
dl > dt, |
| 841 |
dl.dlParallel > dt { |
| 842 |
float: left; |
| 843 |
margin-right: 1em; |
| 844 |
} |
| 845 |
dl.dlNewline > dt { |
| 846 |
float: none; |
| 847 |
} |
| 848 |
|
| 849 |
/* Provide styling for table cell text alignment */ |
| 850 |
table td.text-left, |
| 851 |
table th.text-left { |
| 852 |
text-align: left; |
| 853 |
} |
| 854 |
table td.text-center, |
| 855 |
table th.text-center { |
| 856 |
text-align: center; |
| 857 |
} |
| 858 |
table td.text-right, |
| 859 |
table th.text-right { |
| 860 |
text-align: right; |
| 861 |
} |
| 862 |
|
| 863 |
/* Make the alternative author contact informatio look less like just another |
| 864 |
author, and group it closer with the primary author contact information */ |
| 865 |
.alternative-contact { |
| 866 |
margin: 0.5em 0 0.25em 0; |
| 867 |
} |
| 868 |
address .non-ascii { |
| 869 |
margin: 0 0 0 2em; |
| 870 |
} |
| 871 |
|
| 872 |
/* With it being possible to set tables with alignment |
| 873 |
left, center, and right, { width: 100%; } does not make sense */ |
| 874 |
table { |
| 875 |
width: auto; |
| 876 |
} |
| 877 |
|
| 878 |
/* Avoid reference text that sits in a block with very wide left margin, |
| 879 |
because of a long floating dt label.*/ |
| 880 |
.references dd { |
| 881 |
overflow: visible; |
| 882 |
} |
| 883 |
|
| 884 |
/* Control caption placement */ |
| 885 |
caption { |
| 886 |
caption-side: bottom; |
| 887 |
} |
| 888 |
|
| 889 |
/* Limit the width of the author address vcard, so names in right-to-left |
| 890 |
script don't end up on the other side of the page. */ |
| 891 |
|
| 892 |
address.vcard { |
| 893 |
max-width: 30em; |
| 894 |
margin-right: auto; |
| 895 |
} |
| 896 |
|
| 897 |
/* For address alignment dependent on LTR or RTL scripts */ |
| 898 |
address div.left { |
| 899 |
text-align: left; |
| 900 |
} |
| 901 |
address div.right { |
| 902 |
text-align: right; |
| 903 |
} |
| 904 |
|
| 905 |
/* Provide table alignment support. We can't use the alignX classes above |
| 906 |
since they do unwanted things with caption and other styling. */ |
| 907 |
table.right { |
| 908 |
margin-left: auto; |
| 909 |
margin-right: 0; |
| 910 |
} |
| 911 |
table.center { |
| 912 |
margin-left: auto; |
| 913 |
margin-right: auto; |
| 914 |
} |
| 915 |
table.left { |
| 916 |
margin-left: 0; |
| 917 |
margin-right: auto; |
| 918 |
} |
| 919 |
|
| 920 |
/* Give the table caption label the same styling as the figcaption */ |
| 921 |
caption a[href] { |
| 922 |
color: #222; |
| 923 |
} |
| 924 |
|
| 925 |
@media print { |
| 926 |
.toplink { |
| 927 |
display: none; |
| 928 |
} |
| 929 |
|
| 930 |
/* avoid overwriting the top border line with the ToC header */ |
| 931 |
#toc { |
| 932 |
padding-top: 1px; |
| 933 |
} |
| 934 |
|
| 935 |
/* Avoid page breaks inside dl and author address entries */ |
| 936 |
.vcard { |
| 937 |
page-break-inside: avoid; |
| 938 |
} |
| 939 |
|
| 940 |
} |
| 941 |
/* Tweak the bcp14 keyword presentation */ |
| 942 |
.bcp14 { |
| 943 |
font-variant: small-caps; |
| 944 |
font-weight: bold; |
| 945 |
font-size: 0.9em; |
| 946 |
} |
| 947 |
/* Tweak the invisible space above H* in order not to overlay links in text above */ |
| 948 |
h2 { |
| 949 |
margin-top: -18px; /* provide offset for in-page anchors */ |
| 950 |
padding-top: 31px; |
| 951 |
} |
| 952 |
h3 { |
| 953 |
margin-top: -18px; /* provide offset for in-page anchors */ |
| 954 |
padding-top: 24px; |
| 955 |
} |
| 956 |
h4 { |
| 957 |
margin-top: -18px; /* provide offset for in-page anchors */ |
| 958 |
padding-top: 24px; |
| 959 |
} |
| 960 |
/* Float artwork pilcrow to the right */ |
| 961 |
@media screen { |
| 962 |
.artwork a.pilcrow { |
| 963 |
display: block; |
| 964 |
line-height: 0.7; |
| 965 |
margin-top: 0.15em; |
| 966 |
} |
| 967 |
} |
| 968 |
/* Make pilcrows on dd visible */ |
| 969 |
@media screen { |
| 970 |
dd:hover > a.pilcrow { |
| 971 |
visibility: visible; |
| 972 |
} |
| 973 |
} |
| 974 |
/* Make the placement of figcaption match that of a table's caption |
| 975 |
by removing the figure's added bottom margin */ |
| 976 |
.alignLeft.art-text, |
| 977 |
.alignCenter.art-text, |
| 978 |
.alignRight.art-text { |
| 979 |
margin-bottom: 0; |
| 980 |
} |
| 981 |
.alignLeft, |
| 982 |
.alignCenter, |
| 983 |
.alignRight { |
| 984 |
margin: 1em 0 0 0; |
| 985 |
} |
| 986 |
/* In print, the pilcrow won't show on hover, so prevent it from taking up space, |
| 987 |
possibly even requiring a new line */ |
| 988 |
@media print { |
| 989 |
a.pilcrow { |
| 990 |
display: none; |
| 991 |
} |
| 992 |
} |
| 993 |
/* Styling for the external metadata */ |
| 994 |
div#external-metadata { |
| 995 |
background-color: #eee; |
| 996 |
padding: 0.5em; |
| 997 |
margin-bottom: 0.5em; |
| 998 |
display: none; |
| 999 |
} |
| 1000 |
div#internal-metadata { |
| 1001 |
padding: 0.5em; /* to match the external-metadata padding */ |
| 1002 |
} |
| 1003 |
/* Styling for title RFC Number */ |
| 1004 |
h1#rfcnum { |
| 1005 |
clear: both; |
| 1006 |
margin: 0 0 -1em; |
| 1007 |
padding: 1em 0 0 0; |
| 1008 |
} |
| 1009 |
/* Make .olPercent look the same as <ol><li> */ |
| 1010 |
dl.olPercent > dd { |
| 1011 |
margin-bottom: 0.25em; |
| 1012 |
min-height: initial; |
| 1013 |
} |
| 1014 |
/* Give aside some styling to set it apart */ |
| 1015 |
aside { |
| 1016 |
border-left: 1px solid #ddd; |
| 1017 |
margin: 1em 0 1em 2em; |
| 1018 |
padding: 0.2em 2em; |
| 1019 |
} |
| 1020 |
aside > dl, |
| 1021 |
aside > ol, |
| 1022 |
aside > ul, |
| 1023 |
aside > table, |
| 1024 |
aside > p { |
| 1025 |
margin-bottom: 0.5em; |
| 1026 |
} |
| 1027 |
/* Additional page break settings */ |
| 1028 |
@media print { |
| 1029 |
figcaption, table caption { |
| 1030 |
page-break-before: avoid; |
| 1031 |
} |
| 1032 |
} |
| 1033 |
/* Font size adjustments for print */ |
| 1034 |
@media print { |
| 1035 |
body { font-size: 10pt; line-height: normal; max-width: 96%; } |
| 1036 |
h1 { font-size: 1.72em; padding-top: 1.5em; } /* 1*1.2*1.2*1.2 */ |
| 1037 |
h2 { font-size: 1.44em; padding-top: 1.5em; } /* 1*1.2*1.2 */ |
| 1038 |
h3 { font-size: 1.2em; padding-top: 1.5em; } /* 1*1.2 */ |
| 1039 |
h4 { font-size: 1em; padding-top: 1.5em; } |
| 1040 |
h5, h6 { font-size: 1em; margin: initial; padding: 0.5em 0 0.3em; } |
| 1041 |
} |
| 1042 |
/* Sourcecode margin in print, when there's no pilcrow */ |
| 1043 |
@media print { |
| 1044 |
.artwork, |
| 1045 |
.sourcecode { |
| 1046 |
margin-bottom: 1em; |
| 1047 |
} |
| 1048 |
} |
| 1049 |
/* Avoid narrow tables forcing too narrow table captions, which may render badly */ |
| 1050 |
table { |
| 1051 |
min-width: 20em; |
| 1052 |
} |
| 1053 |
/* ol type a */ |
| 1054 |
ol.type-a { list-style-type: lower-alpha; } |
| 1055 |
ol.type-A { list-style-type: upper-alpha; } |
| 1056 |
ol.type-i { list-style-type: lower-roman; } |
| 1057 |
ol.type-I { list-style-type: lower-roman; } |
| 1058 |
/* Apply the print table and row borders in general, on request from the RPC, |
| 1059 |
and increase the contrast between border and odd row background sligthtly */ |
| 1060 |
table { |
| 1061 |
border: 1px solid #ddd; |
| 1062 |
} |
| 1063 |
td { |
| 1064 |
border-top: 1px solid #ddd; |
| 1065 |
} |
| 1066 |
tr:nth-child(2n+1) > td { |
| 1067 |
background-color: #f8f8f8; |
| 1068 |
} |
| 1069 |
/* Use style rules to govern display of the TOC. */ |
| 1070 |
@media screen and (max-width: 1023px) { |
| 1071 |
#toc nav { display: none; } |
| 1072 |
#toc.active nav { display: block; } |
| 1073 |
} |
| 1074 |
/* Add support for keepWithNext */ |
| 1075 |
.keepWithNext { |
| 1076 |
break-after: avoid-page; |
| 1077 |
break-after: avoid-page; |
| 1078 |
} |
| 1079 |
/* Add support for keepWithPrevious */ |
| 1080 |
.keepWithPrevious { |
| 1081 |
break-before: avoid-page; |
| 1082 |
} |
| 1083 |
/* Change the approach to avoiding breaks inside artwork etc. */ |
| 1084 |
figure, pre, table, .artwork, .sourcecode { |
| 1085 |
break-before: avoid-page; |
| 1086 |
break-after: auto; |
| 1087 |
} |
| 1088 |
/* Avoid breaks between <dt> and <dd> */ |
| 1089 |
dl { |
| 1090 |
break-before: auto; |
| 1091 |
break-inside: auto; |
| 1092 |
} |
| 1093 |
dt { |
| 1094 |
break-before: auto; |
| 1095 |
break-after: avoid-page; |
| 1096 |
} |
| 1097 |
dd { |
| 1098 |
break-before: avoid-page; |
| 1099 |
break-after: auto; |
| 1100 |
orphans: 3; |
| 1101 |
widows: 3 |
| 1102 |
} |
| 1103 |
span.break, dd.break { |
| 1104 |
margin-bottom: 0; |
| 1105 |
min-height: 0; |
| 1106 |
break-before: auto; |
| 1107 |
break-inside: auto; |
| 1108 |
break-after: auto; |
| 1109 |
} |
| 1110 |
/* Undo break-before ToC */ |
| 1111 |
@media print { |
| 1112 |
#toc { |
| 1113 |
break-before: auto; |
| 1114 |
} |
| 1115 |
} |
| 1116 |
/* Text in compact lists should not get extra bottim margin space, |
| 1117 |
since that would makes the list not compact */ |
| 1118 |
ul.compact p, .ulCompact p, |
| 1119 |
ol.compact p, .olCompact p { |
| 1120 |
margin: 0; |
| 1121 |
} |
| 1122 |
/* But the list as a whole needs the extra space at the end */ |
| 1123 |
section ul.compact, |
| 1124 |
section .ulCompact, |
| 1125 |
section ol.compact, |
| 1126 |
section .olCompact { |
| 1127 |
margin-bottom: 1em; /* same as p not within ul.compact etc. */ |
| 1128 |
} |
| 1129 |
/* The tt and code background above interferes with for instance table cell |
| 1130 |
backgrounds. Changed to something a bit more selective. */ |
| 1131 |
tt, code { |
| 1132 |
background-color: transparent; |
| 1133 |
} |
| 1134 |
p tt, p code, li tt, li code { |
| 1135 |
background-color: #f8f8f8; |
| 1136 |
} |
| 1137 |
/* Tweak the pre margin -- 0px doesn't come out well */ |
| 1138 |
pre { |
| 1139 |
margin-top: 0.5px; |
| 1140 |
} |
| 1141 |
/* Tweak the comact list text */ |
| 1142 |
ul.compact, .ulCompact, |
| 1143 |
ol.compact, .olCompact { |
| 1144 |
line-height: normal; |
| 1145 |
} |
| 1146 |
/* Don't add top margin for nested lists */ |
| 1147 |
li > ul, li > ol, li > dl, |
| 1148 |
dd > ul, dd > ol, dd > dl, |
| 1149 |
dl > dd > dl { |
| 1150 |
margin-top: initial; |
| 1151 |
}</style> |
| 1152 |
<link href="rfc-local.css" rel="stylesheet" type="text/css"> |
| 1153 |
<link href="https://dx.doi.org/10.17487/rfc8812" rel="alternate"> |
| 1154 |
<link href="urn:issn:2070-1721" rel="alternate"> |
| 1155 |
<link href="https://datatracker.ietf.org/doc/draft-ietf-cose-webauthn-algorithms-08" rel="prev"> |
| 1156 |
</head> |
| 1157 |
<body> |
| 1158 |
<script src="https://www.rfc-editor.org/js/metadata.min.js"></script> |
| 1159 |
<table class="ears"> |
| 1160 |
<thead><tr> |
| 1161 |
<td class="left">RFC 8812</td> |
| 1162 |
<td class="center">COSE & JOSE Registrations for WebAuthn Algs</td> |
| 1163 |
<td class="right">August 2020</td> |
| 1164 |
</tr></thead> |
| 1165 |
<tfoot><tr> |
| 1166 |
<td class="left">Jones</td> |
| 1167 |
<td class="center">Standards Track</td> |
| 1168 |
<td class="right">[Page]</td> |
| 1169 |
</tr></tfoot> |
| 1170 |
</table> |
| 1171 |
<div id="external-metadata" class="document-information"></div> |
| 1172 |
<div id="internal-metadata" class="document-information"> |
| 1173 |
<dl id="identifiers"> |
| 1174 |
<dt class="label-stream">Stream:</dt> |
| 1175 |
<dd class="stream">Internet Engineering Task Force (IETF)</dd> |
| 1176 |
<dt class="label-rfc">RFC:</dt> |
| 1177 |
<dd class="rfc"><a href="https://www.rfc-editor.org/rfc/rfc8812" class="eref">8812</a></dd> |
| 1178 |
<dt class="label-category">Category:</dt> |
| 1179 |
<dd class="category">Standards Track</dd> |
| 1180 |
<dt class="label-published">Published:</dt> |
| 1181 |
<dd class="published"> |
| 1182 |
<time datetime="2020-08" class="published">August 2020</time> |
| 1183 |
</dd> |
| 1184 |
<dt class="label-issn">ISSN:</dt> |
| 1185 |
<dd class="issn">2070-1721</dd> |
| 1186 |
<dt class="label-authors">Author:</dt> |
| 1187 |
<dd class="authors"> |
| 1188 |
<div class="author"> |
| 1189 |
<div class="author-name">M. Jones</div> |
| 1190 |
<div class="org">Microsoft</div> |
| 1191 |
</div> |
| 1192 |
</dd> |
| 1193 |
</dl> |
| 1194 |
</div> |
| 1195 |
<h1 id="rfcnum">RFC 8812</h1> |
| 1196 |
<h1 id="title">CBOR Object Signing and Encryption (COSE) and JSON Object Signing and Encryption (JOSE) Registrations for Web Authentication (WebAuthn) Algorithms</h1> |
| 1197 |
<section id="section-abstract"> |
| 1198 |
<h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2> |
| 1199 |
<p id="section-abstract-1"> |
| 1200 |
The W3C Web Authentication (WebAuthn) specification and the FIDO |
| 1201 |
Alliance FIDO2 Client to Authenticator Protocol (CTAP) specification use |
| 1202 |
CBOR Object Signing and Encryption (COSE) algorithm identifiers. This |
| 1203 |
specification registers the following algorithms (which are used by |
| 1204 |
WebAuthn and CTAP implementations) in the IANA "COSE Algorithms" |
| 1205 |
registry: RSASSA-PKCS1-v1_5 using SHA-256, SHA-384, SHA-512, and |
| 1206 |
SHA-1; and Elliptic Curve Digital Signature Algorithm (ECDSA) |
| 1207 |
using the secp256k1 curve and SHA-256. It registers the secp256k1 |
| 1208 |
elliptic curve in the IANA "COSE Elliptic Curves" registry. Also, for |
| 1209 |
use with JSON Object Signing and Encryption (JOSE), it registers the |
| 1210 |
algorithm ECDSA using the secp256k1 curve and SHA-256 in the IANA "JSON |
| 1211 |
Web Signature and Encryption Algorithms" registry and the secp256k1 |
| 1212 |
elliptic curve in the IANA "JSON Web Key Elliptic Curve" registry.<a href="#section-abstract-1" class="pilcrow">¶</a></p> |
| 1213 |
</section> |
| 1214 |
<div id="status-of-memo"> |
| 1215 |
<section id="section-boilerplate.1"> |
| 1216 |
<h2 id="name-status-of-this-memo"> |
| 1217 |
<a href="#name-status-of-this-memo" class="section-name selfRef">Status of This Memo</a> |
| 1218 |
</h2> |
| 1219 |
<p id="section-boilerplate.1-1"> |
| 1220 |
This is an Internet Standards Track document.<a href="#section-boilerplate.1-1" class="pilcrow">¶</a></p> |
| 1221 |
<p id="section-boilerplate.1-2"> |
| 1222 |
This document is a product of the Internet Engineering Task Force |
| 1223 |
(IETF). It represents the consensus of the IETF community. It has |
| 1224 |
received public review and has been approved for publication by |
| 1225 |
the Internet Engineering Steering Group (IESG). Further |
| 1226 |
information on Internet Standards is available in Section 2 of |
| 1227 |
RFC 7841.<a href="#section-boilerplate.1-2" class="pilcrow">¶</a></p> |
| 1228 |
<p id="section-boilerplate.1-3"> |
| 1229 |
Information about the current status of this document, any |
| 1230 |
errata, and how to provide feedback on it may be obtained at |
| 1231 |
<span><a href="https://www.rfc-editor.org/info/rfc8812">https://www.rfc-editor.org/info/rfc8812</a></span>.<a href="#section-boilerplate.1-3" class="pilcrow">¶</a></p> |
| 1232 |
</section> |
| 1233 |
</div> |
| 1234 |
<div id="copyright"> |
| 1235 |
<section id="section-boilerplate.2"> |
| 1236 |
<h2 id="name-copyright-notice"> |
| 1237 |
<a href="#name-copyright-notice" class="section-name selfRef">Copyright Notice</a> |
| 1238 |
</h2> |
| 1239 |
<p id="section-boilerplate.2-1"> |
| 1240 |
Copyright (c) 2020 IETF Trust and the persons identified as the |
| 1241 |
document authors. All rights reserved.<a href="#section-boilerplate.2-1" class="pilcrow">¶</a></p> |
| 1242 |
<p id="section-boilerplate.2-2"> |
| 1243 |
This document is subject to BCP 78 and the IETF Trust's Legal |
| 1244 |
Provisions Relating to IETF Documents |
| 1245 |
(<span><a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a></span>) in effect on the date of |
| 1246 |
publication of this document. Please review these documents |
| 1247 |
carefully, as they describe your rights and restrictions with |
| 1248 |
respect to this document. Code Components extracted from this |
| 1249 |
document must include Simplified BSD License text as described in |
| 1250 |
Section 4.e of the Trust Legal Provisions and are provided without |
| 1251 |
warranty as described in the Simplified BSD License.<a href="#section-boilerplate.2-2" class="pilcrow">¶</a></p> |
| 1252 |
</section> |
| 1253 |
</div> |
| 1254 |
<div id="toc"> |
| 1255 |
<section id="section-toc.1"> |
| 1256 |
<a href="#" onclick="scroll(0,0)" class="toplink">▲</a><h2 id="name-table-of-contents"> |
| 1257 |
<a href="#name-table-of-contents" class="section-name selfRef">Table of Contents</a> |
| 1258 |
</h2> |
| 1259 |
<nav class="toc"><ul class="toc ulEmpty compact"> |
| 1260 |
<li class="toc ulEmpty compact" id="section-toc.1-1.1"> |
| 1261 |
<p id="section-toc.1-1.1.1" class="keepWithNext"><a href="#section-1" class="xref">1</a>. <a href="#name-introduction" class="xref">Introduction</a><a href="#section-toc.1-1.1.1" class="pilcrow">¶</a></p> |
| 1262 |
<ul class="toc ulEmpty compact"> |
| 1263 |
<li class="toc ulEmpty compact" id="section-toc.1-1.1.2.1"> |
| 1264 |
<p id="section-toc.1-1.1.2.1.1" class="keepWithNext"><a href="#section-1.1" class="xref">1.1</a>. <a href="#name-requirements-notation-and-c" class="xref">Requirements Notation and Conventions</a><a href="#section-toc.1-1.1.2.1.1" class="pilcrow">¶</a></p> |
| 1265 |
</li> |
| 1266 |
</ul> |
| 1267 |
</li> |
| 1268 |
<li class="toc ulEmpty compact" id="section-toc.1-1.2"> |
| 1269 |
<p id="section-toc.1-1.2.1" class="keepWithNext"><a href="#section-2" class="xref">2</a>. <a href="#name-rsassa-pkcs1-v1_5-signature" class="xref">RSASSA-PKCS1-v1_5 Signature Algorithm</a><a href="#section-toc.1-1.2.1" class="pilcrow">¶</a></p> |
| 1270 |
</li> |
| 1271 |
<li class="toc ulEmpty compact" id="section-toc.1-1.3"> |
| 1272 |
<p id="section-toc.1-1.3.1"><a href="#section-3" class="xref">3</a>. <a href="#name-using-secp256k1-with-jose-a" class="xref">Using secp256k1 with JOSE and COSE</a><a href="#section-toc.1-1.3.1" class="pilcrow">¶</a></p> |
| 1273 |
<ul class="toc ulEmpty compact"> |
| 1274 |
<li class="toc ulEmpty compact" id="section-toc.1-1.3.2.1"> |
| 1275 |
<p id="section-toc.1-1.3.2.1.1"><a href="#section-3.1" class="xref">3.1</a>. <a href="#name-jose-and-cose-secp256k1-cur" class="xref">JOSE and COSE secp256k1 Curve Key Representations</a><a href="#section-toc.1-1.3.2.1.1" class="pilcrow">¶</a></p> |
| 1276 |
</li> |
| 1277 |
<li class="toc ulEmpty compact" id="section-toc.1-1.3.2.2"> |
| 1278 |
<p id="section-toc.1-1.3.2.2.1"><a href="#section-3.2" class="xref">3.2</a>. <a href="#name-ecdsa-signature-with-secp25" class="xref">ECDSA Signature with secp256k1 Curve</a><a href="#section-toc.1-1.3.2.2.1" class="pilcrow">¶</a></p> |
| 1279 |
</li> |
| 1280 |
<li class="toc ulEmpty compact" id="section-toc.1-1.3.2.3"> |
| 1281 |
<p id="section-toc.1-1.3.2.3.1"><a href="#section-3.3" class="xref">3.3</a>. <a href="#name-other-uses-of-the-secp256k1" class="xref">Other Uses of the secp256k1 Elliptic Curve</a><a href="#section-toc.1-1.3.2.3.1" class="pilcrow">¶</a></p> |
| 1282 |
</li> |
| 1283 |
</ul> |
| 1284 |
</li> |
| 1285 |
<li class="toc ulEmpty compact" id="section-toc.1-1.4"> |
| 1286 |
<p id="section-toc.1-1.4.1"><a href="#section-4" class="xref">4</a>. <a href="#name-iana-considerations" class="xref">IANA Considerations</a><a href="#section-toc.1-1.4.1" class="pilcrow">¶</a></p> |
| 1287 |
<ul class="toc ulEmpty compact"> |
| 1288 |
<li class="toc ulEmpty compact" id="section-toc.1-1.4.2.1"> |
| 1289 |
<p id="section-toc.1-1.4.2.1.1"><a href="#section-4.1" class="xref">4.1</a>. <a href="#name-cose-algorithms-registratio" class="xref">COSE Algorithms Registrations</a><a href="#section-toc.1-1.4.2.1.1" class="pilcrow">¶</a></p> |
| 1290 |
</li> |
| 1291 |
<li class="toc ulEmpty compact" id="section-toc.1-1.4.2.2"> |
| 1292 |
<p id="section-toc.1-1.4.2.2.1"><a href="#section-4.2" class="xref">4.2</a>. <a href="#name-cose-elliptic-curves-regist" class="xref">COSE Elliptic Curves Registrations</a><a href="#section-toc.1-1.4.2.2.1" class="pilcrow">¶</a></p> |
| 1293 |
</li> |
| 1294 |
<li class="toc ulEmpty compact" id="section-toc.1-1.4.2.3"> |
| 1295 |
<p id="section-toc.1-1.4.2.3.1"><a href="#section-4.3" class="xref">4.3</a>. <a href="#name-jose-algorithms-registratio" class="xref">JOSE Algorithms Registrations</a><a href="#section-toc.1-1.4.2.3.1" class="pilcrow">¶</a></p> |
| 1296 |
</li> |
| 1297 |
<li class="toc ulEmpty compact" id="section-toc.1-1.4.2.4"> |
| 1298 |
<p id="section-toc.1-1.4.2.4.1"><a href="#section-4.4" class="xref">4.4</a>. <a href="#name-json-web-key-elliptic-curve" class="xref">JSON Web Key Elliptic Curves Registrations</a><a href="#section-toc.1-1.4.2.4.1" class="pilcrow">¶</a></p> |
| 1299 |
</li> |
| 1300 |
</ul> |
| 1301 |
</li> |
| 1302 |
<li class="toc ulEmpty compact" id="section-toc.1-1.5"> |
| 1303 |
<p id="section-toc.1-1.5.1"><a href="#section-5" class="xref">5</a>. <a href="#name-security-considerations" class="xref">Security Considerations</a><a href="#section-toc.1-1.5.1" class="pilcrow">¶</a></p> |
| 1304 |
<ul class="toc ulEmpty compact"> |
| 1305 |
<li class="toc ulEmpty compact" id="section-toc.1-1.5.2.1"> |
| 1306 |
<p id="section-toc.1-1.5.2.1.1"><a href="#section-5.1" class="xref">5.1</a>. <a href="#name-rsa-key-size-security-consi" class="xref">RSA Key Size Security Considerations</a><a href="#section-toc.1-1.5.2.1.1" class="pilcrow">¶</a></p> |
| 1307 |
</li> |
| 1308 |
<li class="toc ulEmpty compact" id="section-toc.1-1.5.2.2"> |
| 1309 |
<p id="section-toc.1-1.5.2.2.1"><a href="#section-5.2" class="xref">5.2</a>. <a href="#name-rsassa-pkcs1-v1_5-with-sha-" class="xref">RSASSA-PKCS1-v1_5 with SHA-2 Security Considerations</a><a href="#section-toc.1-1.5.2.2.1" class="pilcrow">¶</a></p> |
| 1310 |
</li> |
| 1311 |
<li class="toc ulEmpty compact" id="section-toc.1-1.5.2.3"> |
| 1312 |
<p id="section-toc.1-1.5.2.3.1"><a href="#section-5.3" class="xref">5.3</a>. <a href="#name-rsassa-pkcs1-v1_5-with-sha-1" class="xref">RSASSA-PKCS1-v1_5 with SHA-1 Security Considerations</a><a href="#section-toc.1-1.5.2.3.1" class="pilcrow">¶</a></p> |
| 1313 |
</li> |
| 1314 |
<li class="toc ulEmpty compact" id="section-toc.1-1.5.2.4"> |
| 1315 |
<p id="section-toc.1-1.5.2.4.1"><a href="#section-5.4" class="xref">5.4</a>. <a href="#name-secp256k1-security-consider" class="xref">secp256k1 Security Considerations</a><a href="#section-toc.1-1.5.2.4.1" class="pilcrow">¶</a></p> |
| 1316 |
</li> |
| 1317 |
</ul> |
| 1318 |
</li> |
| 1319 |
<li class="toc ulEmpty compact" id="section-toc.1-1.6"> |
| 1320 |
<p id="section-toc.1-1.6.1"><a href="#section-6" class="xref">6</a>. <a href="#name-references" class="xref">References</a><a href="#section-toc.1-1.6.1" class="pilcrow">¶</a></p> |
| 1321 |
<ul class="toc ulEmpty compact"> |
| 1322 |
<li class="toc ulEmpty compact" id="section-toc.1-1.6.2.1"> |
| 1323 |
<p id="section-toc.1-1.6.2.1.1"><a href="#section-6.1" class="xref">6.1</a>. <a href="#name-normative-references" class="xref">Normative References</a><a href="#section-toc.1-1.6.2.1.1" class="pilcrow">¶</a></p> |
| 1324 |
</li> |
| 1325 |
<li class="toc ulEmpty compact" id="section-toc.1-1.6.2.2"> |
| 1326 |
<p id="section-toc.1-1.6.2.2.1"><a href="#section-6.2" class="xref">6.2</a>. <a href="#name-informative-references" class="xref">Informative References</a><a href="#section-toc.1-1.6.2.2.1" class="pilcrow">¶</a></p> |
| 1327 |
</li> |
| 1328 |
</ul> |
| 1329 |
</li> |
| 1330 |
<li class="toc ulEmpty compact" id="section-toc.1-1.7"> |
| 1331 |
<p id="section-toc.1-1.7.1"><a href="#section-appendix.a" class="xref"></a><a href="#name-acknowledgements" class="xref">Acknowledgements</a><a href="#section-toc.1-1.7.1" class="pilcrow">¶</a></p> |
| 1332 |
</li> |
| 1333 |
<li class="toc ulEmpty compact" id="section-toc.1-1.8"> |
| 1334 |
<p id="section-toc.1-1.8.1"><a href="#section-appendix.b" class="xref"></a><a href="#name-authors-address" class="xref">Author's Address</a><a href="#section-toc.1-1.8.1" class="pilcrow">¶</a></p> |
| 1335 |
</li> |
| 1336 |
</ul> |
| 1337 |
</nav> |
| 1338 |
</section> |
| 1339 |
</div> |
| 1340 |
<div id="Introduction"> |
| 1341 |
<section id="section-1"> |
| 1342 |
<h2 id="name-introduction"> |
| 1343 |
<a href="#section-1" class="section-number selfRef">1. </a><a href="#name-introduction" class="section-name selfRef">Introduction</a> |
| 1344 |
</h2> |
| 1345 |
<p id="section-1-1"> |
| 1346 |
This specification defines how to use several algorithms with |
| 1347 |
CBOR Object Signing and Encryption (COSE) <span>[<a href="#RFC8152" class="xref">RFC8152</a>]</span> |
| 1348 |
that are used by implementations of the |
| 1349 |
W3C Web Authentication (WebAuthn) <span>[<a href="#WebAuthn" class="xref">WebAuthn</a>]</span> |
| 1350 |
and FIDO Alliance FIDO2 Client to Authenticator Protocol (CTAP) <span>[<a href="#CTAP" class="xref">CTAP</a>]</span> specifications. |
| 1351 |
This specification registers these algorithms in |
| 1352 |
the IANA "COSE Algorithms" registry <span>[<a href="#IANA.COSE.Algorithms" class="xref">IANA.COSE.Algorithms</a>]</span> |
| 1353 |
and registers an elliptic curve in the |
| 1354 |
IANA "COSE Elliptic Curves" registry <span>[<a href="#IANA.COSE.Curves" class="xref">IANA.COSE.Curves</a>]</span>. |
| 1355 |
This specification also registers a corresponding algorithm |
| 1356 |
for use with JSON Object Signing and Encryption (JOSE) <span>[<a href="#RFC7515" class="xref">RFC7515</a>]</span> in |
| 1357 |
the IANA "JSON Web Signature and Encryption Algorithms" registry <span>[<a href="#IANA.JOSE.Algorithms" class="xref">IANA.JOSE.Algorithms</a>]</span> |
| 1358 |
and registers an elliptic curve in the |
| 1359 |
IANA "JSON Web Key Elliptic Curve" registry <span>[<a href="#IANA.JOSE.Curves" class="xref">IANA.JOSE.Curves</a>]</span>.<a href="#section-1-1" class="pilcrow">¶</a></p> |
| 1360 |
<div id="rnc"> |
| 1361 |
<section id="section-1.1"> |
| 1362 |
<h3 id="name-requirements-notation-and-c"> |
| 1363 |
<a href="#section-1.1" class="section-number selfRef">1.1. </a><a href="#name-requirements-notation-and-c" class="section-name selfRef">Requirements Notation and Conventions</a> |
| 1364 |
</h3> |
| 1365 |
<p id="section-1.1-1"> |
| 1366 |
The key words "<span class="bcp14">MUST</span>", "<span class="bcp14">MUST NOT</span>", |
| 1367 |
"<span class="bcp14">REQUIRED</span>", "<span class="bcp14">SHALL</span>", "<span class="bcp14">SHALL NOT</span>", |
| 1368 |
"<span class="bcp14">SHOULD</span>", "<span class="bcp14">SHOULD NOT</span>", |
| 1369 |
"<span class="bcp14">RECOMMENDED</span>", "<span class="bcp14">NOT RECOMMENDED</span>", |
| 1370 |
"<span class="bcp14">MAY</span>", and "<span class="bcp14">OPTIONAL</span>" in this document are to be |
| 1371 |
interpreted as described in BCP 14 <span>[<a href="#RFC2119" class="xref">RFC2119</a>]</span> <span>[<a href="#RFC8174" class="xref">RFC8174</a>]</span> when, and only when, they appear in all capitals, as |
| 1372 |
shown here.<a href="#section-1.1-1" class="pilcrow">¶</a></p> |
| 1373 |
</section> |
| 1374 |
</div> |
| 1375 |
</section> |
| 1376 |
</div> |
| 1377 |
<div id="RSASSA-PKCS1-v1_5"> |
| 1378 |
<section id="section-2"> |
| 1379 |
<h2 id="name-rsassa-pkcs1-v1_5-signature"> |
| 1380 |
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-rsassa-pkcs1-v1_5-signature" class="section-name selfRef">RSASSA-PKCS1-v1_5 Signature Algorithm</a> |
| 1381 |
</h2> |
| 1382 |
<p id="section-2-1"> |
| 1383 |
The RSASSA-PKCS1-v1_5 signature algorithm is defined in <span>[<a href="#RFC8017" class="xref">RFC8017</a>]</span>. |
| 1384 |
The RSASSA-PKCS1-v1_5 signature algorithm is parameterized with a hash function (h).<a href="#section-2-1" class="pilcrow">¶</a></p> |
| 1385 |
<p id="section-2-2"> |
| 1386 |
A key of size 2048 bits or larger <span class="bcp14">MUST</span> be used with these algorithms. |
| 1387 |
Implementations need to check that the key type is 'RSA' when creating or verifying a signature.<a href="#section-2-2" class="pilcrow">¶</a></p> |
| 1388 |
<p id="section-2-3"> |
| 1389 |
The RSASSA-PKCS1-v1_5 algorithms specified in this document are in the following table.<a href="#section-2-3" class="pilcrow">¶</a></p> |
| 1390 |
<span id="name-rsassa-pkcs1-v1_5-algorithm"></span><div id="rsa-algs"> |
| 1391 |
<table class="center" id="table-1"> |
| 1392 |
<caption> |
| 1393 |
<a href="#table-1" class="selfRef">Table 1</a>: |
| 1394 |
<a href="#name-rsassa-pkcs1-v1_5-algorithm" class="selfRef">RSASSA-PKCS1-v1_5 Algorithm Values</a> |
| 1395 |
</caption> |
| 1396 |
<thead> |
| 1397 |
<tr> |
| 1398 |
<th class="text-left" rowspan="1" colspan="1">Name</th> |
| 1399 |
<th class="text-left" rowspan="1" colspan="1">Value</th> |
| 1400 |
<th class="text-left" rowspan="1" colspan="1">Hash</th> |
| 1401 |
<th class="text-left" rowspan="1" colspan="1">Description</th> |
| 1402 |
<th class="text-left" rowspan="1" colspan="1">Recommended</th> |
| 1403 |
</tr> |
| 1404 |
</thead> |
| 1405 |
<tbody> |
| 1406 |
<tr> |
| 1407 |
<td class="text-left" rowspan="1" colspan="1">RS256</td> |
| 1408 |
<td class="text-left" rowspan="1" colspan="1">-257</td> |
| 1409 |
<td class="text-left" rowspan="1" colspan="1">SHA-256</td> |
| 1410 |
<td class="text-left" rowspan="1" colspan="1">RSASSA-PKCS1-v1_5 using SHA-256</td> |
| 1411 |
<td class="text-left" rowspan="1" colspan="1">No</td> |
| 1412 |
</tr> |
| 1413 |
<tr> |
| 1414 |
<td class="text-left" rowspan="1" colspan="1">RS384</td> |
| 1415 |
<td class="text-left" rowspan="1" colspan="1">-258</td> |
| 1416 |
<td class="text-left" rowspan="1" colspan="1">SHA-384</td> |
| 1417 |
<td class="text-left" rowspan="1" colspan="1">RSASSA-PKCS1-v1_5 using SHA-384</td> |
| 1418 |
<td class="text-left" rowspan="1" colspan="1">No</td> |
| 1419 |
</tr> |
| 1420 |
<tr> |
| 1421 |
<td class="text-left" rowspan="1" colspan="1">RS512</td> |
| 1422 |
<td class="text-left" rowspan="1" colspan="1">-259</td> |
| 1423 |
<td class="text-left" rowspan="1" colspan="1">SHA-512</td> |
| 1424 |
<td class="text-left" rowspan="1" colspan="1">RSASSA-PKCS1-v1_5 using SHA-512</td> |
| 1425 |
<td class="text-left" rowspan="1" colspan="1">No</td> |
| 1426 |
</tr> |
| 1427 |
<tr> |
| 1428 |
<td class="text-left" rowspan="1" colspan="1">RS1</td> |
| 1429 |
<td class="text-left" rowspan="1" colspan="1">-65535</td> |
| 1430 |
<td class="text-left" rowspan="1" colspan="1">SHA-1</td> |
| 1431 |
<td class="text-left" rowspan="1" colspan="1">RSASSA-PKCS1-v1_5 using SHA-1</td> |
| 1432 |
<td class="text-left" rowspan="1" colspan="1">Deprecated</td> |
| 1433 |
</tr> |
| 1434 |
</tbody> |
| 1435 |
</table> |
| 1436 |
</div> |
| 1437 |
<p id="section-2-5"> |
| 1438 |
Security considerations for use of the first three algorithms |
| 1439 |
are in <a href="#RSASSA-PKCS1-v1_5_SHA-2_considerations" class="xref">Section 5.2</a>. |
| 1440 |
Security considerations for use of the last algorithm |
| 1441 |
are in <a href="#RSASSA-PKCS1-v1_5_SHA-1_considerations" class="xref">Section 5.3</a>.<a href="#section-2-5" class="pilcrow">¶</a></p> |
| 1442 |
<p id="section-2-6"> |
| 1443 |
Note that these algorithms are already present in the |
| 1444 |
IANA "JSON Web Signature and Encryption Algorithms" registry <span>[<a href="#IANA.JOSE.Algorithms" class="xref">IANA.JOSE.Algorithms</a>]</span>, |
| 1445 |
and so these registrations are only for the |
| 1446 |
IANA "COSE Algorithms" registry <span>[<a href="#IANA.COSE.Algorithms" class="xref">IANA.COSE.Algorithms</a>]</span>.<a href="#section-2-6" class="pilcrow">¶</a></p> |
| 1447 |
</section> |
| 1448 |
</div> |
| 1449 |
<div id="secp256k1"> |
| 1450 |
<section id="section-3"> |
| 1451 |
<h2 id="name-using-secp256k1-with-jose-a"> |
| 1452 |
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-using-secp256k1-with-jose-a" class="section-name selfRef">Using secp256k1 with JOSE and COSE</a> |
| 1453 |
</h2> |
| 1454 |
<p id="section-3-1"> |
| 1455 |
This section defines algorithm encodings and representations enabling the |
| 1456 |
Standards for Efficient Cryptography Group (SECG) elliptic curve |
| 1457 |
secp256k1 <span>[<a href="#SEC2" class="xref">SEC2</a>]</span> to be used for |
| 1458 |
JOSE <span>[<a href="#RFC7515" class="xref">RFC7515</a>]</span> and |
| 1459 |
COSE <span>[<a href="#RFC8152" class="xref">RFC8152</a>]</span> messages.<a href="#section-3-1" class="pilcrow">¶</a></p> |
| 1460 |
<div id="secp256k1_curve"> |
| 1461 |
<section id="section-3.1"> |
| 1462 |
<h3 id="name-jose-and-cose-secp256k1-cur"> |
| 1463 |
<a href="#section-3.1" class="section-number selfRef">3.1. </a><a href="#name-jose-and-cose-secp256k1-cur" class="section-name selfRef">JOSE and COSE secp256k1 Curve Key Representations</a> |
| 1464 |
</h3> |
| 1465 |
<p id="section-3.1-1"> |
| 1466 |
The SECG elliptic curve |
| 1467 |
secp256k1 <span>[<a href="#SEC2" class="xref">SEC2</a>]</span> is represented in |
| 1468 |
a JSON Web Key (JWK) <span>[<a href="#RFC7517" class="xref">RFC7517</a>]</span> using these values:<a href="#section-3.1-1" class="pilcrow">¶</a></p> |
| 1469 |
<ul class="compact"> |
| 1470 |
<li class="compact" id="section-3.1-2.1"> |
| 1471 |
<code>kty</code>: <code>EC</code><a href="#section-3.1-2.1" class="pilcrow">¶</a> |
| 1472 |
</li> |
| 1473 |
<li class="compact" id="section-3.1-2.2"> |
| 1474 |
<code>crv</code>: <code>secp256k1</code><a href="#section-3.1-2.2" class="pilcrow">¶</a> |
| 1475 |
</li> |
| 1476 |
</ul> |
| 1477 |
<p id="section-3.1-3"> |
| 1478 |
plus the values needed to represent the curve point, as defined in |
| 1479 |
<span><a href="https://www.rfc-editor.org/rfc/rfc7518#section-6.2.1" class="relref">Section 6.2.1</a> of [<a href="#RFC7518" class="xref">RFC7518</a>]</span>. As a |
| 1480 |
compressed point encoding representation is not defined for JWK |
| 1481 |
elliptic curve points, the uncompressed point encoding defined there |
| 1482 |
<span class="bcp14">MUST</span> be used. The <code>x</code> and <code>y</code> values |
| 1483 |
represented <span class="bcp14">MUST</span> both be exactly 256 bits, with any |
| 1484 |
leading zeros preserved. Other optional values such as <code>alg</code> |
| 1485 |
<span class="bcp14">MAY</span> also be present.<a href="#section-3.1-3" class="pilcrow">¶</a></p> |
| 1486 |
<p id="section-3.1-4"> |
| 1487 |
It is represented in a COSE_Key <span>[<a href="#RFC8152" class="xref">RFC8152</a>]</span> using these values:<a href="#section-3.1-4" class="pilcrow">¶</a></p> |
| 1488 |
<ul class="compact"> |
| 1489 |
<li class="compact" id="section-3.1-5.1"> |
| 1490 |
<code>kty</code> (1): <code>EC2</code> (2)<a href="#section-3.1-5.1" class="pilcrow">¶</a> |
| 1491 |
</li> |
| 1492 |
<li class="compact" id="section-3.1-5.2"> |
| 1493 |
<code>crv</code> (-1): <code>secp256k1</code> (8)<a href="#section-3.1-5.2" class="pilcrow">¶</a> |
| 1494 |
</li> |
| 1495 |
</ul> |
| 1496 |
<p id="section-3.1-6"> |
| 1497 |
plus the values needed to represent the curve point, as defined in |
| 1498 |
<span><a href="https://www.rfc-editor.org/rfc/rfc8152#section-13.1.1" class="relref">Section 13.1.1</a> of [<a href="#RFC8152" class="xref">RFC8152</a>]</span>. |
| 1499 |
Either the uncompressed or compressed point encoding representations |
| 1500 |
defined there can be used. The <code>x</code> value represented |
| 1501 |
<span class="bcp14">MUST</span> be exactly 256 bits, with any leading zeros |
| 1502 |
preserved. If the uncompressed representation is used, the |
| 1503 |
<code>y</code> value represented <span class="bcp14">MUST</span> likewise be exactly |
| 1504 |
256 bits, with any leading zeros preserved; if the compressed |
| 1505 |
representation is used, the <code>y</code> value is a boolean value, as |
| 1506 |
specified in <span><a href="https://www.rfc-editor.org/rfc/rfc8152#section-13.1.1" class="relref">Section 13.1.1</a> of [<a href="#RFC8152" class="xref">RFC8152</a>]</span>. Other optional values such as <code>alg</code> |
| 1507 |
(3) <span class="bcp14">MAY</span> also be present.<a href="#section-3.1-6" class="pilcrow">¶</a></p> |
| 1508 |
</section> |
| 1509 |
</div> |
| 1510 |
<div id="secp256k1_ECDSA"> |
| 1511 |
<section id="section-3.2"> |
| 1512 |
<h3 id="name-ecdsa-signature-with-secp25"> |
| 1513 |
<a href="#section-3.2" class="section-number selfRef">3.2. </a><a href="#name-ecdsa-signature-with-secp25" class="section-name selfRef">ECDSA Signature with secp256k1 Curve</a> |
| 1514 |
</h3> |
| 1515 |
<p id="section-3.2-1"> |
| 1516 |
The ECDSA signature algorithm is defined in <span>[<a href="#DSS" class="xref">DSS</a>]</span>. This specification defines the <code>ES256K</code> |
| 1517 |
algorithm identifier, which is used to specify the use of ECDSA with |
| 1518 |
the secp256k1 curve and the SHA-256 <span>[<a href="#DSS" class="xref">DSS</a>]</span> cryptographic hash function. Implementations |
| 1519 |
need to check that the key type is <code>EC</code> for JOSE or |
| 1520 |
<code>EC2</code> (2) for COSE and that the curve of the key is secp256k1 |
| 1521 |
when creating or verifying a signature.<a href="#section-3.2-1" class="pilcrow">¶</a></p> |
| 1522 |
<p id="section-3.2-2"> |
| 1523 |
The ECDSA secp256k1 SHA-256 digital signature is generated as follows:<a href="#section-3.2-2" class="pilcrow">¶</a></p> |
| 1524 |
<ol start="1" type="1" class="normal type-1" id="section-3.2-3"> |
| 1525 |
<li id="section-3.2-3.1"> |
| 1526 |
Generate a digital signature of the JWS Signing Input |
| 1527 |
or the COSE Sig_structure |
| 1528 |
using ECDSA secp256k1 SHA-256 with |
| 1529 |
the desired private key. The output will be the pair |
| 1530 |
(R, S), where R and S are 256-bit unsigned integers.<a href="#section-3.2-3.1" class="pilcrow">¶</a> |
| 1531 |
</li> |
| 1532 |
<li id="section-3.2-3.2"> |
| 1533 |
Turn R and S into octet sequences in big-endian order, |
| 1534 |
with each array being 32 octets long. |
| 1535 |
The octet sequence representations <span class="bcp14">MUST NOT</span> be shortened |
| 1536 |
to omit any leading zero octets contained in the values.<a href="#section-3.2-3.2" class="pilcrow">¶</a> |
| 1537 |
</li> |
| 1538 |
<li id="section-3.2-3.3"> |
| 1539 |
Concatenate the two octet sequences in the order R and then S. |
| 1540 |
(Note that many ECDSA implementations will directly produce |
| 1541 |
this concatenation as their output.)<a href="#section-3.2-3.3" class="pilcrow">¶</a> |
| 1542 |
</li> |
| 1543 |
<li id="section-3.2-3.4"> |
| 1544 |
The resulting 64-octet sequence is the JWS Signature or COSE signature value.<a href="#section-3.2-3.4" class="pilcrow">¶</a> |
| 1545 |
</li> |
| 1546 |
</ol> |
| 1547 |
<p id="section-3.2-4"> |
| 1548 |
Implementations <span class="bcp14">SHOULD</span> use a deterministic algorithm |
| 1549 |
to generate the ECDSA nonce, k, such as the algorithm defined in |
| 1550 |
<span>[<a href="#RFC6979" class="xref">RFC6979</a>]</span>. However, in situations |
| 1551 |
where devices are vulnerable to physical attacks, deterministic |
| 1552 |
ECDSA has been shown to be susceptible to fault injection attacks |
| 1553 |
<span>[<a href="#KUDELSKI17" class="xref">KUDELSKI17</a>]</span> <span>[<a href="#EURO-SP18" class="xref">EURO-SP18</a>]</span>. Where this is a possibility, |
| 1554 |
implementations <span class="bcp14">SHOULD</span> implement appropriate |
| 1555 |
countermeasures. Where there are specific certification |
| 1556 |
requirements (such as FIPS approval), implementors should check |
| 1557 |
whether deterministic ECDSA is an approved nonce generation method.<a href="#section-3.2-4" class="pilcrow">¶</a></p> |
| 1558 |
<p id="section-3.2-5"> |
| 1559 |
The ECDSA secp256k1 SHA-256 algorithm specified in this document uses these identifiers:<a href="#section-3.2-5" class="pilcrow">¶</a></p> |
| 1560 |
<span id="name-ecdsa-algorithm-values"></span><div id="ec-algs"> |
| 1561 |
<table class="center" id="table-2"> |
| 1562 |
<caption> |
| 1563 |
<a href="#table-2" class="selfRef">Table 2</a>: |
| 1564 |
<a href="#name-ecdsa-algorithm-values" class="selfRef">ECDSA Algorithm Values</a> |
| 1565 |
</caption> |
| 1566 |
<thead> |
| 1567 |
<tr> |
| 1568 |
<th class="text-left" rowspan="1" colspan="1">Name</th> |
| 1569 |
<th class="text-left" rowspan="1" colspan="1">Value</th> |
| 1570 |
<th class="text-left" rowspan="1" colspan="1">Description</th> |
| 1571 |
<th class="text-left" rowspan="1" colspan="1">Recommended</th> |
| 1572 |
</tr> |
| 1573 |
</thead> |
| 1574 |
<tbody> |
| 1575 |
<tr> |
| 1576 |
<td class="text-left" rowspan="1" colspan="1">ES256K</td> |
| 1577 |
<td class="text-left" rowspan="1" colspan="1">-47</td> |
| 1578 |
<td class="text-left" rowspan="1" colspan="1">ECDSA using secp256k1 curve and SHA-256</td> |
| 1579 |
<td class="text-left" rowspan="1" colspan="1">No</td> |
| 1580 |
</tr> |
| 1581 |
</tbody> |
| 1582 |
</table> |
| 1583 |
</div> |
| 1584 |
<p id="section-3.2-7"> |
| 1585 |
When using a JWK or COSE_Key for this algorithm, the following checks are made:<a href="#section-3.2-7" class="pilcrow">¶</a></p> |
| 1586 |
<ul class="normal"> |
| 1587 |
<li class="normal" id="section-3.2-8.1"> |
| 1588 |
The <code>kty</code> field <span class="bcp14">MUST</span> be present, and |
| 1589 |
it <span class="bcp14">MUST</span> be <code>EC</code> for JOSE |
| 1590 |
or <code>EC2</code> for COSE.<a href="#section-3.2-8.1" class="pilcrow">¶</a> |
| 1591 |
</li> |
| 1592 |
<li class="normal" id="section-3.2-8.2"> |
| 1593 |
The <code>crv</code> field <span class="bcp14">MUST</span> be present, and |
| 1594 |
it <span class="bcp14">MUST</span> represent the <code>secp256k1</code> elliptic curve.<a href="#section-3.2-8.2" class="pilcrow">¶</a> |
| 1595 |
</li> |
| 1596 |
<li class="normal" id="section-3.2-8.3"> |
| 1597 |
If the <code>alg</code> field is present, |
| 1598 |
it <span class="bcp14">MUST</span> represent the <code>ES256K</code> algorithm.<a href="#section-3.2-8.3" class="pilcrow">¶</a> |
| 1599 |
</li> |
| 1600 |
<li class="normal" id="section-3.2-8.4"> |
| 1601 |
If the <code>key_ops</code> field is present, |
| 1602 |
it <span class="bcp14">MUST</span> include <code>sign</code> when creating an ECDSA signature.<a href="#section-3.2-8.4" class="pilcrow">¶</a> |
| 1603 |
</li> |
| 1604 |
<li class="normal" id="section-3.2-8.5"> |
| 1605 |
If the <code>key_ops</code> field is present, |
| 1606 |
it <span class="bcp14">MUST</span> include <code>verify</code> when verifying an ECDSA signature.<a href="#section-3.2-8.5" class="pilcrow">¶</a> |
| 1607 |
</li> |
| 1608 |
<li class="normal" id="section-3.2-8.6"> |
| 1609 |
If the JWK <code>use</code> field is present, |
| 1610 |
its value <span class="bcp14">MUST</span> be <code>sig</code>.<a href="#section-3.2-8.6" class="pilcrow">¶</a> |
| 1611 |
</li> |
| 1612 |
</ul> |
| 1613 |
</section> |
| 1614 |
</div> |
| 1615 |
<div id="other-uses-of-secp256k1"> |
| 1616 |
<section id="section-3.3"> |
| 1617 |
<h3 id="name-other-uses-of-the-secp256k1"> |
| 1618 |
<a href="#section-3.3" class="section-number selfRef">3.3. </a><a href="#name-other-uses-of-the-secp256k1" class="section-name selfRef">Other Uses of the secp256k1 Elliptic Curve</a> |
| 1619 |
</h3> |
| 1620 |
<p id="section-3.3-1"> |
| 1621 |
This specification defines how to use the secp256k1 curve for ECDSA |
| 1622 |
signatures for both JOSE and COSE implementations. While in theory |
| 1623 |
the curve could also be used for ECDH-ES key agreement, it is beyond |
| 1624 |
the scope of this specification to state whether this is or is not |
| 1625 |
advisable. Thus, whether or not to recommend its use with ECDH-ES is left |
| 1626 |
for experts to decide in future specifications.<a href="#section-3.3-1" class="pilcrow">¶</a></p> |
| 1627 |
<p id="section-3.3-2"> |
| 1628 |
When used for ECDSA, the secp256k1 curve <span class="bcp14">MUST</span> be used |
| 1629 |
only with the <code>ES256K</code> algorithm identifier and not any |
| 1630 |
others, including not with the COSE <code>ES256</code> identifier. Note |
| 1631 |
that the <code>ES256K</code> algorithm identifier needed to be |
| 1632 |
introduced for JOSE to sign with the secp256k1 curve because the |
| 1633 |
JOSE <code>ES256</code> algorithm is defined to be used only with the |
| 1634 |
P-256 curve. The COSE treatment of how to sign with secp256k1 is |
| 1635 |
intentionally parallel to that for JOSE, where the secp256k1 curve |
| 1636 |
<span class="bcp14">MUST</span> be used with the <code>ES256K</code> algorithm |
| 1637 |
identifier.<a href="#section-3.3-2" class="pilcrow">¶</a></p> |
| 1638 |
</section> |
| 1639 |
</div> |
| 1640 |
</section> |
| 1641 |
</div> |
| 1642 |
<div id="IANA"> |
| 1643 |
<section id="section-4"> |
| 1644 |
<h2 id="name-iana-considerations"> |
| 1645 |
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a> |
| 1646 |
</h2> |
| 1647 |
<div id="cose-algorithms-registrations"> |
| 1648 |
<section id="section-4.1"> |
| 1649 |
<h3 id="name-cose-algorithms-registratio"> |
| 1650 |
<a href="#section-4.1" class="section-number selfRef">4.1. </a><a href="#name-cose-algorithms-registratio" class="section-name selfRef">COSE Algorithms Registrations</a> |
| 1651 |
</h3> |
| 1652 |
<p id="section-4.1-1"> |
| 1653 |
IANA has registered the following values in the |
| 1654 |
"COSE Algorithms" registry <span>[<a href="#IANA.COSE.Algorithms" class="xref">IANA.COSE.Algorithms</a>]</span>.<a href="#section-4.1-1" class="pilcrow">¶</a></p> |
| 1655 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.1-2"> |
| 1656 |
<dt id="section-4.1-2.1">Name:</dt> |
| 1657 |
<dd id="section-4.1-2.2">RS256<a href="#section-4.1-2.2" class="pilcrow">¶</a> |
| 1658 |
</dd> |
| 1659 |
<dd class="break"></dd> |
| 1660 |
<dt id="section-4.1-2.3">Value:</dt> |
| 1661 |
<dd id="section-4.1-2.4">-257<a href="#section-4.1-2.4" class="pilcrow">¶</a> |
| 1662 |
</dd> |
| 1663 |
<dd class="break"></dd> |
| 1664 |
<dt id="section-4.1-2.5">Description:</dt> |
| 1665 |
<dd id="section-4.1-2.6">RSASSA-PKCS1-v1_5 using SHA-256<a href="#section-4.1-2.6" class="pilcrow">¶</a> |
| 1666 |
</dd> |
| 1667 |
<dd class="break"></dd> |
| 1668 |
<dt id="section-4.1-2.7">Change Controller: |
| 1669 |
</dt> |
| 1670 |
<dd id="section-4.1-2.8">IESG<a href="#section-4.1-2.8" class="pilcrow">¶</a> |
| 1671 |
</dd> |
| 1672 |
<dd class="break"></dd> |
| 1673 |
<dt id="section-4.1-2.9">Reference:</dt> |
| 1674 |
<dd id="section-4.1-2.10"> |
| 1675 |
<a href="#RSASSA-PKCS1-v1_5" class="xref">Section 2</a> of RFC 8812<a href="#section-4.1-2.10" class="pilcrow">¶</a> |
| 1676 |
</dd> |
| 1677 |
<dd class="break"></dd> |
| 1678 |
<dt id="section-4.1-2.11">Recommended:</dt> |
| 1679 |
<dd id="section-4.1-2.12"> No<a href="#section-4.1-2.12" class="pilcrow">¶</a> |
| 1680 |
</dd> |
| 1681 |
<dd class="break"></dd> |
| 1682 |
</dl> |
| 1683 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.1-3"> |
| 1684 |
<dt id="section-4.1-3.1"> |
| 1685 |
Name:</dt> |
| 1686 |
<dd id="section-4.1-3.2">RS384<a href="#section-4.1-3.2" class="pilcrow">¶</a> |
| 1687 |
</dd> |
| 1688 |
<dd class="break"></dd> |
| 1689 |
<dt id="section-4.1-3.3"> |
| 1690 |
Value:</dt> |
| 1691 |
<dd id="section-4.1-3.4">-258<a href="#section-4.1-3.4" class="pilcrow">¶</a> |
| 1692 |
</dd> |
| 1693 |
<dd class="break"></dd> |
| 1694 |
<dt id="section-4.1-3.5"> |
| 1695 |
Description:</dt> |
| 1696 |
<dd id="section-4.1-3.6">RSASSA-PKCS1-v1_5 using SHA-384<a href="#section-4.1-3.6" class="pilcrow">¶</a> |
| 1697 |
</dd> |
| 1698 |
<dd class="break"></dd> |
| 1699 |
<dt id="section-4.1-3.7">Change Controller: |
| 1700 |
</dt> |
| 1701 |
<dd id="section-4.1-3.8">IESG<a href="#section-4.1-3.8" class="pilcrow">¶</a> |
| 1702 |
</dd> |
| 1703 |
<dd class="break"></dd> |
| 1704 |
<dt id="section-4.1-3.9"> |
| 1705 |
Reference:</dt> |
| 1706 |
<dd id="section-4.1-3.10"> |
| 1707 |
<a href="#RSASSA-PKCS1-v1_5" class="xref">Section 2</a> of RFC 8812<a href="#section-4.1-3.10" class="pilcrow">¶</a> |
| 1708 |
</dd> |
| 1709 |
<dd class="break"></dd> |
| 1710 |
<dt id="section-4.1-3.11"> |
| 1711 |
Recommended:</dt> |
| 1712 |
<dd id="section-4.1-3.12">No<a href="#section-4.1-3.12" class="pilcrow">¶</a> |
| 1713 |
</dd> |
| 1714 |
<dd class="break"></dd> |
| 1715 |
</dl> |
| 1716 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.1-4"> |
| 1717 |
<dt id="section-4.1-4.1"> |
| 1718 |
Name:</dt> |
| 1719 |
<dd id="section-4.1-4.2">RS512<a href="#section-4.1-4.2" class="pilcrow">¶</a> |
| 1720 |
</dd> |
| 1721 |
<dd class="break"></dd> |
| 1722 |
<dt id="section-4.1-4.3"> |
| 1723 |
Value:</dt> |
| 1724 |
<dd id="section-4.1-4.4">-259<a href="#section-4.1-4.4" class="pilcrow">¶</a> |
| 1725 |
</dd> |
| 1726 |
<dd class="break"></dd> |
| 1727 |
<dt id="section-4.1-4.5"> |
| 1728 |
Description:</dt> |
| 1729 |
<dd id="section-4.1-4.6">RSASSA-PKCS1-v1_5 using SHA-512<a href="#section-4.1-4.6" class="pilcrow">¶</a> |
| 1730 |
</dd> |
| 1731 |
<dd class="break"></dd> |
| 1732 |
<dt id="section-4.1-4.7">Change Controller: |
| 1733 |
</dt> |
| 1734 |
<dd id="section-4.1-4.8">IESG<a href="#section-4.1-4.8" class="pilcrow">¶</a> |
| 1735 |
</dd> |
| 1736 |
<dd class="break"></dd> |
| 1737 |
<dt id="section-4.1-4.9"> |
| 1738 |
Reference:</dt> |
| 1739 |
<dd id="section-4.1-4.10"> |
| 1740 |
<a href="#RSASSA-PKCS1-v1_5" class="xref">Section 2</a> of RFC 8812<a href="#section-4.1-4.10" class="pilcrow">¶</a> |
| 1741 |
</dd> |
| 1742 |
<dd class="break"></dd> |
| 1743 |
<dt id="section-4.1-4.11"> |
| 1744 |
Recommended:</dt> |
| 1745 |
<dd id="section-4.1-4.12"> No<a href="#section-4.1-4.12" class="pilcrow">¶</a> |
| 1746 |
</dd> |
| 1747 |
<dd class="break"></dd> |
| 1748 |
</dl> |
| 1749 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.1-5"> |
| 1750 |
<dt id="section-4.1-5.1"> |
| 1751 |
Name:</dt> |
| 1752 |
<dd id="section-4.1-5.2">RS1<a href="#section-4.1-5.2" class="pilcrow">¶</a> |
| 1753 |
</dd> |
| 1754 |
<dd class="break"></dd> |
| 1755 |
<dt id="section-4.1-5.3"> |
| 1756 |
Value:</dt> |
| 1757 |
<dd id="section-4.1-5.4">-65535<a href="#section-4.1-5.4" class="pilcrow">¶</a> |
| 1758 |
</dd> |
| 1759 |
<dd class="break"></dd> |
| 1760 |
<dt id="section-4.1-5.5"> |
| 1761 |
Description:</dt> |
| 1762 |
<dd id="section-4.1-5.6">RSASSA-PKCS1-v1_5 using SHA-1<a href="#section-4.1-5.6" class="pilcrow">¶</a> |
| 1763 |
</dd> |
| 1764 |
<dd class="break"></dd> |
| 1765 |
<dt id="section-4.1-5.7">Change Controller: |
| 1766 |
</dt> |
| 1767 |
<dd id="section-4.1-5.8">IESG<a href="#section-4.1-5.8" class="pilcrow">¶</a> |
| 1768 |
</dd> |
| 1769 |
<dd class="break"></dd> |
| 1770 |
<dt id="section-4.1-5.9"> |
| 1771 |
Reference:</dt> |
| 1772 |
<dd id="section-4.1-5.10"> |
| 1773 |
<a href="#RSASSA-PKCS1-v1_5" class="xref">Section 2</a> of RFC 8812<a href="#section-4.1-5.10" class="pilcrow">¶</a> |
| 1774 |
</dd> |
| 1775 |
<dd class="break"></dd> |
| 1776 |
<dt id="section-4.1-5.11"> |
| 1777 |
Recommended:</dt> |
| 1778 |
<dd id="section-4.1-5.12">Deprecated<a href="#section-4.1-5.12" class="pilcrow">¶</a> |
| 1779 |
</dd> |
| 1780 |
<dd class="break"></dd> |
| 1781 |
</dl> |
| 1782 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.1-6"> |
| 1783 |
<dt id="section-4.1-6.1"> |
| 1784 |
Name:</dt> |
| 1785 |
<dd id="section-4.1-6.2">ES256K<a href="#section-4.1-6.2" class="pilcrow">¶</a> |
| 1786 |
</dd> |
| 1787 |
<dd class="break"></dd> |
| 1788 |
<dt id="section-4.1-6.3"> |
| 1789 |
Value:</dt> |
| 1790 |
<dd id="section-4.1-6.4">-47<a href="#section-4.1-6.4" class="pilcrow">¶</a> |
| 1791 |
</dd> |
| 1792 |
<dd class="break"></dd> |
| 1793 |
<dt id="section-4.1-6.5"> |
| 1794 |
Description:</dt> |
| 1795 |
<dd id="section-4.1-6.6">ECDSA using secp256k1 curve and SHA-256<a href="#section-4.1-6.6" class="pilcrow">¶</a> |
| 1796 |
</dd> |
| 1797 |
<dd class="break"></dd> |
| 1798 |
<dt id="section-4.1-6.7">Change Controller: |
| 1799 |
</dt> |
| 1800 |
<dd id="section-4.1-6.8">IESG<a href="#section-4.1-6.8" class="pilcrow">¶</a> |
| 1801 |
</dd> |
| 1802 |
<dd class="break"></dd> |
| 1803 |
<dt id="section-4.1-6.9"> |
| 1804 |
Reference:</dt> |
| 1805 |
<dd id="section-4.1-6.10"> |
| 1806 |
<a href="#secp256k1_ECDSA" class="xref">Section 3.2</a> of RFC 8812<a href="#section-4.1-6.10" class="pilcrow">¶</a> |
| 1807 |
</dd> |
| 1808 |
<dd class="break"></dd> |
| 1809 |
<dt id="section-4.1-6.11"> |
| 1810 |
Recommended:</dt> |
| 1811 |
<dd id="section-4.1-6.12">No<a href="#section-4.1-6.12" class="pilcrow">¶</a> |
| 1812 |
</dd> |
| 1813 |
<dd class="break"></dd> |
| 1814 |
</dl> |
| 1815 |
</section> |
| 1816 |
</div> |
| 1817 |
<div id="cose-curve-registration"> |
| 1818 |
<section id="section-4.2"> |
| 1819 |
<h3 id="name-cose-elliptic-curves-regist"> |
| 1820 |
<a href="#section-4.2" class="section-number selfRef">4.2. </a><a href="#name-cose-elliptic-curves-regist" class="section-name selfRef">COSE Elliptic Curves Registrations</a> |
| 1821 |
</h3> |
| 1822 |
<p id="section-4.2-1"> |
| 1823 |
IANA has registered the following value in the |
| 1824 |
"COSE Elliptic Curves" registry <span>[<a href="#IANA.COSE.Curves" class="xref">IANA.COSE.Curves</a>]</span>.<a href="#section-4.2-1" class="pilcrow">¶</a></p> |
| 1825 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.2-2"> |
| 1826 |
<dt id="section-4.2-2.1"> |
| 1827 |
Name:</dt> |
| 1828 |
<dd id="section-4.2-2.2">secp256k1<a href="#section-4.2-2.2" class="pilcrow">¶</a> |
| 1829 |
</dd> |
| 1830 |
<dd class="break"></dd> |
| 1831 |
<dt id="section-4.2-2.3"> |
| 1832 |
Value:</dt> |
| 1833 |
<dd id="section-4.2-2.4">8<a href="#section-4.2-2.4" class="pilcrow">¶</a> |
| 1834 |
</dd> |
| 1835 |
<dd class="break"></dd> |
| 1836 |
<dt id="section-4.2-2.5"> |
| 1837 |
Key Type:</dt> |
| 1838 |
<dd id="section-4.2-2.6">EC2<a href="#section-4.2-2.6" class="pilcrow">¶</a> |
| 1839 |
</dd> |
| 1840 |
<dd class="break"></dd> |
| 1841 |
<dt id="section-4.2-2.7"> |
| 1842 |
Description:</dt> |
| 1843 |
<dd id="section-4.2-2.8">SECG secp256k1 curve<a href="#section-4.2-2.8" class="pilcrow">¶</a> |
| 1844 |
</dd> |
| 1845 |
<dd class="break"></dd> |
| 1846 |
<dt id="section-4.2-2.9"> |
| 1847 |
Change Controller:</dt> |
| 1848 |
<dd id="section-4.2-2.10">IESG<a href="#section-4.2-2.10" class="pilcrow">¶</a> |
| 1849 |
</dd> |
| 1850 |
<dd class="break"></dd> |
| 1851 |
<dt id="section-4.2-2.11"> |
| 1852 |
Reference:</dt> |
| 1853 |
<dd id="section-4.2-2.12"> |
| 1854 |
<a href="#secp256k1_curve" class="xref">Section 3.1</a> of RFC 8812<a href="#section-4.2-2.12" class="pilcrow">¶</a> |
| 1855 |
</dd> |
| 1856 |
<dd class="break"></dd> |
| 1857 |
<dt id="section-4.2-2.13"> |
| 1858 |
Recommended:</dt> |
| 1859 |
<dd id="section-4.2-2.14">No<a href="#section-4.2-2.14" class="pilcrow">¶</a> |
| 1860 |
</dd> |
| 1861 |
<dd class="break"></dd> |
| 1862 |
</dl> |
| 1863 |
</section> |
| 1864 |
</div> |
| 1865 |
<div id="jose-algorithm-registration"> |
| 1866 |
<section id="section-4.3"> |
| 1867 |
<h3 id="name-jose-algorithms-registratio"> |
| 1868 |
<a href="#section-4.3" class="section-number selfRef">4.3. </a><a href="#name-jose-algorithms-registratio" class="section-name selfRef">JOSE Algorithms Registrations</a> |
| 1869 |
</h3> |
| 1870 |
<p id="section-4.3-1"> |
| 1871 |
IANA has registered the following value in the |
| 1872 |
"JSON Web Signature and Encryption Algorithms" registry <span>[<a href="#IANA.JOSE.Algorithms" class="xref">IANA.JOSE.Algorithms</a>]</span>.<a href="#section-4.3-1" class="pilcrow">¶</a></p> |
| 1873 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.3-2"> |
| 1874 |
<dt id="section-4.3-2.1"> |
| 1875 |
Algorithm Name:</dt> |
| 1876 |
<dd id="section-4.3-2.2"> ES256K<a href="#section-4.3-2.2" class="pilcrow">¶</a> |
| 1877 |
</dd> |
| 1878 |
<dd class="break"></dd> |
| 1879 |
<dt id="section-4.3-2.3"> |
| 1880 |
Algorithm Description:</dt> |
| 1881 |
<dd id="section-4.3-2.4"> ECDSA using secp256k1 curve and SHA-256<a href="#section-4.3-2.4" class="pilcrow">¶</a> |
| 1882 |
</dd> |
| 1883 |
<dd class="break"></dd> |
| 1884 |
<dt id="section-4.3-2.5"> |
| 1885 |
Algorithm Usage Location(s):</dt> |
| 1886 |
<dd id="section-4.3-2.6"> alg<a href="#section-4.3-2.6" class="pilcrow">¶</a> |
| 1887 |
</dd> |
| 1888 |
<dd class="break"></dd> |
| 1889 |
<dt id="section-4.3-2.7"> |
| 1890 |
JOSE Implementation Requirements:</dt> |
| 1891 |
<dd id="section-4.3-2.8"> Optional<a href="#section-4.3-2.8" class="pilcrow">¶</a> |
| 1892 |
</dd> |
| 1893 |
<dd class="break"></dd> |
| 1894 |
<dt id="section-4.3-2.9"> |
| 1895 |
Change Controller:</dt> |
| 1896 |
<dd id="section-4.3-2.10"> IESG<a href="#section-4.3-2.10" class="pilcrow">¶</a> |
| 1897 |
</dd> |
| 1898 |
<dd class="break"></dd> |
| 1899 |
<dt id="section-4.3-2.11"> |
| 1900 |
Reference:</dt> |
| 1901 |
<dd id="section-4.3-2.12"> |
| 1902 |
<a href="#secp256k1_ECDSA" class="xref">Section 3.2</a> of RFC 8812<a href="#section-4.3-2.12" class="pilcrow">¶</a> |
| 1903 |
</dd> |
| 1904 |
<dd class="break"></dd> |
| 1905 |
<dt id="section-4.3-2.13"> |
| 1906 |
Algorithm Analysis Document(s):</dt> |
| 1907 |
<dd id="section-4.3-2.14"> |
| 1908 |
<span>[<a href="#SEC2" class="xref">SEC2</a>]</span><a href="#section-4.3-2.14" class="pilcrow">¶</a> |
| 1909 |
</dd> |
| 1910 |
<dd class="break"></dd> |
| 1911 |
</dl> |
| 1912 |
</section> |
| 1913 |
</div> |
| 1914 |
<div id="jose-curve-registration"> |
| 1915 |
<section id="section-4.4"> |
| 1916 |
<h3 id="name-json-web-key-elliptic-curve"> |
| 1917 |
<a href="#section-4.4" class="section-number selfRef">4.4. </a><a href="#name-json-web-key-elliptic-curve" class="section-name selfRef">JSON Web Key Elliptic Curves Registrations</a> |
| 1918 |
</h3> |
| 1919 |
<p id="section-4.4-1"> |
| 1920 |
IANA has registered the following value in the |
| 1921 |
"JSON Web Key Elliptic Curve" registry <span>[<a href="#IANA.JOSE.Curves" class="xref">IANA.JOSE.Curves</a>]</span>.<a href="#section-4.4-1" class="pilcrow">¶</a></p> |
| 1922 |
<span class="break"></span><dl class="dlParallel dlCompact" id="section-4.4-2"> |
| 1923 |
<dt id="section-4.4-2.1"> |
| 1924 |
Curve Name:</dt> |
| 1925 |
<dd id="section-4.4-2.2"> secp256k1<a href="#section-4.4-2.2" class="pilcrow">¶</a> |
| 1926 |
</dd> |
| 1927 |
<dd class="break"></dd> |
| 1928 |
<dt id="section-4.4-2.3"> |
| 1929 |
Curve Description:</dt> |
| 1930 |
<dd id="section-4.4-2.4"> SECG secp256k1 curve<a href="#section-4.4-2.4" class="pilcrow">¶</a> |
| 1931 |
</dd> |
| 1932 |
<dd class="break"></dd> |
| 1933 |
<dt id="section-4.4-2.5"> |
| 1934 |
JOSE Implementation Requirements:</dt> |
| 1935 |
<dd id="section-4.4-2.6"> Optional<a href="#section-4.4-2.6" class="pilcrow">¶</a> |
| 1936 |
</dd> |
| 1937 |
<dd class="break"></dd> |
| 1938 |
<dt id="section-4.4-2.7"> |
| 1939 |
Change Controller:</dt> |
| 1940 |
<dd id="section-4.4-2.8"> IESG<a href="#section-4.4-2.8" class="pilcrow">¶</a> |
| 1941 |
</dd> |
| 1942 |
<dd class="break"></dd> |
| 1943 |
<dt id="section-4.4-2.9"> |
| 1944 |
Specification Document(s):</dt> |
| 1945 |
<dd id="section-4.4-2.10"> |
| 1946 |
<a href="#secp256k1_curve" class="xref">Section 3.1</a> of RFC 8812<a href="#section-4.4-2.10" class="pilcrow">¶</a> |
| 1947 |
</dd> |
| 1948 |
<dd class="break"></dd> |
| 1949 |
</dl> |
| 1950 |
</section> |
| 1951 |
</div> |
| 1952 |
</section> |
| 1953 |
</div> |
| 1954 |
<div id="Security"> |
| 1955 |
<section id="section-5"> |
| 1956 |
<h2 id="name-security-considerations"> |
| 1957 |
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a> |
| 1958 |
</h2> |
| 1959 |
<div id="KeySize-considerations"> |
| 1960 |
<section id="section-5.1"> |
| 1961 |
<h3 id="name-rsa-key-size-security-consi"> |
| 1962 |
<a href="#section-5.1" class="section-number selfRef">5.1. </a><a href="#name-rsa-key-size-security-consi" class="section-name selfRef">RSA Key Size Security Considerations</a> |
| 1963 |
</h3> |
| 1964 |
<p id="section-5.1-1"> |
| 1965 |
The security considerations on key sizes for RSA algorithms |
| 1966 |
from <span><a href="https://www.rfc-editor.org/rfc/rfc8230#section-6.1" class="relref">Section 6.1</a> of [<a href="#RFC8230" class="xref">RFC8230</a>]</span> also apply to the RSA algorithms |
| 1967 |
in this specification.<a href="#section-5.1-1" class="pilcrow">¶</a></p> |
| 1968 |
</section> |
| 1969 |
</div> |
| 1970 |
<div id="RSASSA-PKCS1-v1_5_SHA-2_considerations"> |
| 1971 |
<section id="section-5.2"> |
| 1972 |
<h3 id="name-rsassa-pkcs1-v1_5-with-sha-"> |
| 1973 |
<a href="#section-5.2" class="section-number selfRef">5.2. </a><a href="#name-rsassa-pkcs1-v1_5-with-sha-" class="section-name selfRef">RSASSA-PKCS1-v1_5 with SHA-2 Security Considerations</a> |
| 1974 |
</h3> |
| 1975 |
<p id="section-5.2-1"> |
| 1976 |
The security considerations on the use of RSASSA-PKCS1-v1_5 with SHA-2 hash functions |
| 1977 |
(SHA-256, SHA-384, and SHA-512) |
| 1978 |
from <span><a href="https://www.rfc-editor.org/rfc/rfc7518#section-8.3" class="relref">Section 8.3</a> of [<a href="#RFC7518" class="xref">RFC7518</a>]</span> also apply to their use |
| 1979 |
in this specification. |
| 1980 |
For that reason, these algorithms are registered as being "Not Recommended". |
| 1981 |
Likewise, the exponent restrictions described in |
| 1982 |
<span><a href="https://www.rfc-editor.org/rfc/rfc7518#section-8.3" class="relref">Section 8.3</a> of [<a href="#RFC7518" class="xref">RFC7518</a>]</span> also apply.<a href="#section-5.2-1" class="pilcrow">¶</a></p> |
| 1983 |
</section> |
| 1984 |
</div> |
| 1985 |
<div id="RSASSA-PKCS1-v1_5_SHA-1_considerations"> |
| 1986 |
<section id="section-5.3"> |
| 1987 |
<h3 id="name-rsassa-pkcs1-v1_5-with-sha-1"> |
| 1988 |
<a href="#section-5.3" class="section-number selfRef">5.3. </a><a href="#name-rsassa-pkcs1-v1_5-with-sha-1" class="section-name selfRef">RSASSA-PKCS1-v1_5 with SHA-1 Security Considerations</a> |
| 1989 |
</h3> |
| 1990 |
<p id="section-5.3-1"> |
| 1991 |
The security considerations on the use of the SHA-1 hash function |
| 1992 |
from <span>[<a href="#RFC6194" class="xref">RFC6194</a>]</span> apply in this specification. |
| 1993 |
For that reason, the "RS1" algorithm is registered as "Deprecated". |
| 1994 |
Likewise, the exponent restrictions described in |
| 1995 |
<span><a href="https://www.rfc-editor.org/rfc/rfc7518#section-8.3" class="relref">Section 8.3</a> of [<a href="#RFC7518" class="xref">RFC7518</a>]</span> also apply.<a href="#section-5.3-1" class="pilcrow">¶</a></p> |
| 1996 |
<p id="section-5.3-2"> |
| 1997 |
A COSE algorithm identifier for this algorithm is nonetheless being |
| 1998 |
registered because deployed Trusted Platform Modules (TPMs) continue |
| 1999 |
to use it; therefore, WebAuthn implementations need a COSE algorithm |
| 2000 |
identifier for "RS1" when TPM attestations using this algorithm are |
| 2001 |
being represented. New COSE applications and protocols <span class="bcp14">MUST NOT</span> use this algorithm.<a href="#section-5.3-2" class="pilcrow">¶</a></p> |
| 2002 |
</section> |
| 2003 |
</div> |
| 2004 |
<div id="secp256k1_considerations"> |
| 2005 |
<section id="section-5.4"> |
| 2006 |
<h3 id="name-secp256k1-security-consider"> |
| 2007 |
<a href="#section-5.4" class="section-number selfRef">5.4. </a><a href="#name-secp256k1-security-consider" class="section-name selfRef">secp256k1 Security Considerations</a> |
| 2008 |
</h3> |
| 2009 |
<p id="section-5.4-1"> |
| 2010 |
Care should be taken that a secp256k1 key is not mistaken for a P-256 <span>[<a href="#RFC7518" class="xref">RFC7518</a>]</span> key, |
| 2011 |
given that their representations are the same |
| 2012 |
except for the <code>crv</code> value. |
| 2013 |
As described in <span><a href="https://www.rfc-editor.org/rfc/rfc8152#section-8.1.1" class="relref">Section 8.1.1</a> of [<a href="#RFC8152" class="xref">RFC8152</a>]</span>, |
| 2014 |
we currently do not have any way to deal with this |
| 2015 |
attack except to restrict the set of curves that can be used.<a href="#section-5.4-1" class="pilcrow">¶</a></p> |
| 2016 |
<p id="section-5.4-2"> |
| 2017 |
The procedures and security considerations described in the |
| 2018 |
<span>[<a href="#SEC1" class="xref">SEC1</a>]</span>, <span>[<a href="#SEC2" class="xref">SEC2</a>]</span>, and <span>[<a href="#DSS" class="xref">DSS</a>]</span> |
| 2019 |
specifications apply to implementations of this specification.<a href="#section-5.4-2" class="pilcrow">¶</a></p> |
| 2020 |
<p id="section-5.4-3"> |
| 2021 |
Timing side-channel attacks are possible if the implementation of scalar multiplication |
| 2022 |
over the curve does not execute in constant time.<a href="#section-5.4-3" class="pilcrow">¶</a></p> |
| 2023 |
<p id="section-5.4-4"> |
| 2024 |
There are theoretical weaknesses with this curve that could result in future attacks. |
| 2025 |
While these potential weaknesses are not unique to this curve, |
| 2026 |
they are the reason that this curve is registered as "Recommended: No".<a href="#section-5.4-4" class="pilcrow">¶</a></p> |
| 2027 |
</section> |
| 2028 |
</div> |
| 2029 |
</section> |
| 2030 |
</div> |
| 2031 |
<section id="section-6"> |
| 2032 |
<h2 id="name-references"> |
| 2033 |
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-references" class="section-name selfRef">References</a> |
| 2034 |
</h2> |
| 2035 |
<section id="section-6.1"> |
| 2036 |
<h3 id="name-normative-references"> |
| 2037 |
<a href="#section-6.1" class="section-number selfRef">6.1. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a> |
| 2038 |
</h3> |
| 2039 |
<dl class="references"> |
| 2040 |
<dt id="DSS">[DSS]</dt> |
| 2041 |
<dd> |
| 2042 |
<span class="refAuthor">National Institute of Standards and Technology (NIST)</span>, <span class="refTitle">"Digital Signature Standard (DSS)"</span>, <span class="seriesInfo">FIPS PUB 186-4</span>, <span class="seriesInfo">DOI 10.6028/NIST.FIPS.186-4</span>, <time datetime="2013-07" class="refDate">July 2013</time>, <span><<a href="https://doi.org/10.6028/NIST.FIPS.186-4">https://doi.org/10.6028/NIST.FIPS.186-4</a>></span>. </dd> |
| 2043 |
<dd class="break"></dd> |
| 2044 |
<dt id="RFC2119">[RFC2119]</dt> |
| 2045 |
<dd> |
| 2046 |
<span class="refAuthor">Bradner, S.</span>, <span class="refTitle">"Key words for use in RFCs to Indicate Requirement Levels"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 2119</span>, <span class="seriesInfo">DOI 10.17487/RFC2119</span>, <time datetime="1997-03" class="refDate">March 1997</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>></span>. </dd> |
| 2047 |
<dd class="break"></dd> |
| 2048 |
<dt id="RFC6194">[RFC6194]</dt> |
| 2049 |
<dd> |
| 2050 |
<span class="refAuthor">Polk, T.</span><span class="refAuthor">, Chen, L.</span><span class="refAuthor">, Turner, S.</span><span class="refAuthor">, and P. Hoffman</span>, <span class="refTitle">"Security Considerations for the SHA-0 and SHA-1 Message-Digest Algorithms"</span>, <span class="seriesInfo">RFC 6194</span>, <span class="seriesInfo">DOI 10.17487/RFC6194</span>, <time datetime="2011-03" class="refDate">March 2011</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6194">https://www.rfc-editor.org/info/rfc6194</a>></span>. </dd> |
| 2051 |
<dd class="break"></dd> |
| 2052 |
<dt id="RFC7515">[RFC7515]</dt> |
| 2053 |
<dd> |
| 2054 |
<span class="refAuthor">Jones, M.</span><span class="refAuthor">, Bradley, J.</span><span class="refAuthor">, and N. Sakimura</span>, <span class="refTitle">"JSON Web Signature (JWS)"</span>, <span class="seriesInfo">RFC 7515</span>, <span class="seriesInfo">DOI 10.17487/RFC7515</span>, <time datetime="2015-05" class="refDate">May 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7515">https://www.rfc-editor.org/info/rfc7515</a>></span>. </dd> |
| 2055 |
<dd class="break"></dd> |
| 2056 |
<dt id="RFC7517">[RFC7517]</dt> |
| 2057 |
<dd> |
| 2058 |
<span class="refAuthor">Jones, M.</span>, <span class="refTitle">"JSON Web Key (JWK)"</span>, <span class="seriesInfo">RFC 7517</span>, <span class="seriesInfo">DOI 10.17487/RFC7517</span>, <time datetime="2015-05" class="refDate">May 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7517">https://www.rfc-editor.org/info/rfc7517</a>></span>. </dd> |
| 2059 |
<dd class="break"></dd> |
| 2060 |
<dt id="RFC7518">[RFC7518]</dt> |
| 2061 |
<dd> |
| 2062 |
<span class="refAuthor">Jones, M.</span>, <span class="refTitle">"JSON Web Algorithms (JWA)"</span>, <span class="seriesInfo">RFC 7518</span>, <span class="seriesInfo">DOI 10.17487/RFC7518</span>, <time datetime="2015-05" class="refDate">May 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7518">https://www.rfc-editor.org/info/rfc7518</a>></span>. </dd> |
| 2063 |
<dd class="break"></dd> |
| 2064 |
<dt id="RFC8017">[RFC8017]</dt> |
| 2065 |
<dd> |
| 2066 |
<span class="refAuthor">Moriarty, K., Ed.</span><span class="refAuthor">, Kaliski, B.</span><span class="refAuthor">, Jonsson, J.</span><span class="refAuthor">, and A. Rusch</span>, <span class="refTitle">"PKCS #1: RSA Cryptography Specifications Version 2.2"</span>, <span class="seriesInfo">RFC 8017</span>, <span class="seriesInfo">DOI 10.17487/RFC8017</span>, <time datetime="2016-11" class="refDate">November 2016</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8017">https://www.rfc-editor.org/info/rfc8017</a>></span>. </dd> |
| 2067 |
<dd class="break"></dd> |
| 2068 |
<dt id="RFC8152">[RFC8152]</dt> |
| 2069 |
<dd> |
| 2070 |
<span class="refAuthor">Schaad, J.</span>, <span class="refTitle">"CBOR Object Signing and Encryption (COSE)"</span>, <span class="seriesInfo">RFC 8152</span>, <span class="seriesInfo">DOI 10.17487/RFC8152</span>, <time datetime="2017-07" class="refDate">July 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8152">https://www.rfc-editor.org/info/rfc8152</a>></span>. </dd> |
| 2071 |
<dd class="break"></dd> |
| 2072 |
<dt id="RFC8174">[RFC8174]</dt> |
| 2073 |
<dd> |
| 2074 |
<span class="refAuthor">Leiba, B.</span>, <span class="refTitle">"Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 8174</span>, <span class="seriesInfo">DOI 10.17487/RFC8174</span>, <time datetime="2017-05" class="refDate">May 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>></span>. </dd> |
| 2075 |
<dd class="break"></dd> |
| 2076 |
<dt id="RFC8230">[RFC8230]</dt> |
| 2077 |
<dd> |
| 2078 |
<span class="refAuthor">Jones, M.</span>, <span class="refTitle">"Using RSA Algorithms with CBOR Object Signing and Encryption (COSE) Messages"</span>, <span class="seriesInfo">RFC 8230</span>, <span class="seriesInfo">DOI 10.17487/RFC8230</span>, <time datetime="2017-09" class="refDate">September 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8230">https://www.rfc-editor.org/info/rfc8230</a>></span>. </dd> |
| 2079 |
<dd class="break"></dd> |
| 2080 |
<dt id="SEC1">[SEC1]</dt> |
| 2081 |
<dd> |
| 2082 |
<span class="refAuthor">Standards for Efficient Cryptography Group</span>, <span class="refTitle">"SEC 1: Elliptic Curve Cryptography"</span>, <span class="seriesInfo">Version 2.0</span>, <time datetime="2009-05" class="refDate">May 2009</time>, <span><<a href="https://www.secg.org/sec1-v2.pdf">https://www.secg.org/sec1-v2.pdf</a>></span>. </dd> |
| 2083 |
<dd class="break"></dd> |
| 2084 |
<dt id="SEC2">[SEC2]</dt> |
| 2085 |
<dd> |
| 2086 |
<span class="refAuthor">Standards for Efficient Cryptography Group</span>, <span class="refTitle">"SEC 2: Recommended Elliptic Curve Domain Parameters"</span>, <span class="seriesInfo">Version 2.0</span>, <time datetime="2010-01" class="refDate">January 2010</time>, <span><<a href="https://www.secg.org/sec2-v2.pdf">https://www.secg.org/sec2-v2.pdf</a>></span>. </dd> |
| 2087 |
<dd class="break"></dd> |
| 2088 |
</dl> |
| 2089 |
</section> |
| 2090 |
<section id="section-6.2"> |
| 2091 |
<h3 id="name-informative-references"> |
| 2092 |
<a href="#section-6.2" class="section-number selfRef">6.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a> |
| 2093 |
</h3> |
| 2094 |
<dl class="references"> |
| 2095 |
<dt id="CTAP">[CTAP]</dt> |
| 2096 |
<dd> |
| 2097 |
<span class="refAuthor">Brand, C.</span><span class="refAuthor">, Czeskis, A.</span><span class="refAuthor">, Ehrensvärd, J.</span><span class="refAuthor">, Jones, M.</span><span class="refAuthor">, Kumar, A.</span><span class="refAuthor">, Lindemann, R.</span><span class="refAuthor">, Powers, A.</span><span class="refAuthor">, and J. Verrept</span>, <span class="refTitle">"Client to Authenticator Protocol (CTAP)"</span>, <span class="refContent">FIDO Alliance Proposed Standard</span>, <time datetime="2019-01" class="refDate">January 2019</time>, <span><<a href="https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html">https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html</a>></span>. </dd> |
| 2098 |
<dd class="break"></dd> |
| 2099 |
<dt id="EURO-SP18">[EURO-SP18]</dt> |
| 2100 |
<dd> |
| 2101 |
<span class="refAuthor">Poddebniak, D.</span><span class="refAuthor">, Somorovsky, J.</span><span class="refAuthor">, Schinzel, S.</span><span class="refAuthor">, Lochter, M.</span><span class="refAuthor">, and P. Rösler</span>, <span class="refTitle">"Attacking Deterministic Signature Schemes using Fault Attacks"</span>, <span class="refContent">2018 IEEE European Symposium on Security and Privacy (EuroS&P) |
| 2102 |
</span>, <span class="seriesInfo">DOI 10.1109/EuroSP.2018.00031</span>, <time datetime="2018-04" class="refDate">April 2018</time>, <span><<a href="https://ieeexplore.ieee.org/document/8406609">https://ieeexplore.ieee.org/document/8406609</a>></span>. </dd> |
| 2103 |
<dd class="break"></dd> |
| 2104 |
<dt id="IANA.COSE.Algorithms">[IANA.COSE.Algorithms]</dt> |
| 2105 |
<dd> |
| 2106 |
<span class="refAuthor">IANA</span>, <span class="refTitle">"COSE Algorithms"</span>, <span><<a href="https://www.iana.org/assignments/cose">https://www.iana.org/assignments/cose</a>></span>. </dd> |
| 2107 |
<dd class="break"></dd> |
| 2108 |
<dt id="IANA.COSE.Curves">[IANA.COSE.Curves]</dt> |
| 2109 |
<dd> |
| 2110 |
<span class="refAuthor">IANA</span>, <span class="refTitle">"COSE Elliptic Curves"</span>, <span><<a href="https://www.iana.org/assignments/cose">https://www.iana.org/assignments/cose</a>></span>. </dd> |
| 2111 |
<dd class="break"></dd> |
| 2112 |
<dt id="IANA.JOSE.Algorithms">[IANA.JOSE.Algorithms]</dt> |
| 2113 |
<dd> |
| 2114 |
<span class="refAuthor">IANA</span>, <span class="refTitle">"JSON Web Signature and Encryption Algorithms"</span>, <span><<a href="https://www.iana.org/assignments/jose">https://www.iana.org/assignments/jose</a>></span>. </dd> |
| 2115 |
<dd class="break"></dd> |
| 2116 |
<dt id="IANA.JOSE.Curves">[IANA.JOSE.Curves]</dt> |
| 2117 |
<dd> |
| 2118 |
<span class="refAuthor">IANA</span>, <span class="refTitle">"JSON Web Key Elliptic Curve"</span>, <span><<a href="https://www.iana.org/assignments/jose">https://www.iana.org/assignments/jose</a>></span>. </dd> |
| 2119 |
<dd class="break"></dd> |
| 2120 |
<dt id="KUDELSKI17">[KUDELSKI17]</dt> |
| 2121 |
<dd> |
| 2122 |
<span class="refAuthor">Romailler, Y.</span>, <span class="refTitle">"How to Defeat Ed25519 and EdDSA Using Faults"</span>, <span class="refContent">Kudelski Security Research</span>, <time datetime="2017-10" class="refDate">October 2017</time>, <span><<a href="https://research.kudelskisecurity.com/2017/10/04/defeating-eddsa-with-faults/">https://research.kudelskisecurity.com/2017/10/04/defeating-eddsa-with-faults/</a>></span>. </dd> |
| 2123 |
<dd class="break"></dd> |
| 2124 |
<dt id="RFC6979">[RFC6979]</dt> |
| 2125 |
<dd> |
| 2126 |
<span class="refAuthor">Pornin, T.</span>, <span class="refTitle">"Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)"</span>, <span class="seriesInfo">RFC 6979</span>, <span class="seriesInfo">DOI 10.17487/RFC6979</span>, <time datetime="2013-08" class="refDate">August 2013</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6979">https://www.rfc-editor.org/info/rfc6979</a>></span>. </dd> |
| 2127 |
<dd class="break"></dd> |
| 2128 |
<dt id="WebAuthn">[WebAuthn]</dt> |
| 2129 |
<dd> |
| 2130 |
<span class="refAuthor">Balfanz, D.</span><span class="refAuthor">, Czeskis, A.</span><span class="refAuthor">, Hodges, J.</span><span class="refAuthor">, Jones, J.C.</span><span class="refAuthor">, Jones, M.</span><span class="refAuthor">, Kumar, A.</span><span class="refAuthor">, Liao, A.</span><span class="refAuthor">, Lindemann, R.</span><span class="refAuthor">, and E. Lundberg</span>, <span class="refTitle">"Web Authentication: An API for accessing Public Key Credentials - Level 1"</span>, <span class="refContent">W3C Recommendation</span>, <time datetime="2019-03" class="refDate">March 2019</time>, <span><<a href="https://www.w3.org/TR/2019/REC-webauthn-1-20190304/">https://www.w3.org/TR/2019/REC-webauthn-1-20190304/</a>></span>. </dd> |
| 2131 |
<dd class="break"></dd> |
| 2132 |
</dl> |
| 2133 |
</section> |
| 2134 |
</section> |
| 2135 |
<div id="Acknowledgements"> |
| 2136 |
<section id="section-appendix.a"> |
| 2137 |
<h2 id="name-acknowledgements"> |
| 2138 |
<a href="#name-acknowledgements" class="section-name selfRef">Acknowledgements</a> |
| 2139 |
</h2> |
| 2140 |
<p id="section-appendix.a-1"> |
| 2141 |
Thanks to |
| 2142 |
<span class="contact-name">Roman Danyliw</span>, |
| 2143 |
<span class="contact-name">Linda Dunbar</span>, |
| 2144 |
<span class="contact-name">Stephen Farrell</span>, |
| 2145 |
<span class="contact-name">John Fontana</span>, |
| 2146 |
<span class="contact-name">Jeff Hodges</span>, |
| 2147 |
<span class="contact-name">Kevin Jacobs</span>, |
| 2148 |
<span class="contact-name">J.C. Jones</span>, |
| 2149 |
<span class="contact-name">Benjamin Kaduk</span>, |
| 2150 |
<span class="contact-name">Murray Kucherawy</span>, |
| 2151 |
<span class="contact-name">Neil Madden</span>, |
| 2152 |
<span class="contact-name">John Mattsson</span>, |
| 2153 |
<span class="contact-name">Matthew Miller</span>, |
| 2154 |
<span class="contact-name">Tony Nadalin</span>, |
| 2155 |
<span class="contact-name">Matt Palmer</span>, |
| 2156 |
<span class="contact-name">Eric Rescorla</span>, |
| 2157 |
<span class="contact-name">Rich Salz</span>, |
| 2158 |
<span class="contact-name">Jim Schaad</span>, |
| 2159 |
<span class="contact-name">Goeran Selander</span>, |
| 2160 |
<span class="contact-name">Wendy Seltzer</span>, |
| 2161 |
<span class="contact-name">Sean Turner</span>, |
| 2162 |
and |
| 2163 |
<span class="contact-name">Samuel Weiler</span> |
| 2164 |
for their roles in registering these algorithm identifiers.<a href="#section-appendix.a-1" class="pilcrow">¶</a></p> |
| 2165 |
</section> |
| 2166 |
</div> |
| 2167 |
<div id="authors-addresses"> |
| 2168 |
<section id="section-appendix.b"> |
| 2169 |
<h2 id="name-authors-address"> |
| 2170 |
<a href="#name-authors-address" class="section-name selfRef">Author's Address</a> |
| 2171 |
</h2> |
| 2172 |
<address class="vcard"> |
| 2173 |
<div dir="auto" class="left"><span class="fn nameRole">Michael B. Jones</span></div> |
| 2174 |
<div dir="auto" class="left"><span class="org">Microsoft</span></div> |
| 2175 |
<div class="email"> |
| 2176 |
<span>Email:</span> |
| 2177 |
<a href="mailto:[email protected]" class="email">[email protected]</a> |
| 2178 |
</div> |
| 2179 |
<div class="url"> |
| 2180 |
<span>URI:</span> |
| 2181 |
<a href="https://self-issued.info/" class="url">https://self-issued.info/</a> |
| 2182 |
</div> |
| 2183 |
</address> |
| 2184 |
</section> |
| 2185 |
</div> |
| 2186 |
<script>const toc = document.getElementById("toc"); |
| 2187 |
toc.querySelector("h2").addEventListener("click", e => { |
| 2188 |
toc.classList.toggle("active"); |
| 2189 |
}); |
| 2190 |
toc.querySelector("nav").addEventListener("click", e => { |
| 2191 |
toc.classList.remove("active"); |
| 2192 |
}); |
| 2193 |
</script> |
| 2194 |
</body> |
| 2195 |
</html> |