1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573
|
<pre>Internet Engineering Task Force (IETF) J. Peterson
Request for Comments: 8224 NeuStar
Obsoletes: <a href="./rfc4474">4474</a> C. Jennings
Category: Standards Track Cisco
ISSN: 2070-1721 E. Rescorla
RTFM, Inc.
C. Wendt
Comcast
February 2018
<span class="h1">Authenticated Identity Management</span>
<span class="h1">in the Session Initiation Protocol (SIP)</span>
Abstract
The baseline security mechanisms in the Session Initiation Protocol
(SIP) are inadequate for cryptographically assuring the identity of
the end users that originate SIP requests, especially in an
interdomain context. This document defines a mechanism for securely
identifying originators of SIP requests. It does so by defining a
SIP header field for conveying a signature used for validating the
identity and for conveying a reference to the credentials of the
signer.
This document obsoletes <a href="./rfc4474">RFC 4474</a>.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8224">https://www.rfc-editor.org/info/rfc8224</a>.
<span class="grey">Peterson, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Architectural Overview ..........................................<a href="#page-5">5</a>
<a href="#section-4">4</a>. Identity Header Field Syntax ....................................<a href="#page-7">7</a>
<a href="#section-4.1">4.1</a>. PASSporT Construction ......................................<a href="#page-8">8</a>
4.1.1. Example Full and Compact Forms of PASSporT
in Identity ........................................<a href="#page-10">10</a>
<a href="#section-5">5</a>. Example of Operations ..........................................<a href="#page-11">11</a>
<a href="#section-5.1">5.1</a>. Example Identity Header Construction ......................<a href="#page-13">13</a>
<a href="#section-6">6</a>. Signature Generation and Validation ............................<a href="#page-14">14</a>
<a href="#section-6.1">6.1</a>. Authentication Service Behavior ...........................<a href="#page-14">14</a>
<a href="#section-6.1.1">6.1.1</a>. Handling Repairable Errors .........................<a href="#page-16">16</a>
<a href="#section-6.2">6.2</a>. Verifier Behavior .........................................<a href="#page-17">17</a>
<a href="#section-6.2.1">6.2.1</a>. Authorization of Requests ..........................<a href="#page-19">19</a>
6.2.2. Failure Response Codes Sent by a
Verification Service ...............................<a href="#page-19">19</a>
<a href="#section-6.2.3">6.2.3</a>. Handling Retried Requests ..........................<a href="#page-21">21</a>
<a href="#section-6.2.4">6.2.4</a>. Handling the Full Form of PASSporT .................<a href="#page-21">21</a>
<a href="#section-7">7</a>. Credentials ....................................................<a href="#page-22">22</a>
<a href="#section-7.1">7.1</a>. Credential Use by the Authentication Service ..............<a href="#page-22">22</a>
<a href="#section-7.2">7.2</a>. Credential Use by the Verification Service ................<a href="#page-23">23</a>
<a href="#section-7.3">7.3</a>. "info" Parameter URIs .....................................<a href="#page-24">24</a>
<a href="#section-7.4">7.4</a>. Credential System Requirements ............................<a href="#page-25">25</a>
<a href="#section-8">8</a>. Identity Types .................................................<a href="#page-26">26</a>
<a href="#section-8.1">8.1</a>. Differentiating Telephone Numbers from URIs ...............<a href="#page-26">26</a>
<a href="#section-8.2">8.2</a>. Authority for Telephone Numbers ...........................<a href="#page-27">27</a>
<a href="#section-8.3">8.3</a>. Telephone Number Canonicalization Procedures ..............<a href="#page-28">28</a>
<a href="#section-8.4">8.4</a>. Authority for Domain Names ................................<a href="#page-29">29</a>
<a href="#section-8.5">8.5</a>. URI Normalization .........................................<a href="#page-30">30</a>
<a href="#section-9">9</a>. Extensibility ..................................................<a href="#page-31">31</a>
<a href="#section-10">10</a>. Backwards Compatibility with <a href="./rfc4474">RFC 4474</a> .........................<a href="#page-32">32</a>
<span class="grey">Peterson, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<a href="#section-11">11</a>. Privacy Considerations ........................................<a href="#page-32">32</a>
<a href="#section-12">12</a>. Security Considerations .......................................<a href="#page-34">34</a>
<a href="#section-12.1">12.1</a>. Protected Request Fields .................................<a href="#page-34">34</a>
<a href="#section-12.1.1">12.1.1</a>. Protection of the To Header and Retargeting .......<a href="#page-36">36</a>
<a href="#section-12.2">12.2</a>. Unprotected Request Fields ...............................<a href="#page-37">37</a>
<a href="#section-12.3">12.3</a>. Malicious Removal of Identity Headers ....................<a href="#page-37">37</a>
<a href="#section-12.4">12.4</a>. Securing the Connection to the Authentication Service ....<a href="#page-38">38</a>
<a href="#section-12.5">12.5</a>. Authorization and Transitional Strategies ................<a href="#page-39">39</a>
<a href="#section-12.6">12.6</a>. Display-Names and Identity ...............................<a href="#page-40">40</a>
<a href="#section-13">13</a>. IANA Considerations ...........................................<a href="#page-40">40</a>
<a href="#section-13.1">13.1</a>. SIP Header Fields ........................................<a href="#page-40">40</a>
<a href="#section-13.2">13.2</a>. SIP Response Codes .......................................<a href="#page-41">41</a>
<a href="#section-13.3">13.3</a>. Identity-Info Parameters .................................<a href="#page-41">41</a>
<a href="#section-13.4">13.4</a>. Identity-Info Algorithm Parameter Values .................<a href="#page-41">41</a>
<a href="#section-14">14</a>. Changes from <a href="./rfc4474">RFC 4474</a> .........................................<a href="#page-41">41</a>
<a href="#section-15">15</a>. References ....................................................<a href="#page-42">42</a>
<a href="#section-15.1">15.1</a>. Normative References .....................................<a href="#page-42">42</a>
<a href="#section-15.2">15.2</a>. Informative References ...................................<a href="#page-43">43</a>
Acknowledgments ...................................................<a href="#page-46">46</a>
Authors' Addresses ................................................<a href="#page-46">46</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document provides enhancements to the existing mechanisms for
authenticated identity management in the Session Initiation Protocol
(SIP) [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>]. An identity, for the purposes of this document, is
defined as either
o a canonical address-of-record (AoR) SIP URI employed to reach a
user (such as "sip:alice@atlanta.example.com") or
o a telephone number, which commonly appears either in a tel URI
[<a href="./rfc3966" title=""The tel URI for Telephone Numbers"">RFC3966</a>] or as the user portion of a SIP URI.
[<a id="ref-RFC3261">RFC3261</a>] specifies several places within a SIP request where users
can express an identity for themselves, most prominently the
user-populated From header field. However, in the absence of some
sort of cryptographic authentication mechanism, the recipient of a
SIP request has no way to verify that the From header field has been
populated appropriately. This leaves SIP vulnerable to a category of
abuses such as impersonation attacks that facilitate or enable
robocalling, voicemail hacking, swatting, and related problems as
described in [<a href="./rfc7340" title=""Secure Telephone Identity Problem Statement and Requirements"">RFC7340</a>]. Ideally, a cryptographic approach to
identity can provide a much stronger assurance of identity than the
Caller ID services that the telephone network provides today, and one
less vulnerable to spoofing.
<span class="grey">Peterson, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
[<a id="ref-RFC3261">RFC3261</a>] encourages user agents (UAs) to implement a number of
potential authentication mechanisms, including Digest authentication,
Transport Layer Security (TLS), and S/MIME (implementations may
support other security schemes as well). However, few SIP UAs today
support the end-user certificates necessary to authenticate
themselves (via S/MIME, for example), and for its part Digest
authentication is limited by the fact that the originator and
destination must share a prearranged secret. Practically speaking,
originating UAs need to be able to securely communicate their users'
identities to destinations with which they have no previous
association.
As an initial attempt to address this gap, [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] specified a
means of signing portions of SIP requests in order to provide an
identity assurance. However, [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] was in several ways
misaligned with deployment realities (see [<a href="#ref-SIP-RFC4474-CONCERNS">SIP-RFC4474-CONCERNS</a>]).
Most significantly, [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] did not deal well with telephone
numbers as identifiers, despite their enduring use in SIP
deployments. [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] also provided a signature over material that
intermediaries in existing deployments commonly altered. This
specification therefore deprecates the syntax and behavior specified
by [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>], reconsidering the problem space in light of the threat
model in [<a href="./rfc7375" title=""Secure Telephone Identity Threat Model"">RFC7375</a>] and aligning the signature format with PASSporT
(Personal Assertion Token) [<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>]. Backwards-compatibility
considerations are given in <a href="#section-10">Section 10</a>.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
In addition, this document uses three terms specific to the
mechanism:
o Identity: An identifier for the user of a communications service;
for the purposes of SIP, either a SIP URI or a telephone number.
Identities are derived from an "identity field" in a SIP request
such as the From header field.
o Authentication Service: A logical role played by a SIP entity that
adds Identity headers to SIP requests.
o Verification Service (or "Verifier"): A logical role played by a
SIP entity that validates Identity headers in a SIP request.
<span class="grey">Peterson, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Architectural Overview</span>
The identity architecture for SIP defined in this specification
depends on a logical "authentication service" that validates outgoing
requests. An authentication service may be implemented either as
part of a UA or as a proxy server; typically, it is a component of a
network intermediary like a proxy to which originating UAs send
unsigned requests. Once the originator of the message has been
authenticated, through prearranged means with the authentication
service, the authentication service then creates and adds an Identity
header field to the request. This requires computing cryptographic
information -- including a digital signature over some components of
messages -- that lets other SIP entities verify that the sending user
has been authenticated and its claim of a particular identity has
been authorized. These "verification services" validate the
signature and enable policy decisions to be made based on the results
of the validation.
Policy decisions made after validation depend heavily on the
verification service's trust for the credentials that the
authentication service uses to sign requests. As robocalling,
voicemail hacking, and swatting usually involve impersonation of
telephone numbers, credentials that will be trusted by relying
parties to sign for telephone numbers are a key component of the
architecture. Authority over telephone numbers is, however, not as
easy to establish on the Internet as authority over traditional
domain names. This document assumes the existence of credentials for
establishing authority over telephone numbers for cases where the
telephone number is the identity of the user, but does not mandate or
specify a credential system; [<a href="./rfc8226" title=""Secure Telephone Identity Credentials: Certificates"">RFC8226</a>] describes a credential system
compatible with this architecture.
Although addressing the vulnerabilities in the Secure Telephone
Identity Revisited (STIR) problem statement [<a href="./rfc7340" title=""Secure Telephone Identity Problem Statement and Requirements"">RFC7340</a>] and threat
model mostly requires dealing with telephone number as identities,
SIP must also handle signing for SIP URIs as identities. This is
typically easier to deal with, as these identities are issued by
organizations that have authority over Internet domains. When a new
user becomes associated with example.com, for example, the
administrator of the SIP service for that domain can issue them an
identity in that namespace, such as sip:alice@example.com. Alice may
then send REGISTER requests to example.com that make her UAs eligible
to receive requests for sip:alice@example.com. In other cases, Alice
may herself be the owner of her own domain and may issue herself
identities as she chooses. But ultimately, it is the controller of
the SIP service at example.com that must be responsible for
authorizing the use of names in the example.com domain. Therefore,
for the purposes of SIP as defined in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], the necessary
<span class="grey">Peterson, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
credentials needed to prove that a user is authorized to use a
particular From header field must ultimately derive from the domain
owner: either (1) a UA gives requests to the domain name owner in
order for them to be signed by the domain owner's credentials or
(2) the UA must possess credentials that prove that the domain owner
has given the UA the right to a name.
In order to share a cryptographic assurance of end-user SIP identity
in an interdomain or intradomain context, an authentication service
constructs tokens based on the PASSporT format [<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>], which is
special encoding of a JSON [<a href="./rfc8259" title=""The JavaScript Object Notation (JSON) Data Interchange Format"">RFC8259</a>] object comprising values derived
from certain header field values in the SIP request. The
authentication service computes a signature over those JSON elements
as PASSporT specifies. An encoding of the resulting PASSporT is then
placed in the SIP Identity header field. In order to assist in the
validation of the Identity header field, this specification also
describes a parameter of the Identity header field that can be used
by the recipient of a request to recover the credentials of the
signer.
Note that the scope of this document is limited to providing an
identity assurance for SIP requests; solving this problem for SIP
responses is outside the scope of this work (see [<a href="./rfc4916" title=""Connected Identity in the Session Initiation Protocol (SIP)"">RFC4916</a>]). Future
work might specify ways that a SIP implementation could gateway
PASSporTs to other protocols.
<span class="grey">Peterson, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Identity Header Field Syntax</span>
The Identity and Identity-Info header fields that were previously
defined in [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] are deprecated by this document. This revised
specification collapses the grammar of Identity-Info into the
Identity header field via the "info" parameter. Note that unlike the
prior specification in [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>], the Identity header field is now
allowed to appear more than one time in a SIP request. The revised
grammar for the Identity header field builds on the ABNF [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>] in
<a href="./rfc3261#section-25">[RFC3261], Section 25</a>. It is as follows:
Identity = "Identity" HCOLON signed-identity-digest SEMI
ident-info *( SEMI ident-info-params )
signed-identity-digest = 1*(base64-char / ".")
ident-info = "info" EQUAL ident-info-uri
ident-info-uri = LAQUOT absoluteURI RAQUOT
ident-info-params = ident-info-alg / ident-type /
ident-info-extension
ident-info-alg = "alg" EQUAL token
ident-type = "ppt" EQUAL token
ident-info-extension = generic-param
base64-char = ALPHA / DIGIT / "/" / "+"
In addition to the "info" parameter, and the "alg" parameter
previously defined in [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>], this specification defines the
optional "ppt" parameter (PASSporT Type). The "absoluteURI" portion
of ident-info-uri MUST contain a URI; see <a href="#section-7.3">Section 7.3</a> for more on
choosing how to advertise credentials through this parameter.
The signed-identity-digest contains a base64 encoding of a PASSporT
[<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>], which secures the request with a signature that PASSporT
generates over the JSON header and payload objects; some of those
header and claim element values will mirror values of the SIP
request.
<span class="grey">Peterson, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. PASSporT Construction</span>
For SIP implementations to populate the PASSporT header JSON object
with fields from a SIP request, the following elements MUST be placed
as the values corresponding to the designated JSON keys:
o First, per the baseline PASSporT specification [<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>], the JSON
"typ" key MUST have the value "passport".
o Second, the JSON key "alg" MUST mirror the value of the optional
"alg" parameter in the SIP Identity header field. Note that if
the "alg" parameter is absent from the Identity header, the
default value is "ES256".
o Third, the JSON key "x5u" MUST have a value equivalent to the
quoted URI in the "info" parameter, per the simple string
comparison rules of <a href="./rfc3986#section-6.2.1">[RFC3986], Section 6.2.1</a>.
o Fourth, if a PASSporT extension is in use, then the optional JSON
key "ppt" MUST be present and have a value equivalent to the
quoted value of the "ppt" parameter of the Identity header field.
An example of the PASSporT header JSON object without any
extension is:
{ "typ":"passport",
"alg":"ES256",
"x5u":"https://www.example.com/cert.cer" }
To populate the PASSporT payload JSON object from a SIP request, the
following elements MUST be placed as values corresponding to the
designated JSON keys:
o First, the JSON "orig" object MUST be populated. If the
originating identity is a telephone number, then the array MUST be
populated with a JSON object containing a "tn" element with a
value set to the value of the quoted originating identity, a
canonicalized telephone number (see <a href="#section-8.3">Section 8.3</a>). Otherwise, the
object MUST be populated with a JSON object containing a "uri"
element, set to the value of the AoR of the UA sending the message
as taken from the addr-spec of the From header field, per the
procedures in <a href="#section-8.5">Section 8.5</a>.
o Second, the JSON "dest" array MUST be populated. If the
destination identity is a telephone number, then the array MUST be
populated with a JSON object containing a "tn" element with a
value set to the value of the quoted destination identity, a
canonicalized telephone number (see <a href="#section-8.3">Section 8.3</a>). Otherwise, the
<span class="grey">Peterson, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
array MUST be populated with a JSON object containing a "uri"
element, set to the value of the addr-spec component of the
To header field, which is the AoR to which the request is being
sent, per the procedures in <a href="#section-8.5">Section 8.5</a>. Multiple JSON objects
are permitted in "dest" for future compatibility reasons.
o Third, the JSON key "iat" MUST appear. The authentication service
SHOULD set the value of "iat" to an encoding of the value of the
SIP Date header field as a JSON NumericDate (as UNIX time, per
<a href="./rfc7519#section-2">[RFC7519], Section 2</a>), though an authentication service MAY set
the value of "iat" to its own current clock time. If the
authentication service uses its own clock time, then the use of
the full form of PASSporT is REQUIRED. In either case, the
authentication service MUST NOT generate a PASSporT for a SIP
request if the Date header is outside of its local policy for
freshness (sixty seconds is RECOMMENDED).
o Fourth, if the request contains a Session Description Protocol
(SDP) message body and if that SDP contains one or more
"a=fingerprint" attributes, then the JSON key "mky" MUST appear
with the algorithm(s) and value(s) of the fingerprint attributes
(if they differ), following the format given in <a href="./rfc8225#section-5.2.2">[RFC8225],
Section 5.2.2</a>.
For example:
{ "orig":{"tn":"12155551212"},
"dest":{"tn":["12155551213"]},
"iat":1443208345 }
For information on the security properties of these SIP message
elements and why their inclusion mitigates replay attacks, see
<a href="#section-12">Section 12</a>. Note that future extensions to PASSporT could introduce
new claims and that further SIP procedures could be required to
extract information from the SIP request to populate the values of
those claims; see <a href="#section-9">Section 9</a> of this document.
The "orig" and "dest" arrays may contain identifiers of heterogeneous
type; for example, the "orig" array might contain a "tn" claim, while
the "dest" contains a "uri" claim. Also note that in some cases, the
"dest" array may be populated with more than one value. This could,
for example, occur when multiple "dest" identities are specified in a
meshed conference. Defining how a SIP implementation would align
multiple destination identities in PASSporT with such systems is left
as a subject for future specifications.
<span class="grey">Peterson, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
After these two JSON objects, the header and the payload, have been
constructed and base64-encoded, they must each be hashed and signed
per <a href="./rfc8225#section-6">[RFC8225], Section 6</a>. The header, payload, and signature
components comprise a full PASSporT object. The resulting PASSporT
may be carried in SIP in either (1) a full form, which includes the
header and payload as well as the signature or (2) a compact form,
which only carries the signature per <a href="./rfc8225#section-7">[RFC8225], Section 7</a>. The
hashing and signing algorithm is specified by the "alg" parameter of
the Identity header field and the mirrored "alg" parameter of
PASSporT. All implementations of this specification MUST support the
required signing algorithms of PASSporT. At present, there is one
mandatory-to-support value for the "alg" parameter: "ES256", as
defined in [<a href="./rfc7519" title=""JSON Web Token (JWT)"">RFC7519</a>], which connotes an Elliptic Curve Digital
Signature Algorithm (ECDSA) P-256 digital signature.
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. Example Full and Compact Forms of PASSporT in Identity</span>
As <a href="#appendix-F">Appendix F</a> of the JSON Web Signature (JWS) specification [<a href="./rfc7515" title=""JSON Web Signature (JWS)"">RFC7515</a>]
notes, there are cases where "it is useful to integrity-protect
content that is not itself contained in a JWS." Since the fields
that make up the majority of the PASSporT header and payload have
values replicated in the SIP request, the SIP usage of PASSporT may
exclude the base64-encoded version of the header and payload JSON
objects from the Identity header field and instead present a detached
signature: what PASSporT calls its compact form; see <a href="./rfc8225#section-7">[RFC8225],
Section 7</a>.
When an authentication service constructs an Identity header, the
contents of the signed-identity-digest field MUST contain either a
full or compact PASSporT. Use of the compact form is RECOMMENDED in
order to reduce message size, but note that extensions often require
the full form (see <a href="#section-9">Section 9</a>).
For example, a full form of PASSporT in an Identity header might look
as follows (backslashes shown for line folding only):
Identity: eyJhbGciOiJFUzI1NiIsInR5cCI6InBhc3Nwb3J0IiwieDV1I \
joiaHR0cHM6Ly9jZXJ0LmV4YW1wbGUub3JnL3Bhc3Nwb3J0LmNlciJ9.eyJ \
kZXN0Ijp7InVyaSI6WyJzaXA6YWxpY2VAZXhhbXBsZS5jb20iXX0sImlhdC \
I6IjE0NDMyMDgzNDUiLCJvcmlnIjp7InRuIjoiMTIxNTU1NTEyMTIifX0.r \
q3pjT1hoRwakEGjHCnWSwUnshd0-zJ6F1VOgFWSjHBr8Qjpjlk-cpFYpFYs \
ojNCpTzO3QfPOlckGaS6hEck7w;info=<https://biloxi.example.org \
/biloxi.cert>
<span class="grey">Peterson, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
The compact form of the same PASSporT object would appear in the
Identity header as:
Identity: ..rq3pjT1hoRwakEGjHCnWSwUnshd0-zJ6F1VOgFWSjHBr8Qj \
pjlk-cpFYpFYsojNCpTzO3QfPOlckGaS6hEck7w; \
info=<https://biloxi.example.org/biloxi.cert>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Example of Operations</span>
This section provides an informative (non-normative) high-level
example of the operation of the mechanisms described in this
document.
Imagine a case where Bob, who has the home proxy of example.com and
the AoR sip:12155551212@example.com;user=phone, wants to communicate
with Alice at sip:alice@example.com. They have no prior
relationship, and Alice implements best practices to prevent
impersonation attacks.
Bob's UA generates an INVITE and places his AoR in the From header
field of the request. He then sends an INVITE to an authentication
service proxy for his domain.
............................ ..............................
. . . .
. +-------+ . . +-------+ .
. Signs for | | . Signed . | | .
. 12125551xxx| Auth |------------> | Verif | .
. | Svc | . INVITE . | Svc | .
. | Proxy | . . | Proxy | .
. > +-------+ . . +-------+ \ .
. / | . -> \ .
. / | . --. \ .
. / | . -- . \ .
. / | . -- . \ .
. / +-------+. -- . \ .
. / | |.<- . \ .
. / | Cert |. . > .
. +-------+ | Store |. . +-------+ .
. | | | |. . | | .
. | Bob | +-------+. . | Alice | .
. | UA | . . | UA | .
. | | . . | | .
. +-------+ . . +-------+ .
. Domain A . . Domain B .
............................ ..............................
<span class="grey">Peterson, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
The proxy authenticates Bob and validates that he is authorized to
assert the identity that he populated in the From header field. The
proxy authentication service then constructs a PASSporT that contains
a JSON representation of values that mirror certain parts of the SIP
request, including the identity in the From header field value. As a
part of generating the PASSporT, the authentication service signs a
hash of that JSON header and payload with the private key associated
with the appropriate credential for the identity (in this example, a
certificate with authority to sign for numbers in a range from
12155551000 to 12155551999), and the signature is inserted by the
proxy server into the Identity header field value of the request as a
compact form of PASSporT. Alternatively, the JSON header and payload
themselves might also have been included in the object when using the
full form of PASSporT.
The proxy authentication service, as the holder of a private key with
authority over Bob's telephone number, is asserting that the
originator of this request has been authenticated and that he is
authorized to claim the identity that appears in the From header
field. The proxy inserts an "info" parameter into the Identity
header field that tells Alice how to acquire keying material
necessary to validate its credentials (a public key), in case she
doesn't already have it.
When Alice's domain receives the request, a proxy verification
service validates the signature provided in the Identity header field
and then determines that the authentication service credentials
demonstrate authority over the identity in the From header field.
This same validation operation might be performed by a verification
service in Alice's UA server (UAS). Ultimately, this valid request
is rendered to Alice. If the validation were unsuccessful, some
other treatment could be applied by the receiving domain or
Alice's UA.
<span class="grey">Peterson, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Example Identity Header Construction</span>
For the following SIP request:
INVITE sip:alice@example.com SIP/2.0
Via: SIP/2.0/TLS pc33.atlanta.example.com;branch=z9hG4bKnashds8
To: Alice <sip:alice@example.com>
From: Bob <sip:12155551212@example.com;user=phone>;tag=1928301774>
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Max-Forwards: 70
Date: Fri, 25 Sep 2015 19:12:25 GMT
Contact: <sip:12155551212@gateway.example.com>
Content-Type: application/sdp
Content-Length: ...
v=0
o=UserA 2890844526 2890844526 IN IP4 pc33.atlanta.example.com
s=Session SDP
c=IN IP4 pc33.atlanta.example.com
t=0 0
m=audio 49172 RTP/AVP 0
a=rtpmap:0 PCMU/8000
An authentication service will create a corresponding PASSporT
object. The properly serialized PASSporT header and payload JSON
objects would look as follows. For the header, the values chosen by
the authentication service at "example.com" might read:
{"alg":"ES256","typ":"passport","x5u":"https://cert.example.org/
passport.cer"}
The serialized payload will derive values from the SIP request (the
From, To, and Date header field values) as follows:
{"dest":{"uri":["sip:alice@example.com"]},"iat":1443208345,
"orig":{"tn":"12155551212"}}
The authentication service would then generate the signature over the
object, following the procedures in <a href="./rfc8225#section-6">[RFC8225], Section 6</a>. That
signature would look as follows:
rq3pjT1hoRwakEGjHCnWSwUnshd0-zJ6F1VOgFWSjHBr8Qjpjlk-cpFYpFYs \
ojNCpTzO3QfPOlckGaS6hEck7w
<span class="grey">Peterson, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
An authentication service signing this request and using the compact
form of PASSporT would thus generate and add to the request an
Identity header field of the following form:
Identity: ..rq3pjT1hoRwakEGjHCnWSwUnshd0-zJ6F1VOgFWSjHBr8Qjpj \
lk-cpFYpFYsojNCpTzO3QfPOlckGaS6hEck7w; \
info=<https://cert.example.org/passport.cer>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Signature Generation and Validation</span>
SIP entities that instantiate the authentication service and
verification service roles will, respectively, generate and validate
the Identity header and the signature it contains.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Authentication Service Behavior</span>
Any entity that instantiates the authentication service role MUST
possess the private key of one or more credentials that can be used
to sign for a domain or a telephone number (see <a href="#section-7.1">Section 7.1</a>). The
authentication service role can be instantiated, for example, by an
intermediary such as a proxy server or by a UA. Intermediaries that
instantiate this role MUST be capable of authenticating one or more
SIP users who can register for that identity. Commonly, this role
will be instantiated by a proxy server, since proxy servers are more
likely to have a static hostname, hold corresponding credentials, and
have access to SIP registrar capabilities that allow them to
authenticate users. It is also possible that the authentication
service role might be instantiated by an entity that acts as a
redirect server, but that is left as a topic for future work.
An authentication service adds the Identity header field to SIP
requests. The procedures below define the steps that must be taken
when each Identity header field is added. More than one Identity
header field may appear in a single request, and an authentication
service may add an Identity header field to a request that already
contains one or more Identity header fields.
Entities instantiating the authentication service role perform the
following steps, in order, to generate an Identity header field for a
SIP request:
Step 1: Check Authority for the Identity
First, the authentication service must determine whether it is
authoritative for the identity of the originator of the request. The
authentication service extracts the identity from the URI value from
the "identity field"; in ordinary operations, that is the addr-spec
component of the From header field. In order to determine whether
<span class="grey">Peterson, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
the signature for the identity field should be over the entire
identity field URI or just a telephone number, the authentication
service MUST follow the process described in <a href="#section-8.1">Section 8.1</a>. The
information in that section will lead to either the telephone number
canonicalization procedures in <a href="#section-8.3">Section 8.3</a> for telephone numbers or
the URI normalization procedures described in <a href="#section-8.5">Section 8.5</a> for domain
names. Whichever the result, if the authentication service is not
authoritative for the identity in question, it SHOULD process and
forward the request normally unless the local policy is to block such
requests. The authentication service MUST NOT add an Identity header
field if the authentication service does not have the authority to
make the claim it asserts.
Step 2: Authenticate the Originator
The authentication service MUST then determine whether or not the
originator of the request is authorized to claim the identity given
in the identity field. In order to do so, the authentication service
MUST authenticate the originator of the message. Some possible ways
in which this authentication might be performed include the
following:
o If the authentication service is instantiated by a SIP
intermediary (proxy server), it may authenticate the request with
the authentication scheme used for registration in its domain
(e.g., Digest authentication).
o If the authentication service is instantiated by a SIP UA, a UA
may authenticate its own user through any system-specific means,
perhaps simply by virtue of having physical access to the UA.
Authorization of the use of a particular username or telephone number
in the user part of the From header field is a matter of local policy
for the authentication service; see <a href="#section-7.1">Section 7.1</a> for more information.
Note that this check is performed only on the addr-spec in the
identity field (e.g., the URI of the originator, like
"sip:alice@atlanta.example.com"); it does not cover the display-name
portion of the From header field (e.g., "Alice Atlanta"). For more
information, see <a href="#section-12.6">Section 12.6</a>.
Step 3: Verify Date is Present and Valid
An authentication service MUST add a Date header field to SIP
requests that do not have one. The authentication service MUST
ensure that any preexisting Date header field in the request is
accurate. Local policy can dictate precisely how accurate the Date
must be; a RECOMMENDED maximum discrepancy of sixty seconds will
<span class="grey">Peterson, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
ensure that the request is unlikely to upset any verifiers. If the
Date header field value contains a time different by more than
one minute from the current time noted by the authentication service,
the authentication service SHOULD reject the request. Finally, the
authentication service MUST verify that both the Date header field
and the current time fall within the validity period of its
credential.
See <a href="#section-12.1">Section 12.1</a> for information on how the Date header field assists
verifiers.
Step 4: Populate and Add the Identity Header
Subsequently, the authentication service MUST form a PASSporT object
and add a corresponding Identity header field to the request
containing either the full or compact form of PASSporT. For the
baseline PASSporT header (headers containing no "ppt" parameter),
this follows the procedures in <a href="#section-4">Section 4</a>; if the authentication
service is using an alternative "ppt" format, it MUST add an
appropriate "ppt" parameter and follow the procedures associated with
that extension (see <a href="#section-9">Section 9</a>). After the Identity header field has
been added to the request, the authentication service MUST also add
an "info" parameter to the Identity header field. The "info"
parameter contains a URI from which the authentication service's
credential can be acquired; see <a href="#section-7.3">Section 7.3</a> for more on credential
acquisition.
An authentication service MAY use the full form of the PASSporT in
the Identity header field. The presence of the full form is OPTIONAL
because the information carried in the baseline PASSporT headers and
claims is usually redundant with information already carried
elsewhere in the SIP request. Using the compact form can
significantly reduce SIP message size, especially when the PASSporT
payload contains media keys. The syntax of the compact form is given
in <a href="./rfc8225#section-7">[RFC8225], Section 7</a>; essentially, it contains only the signature
component of the PASSporT.
Note that per the behavior specified in [<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>], use of the full
form is mandatory when optional extensions are included. See
<a href="#section-9">Section 9</a>.
<span class="h4"><a class="selflink" id="section-6.1.1" href="#section-6.1.1">6.1.1</a>. Handling Repairable Errors</span>
Also, in some cases, a request signed by an authentication service
will be rejected by the verification service on the receiving side,
and the authentication service will receive a SIP 4xx status code in
the backwards direction, such as a 438 ("Invalid Identity Header")
response indicating a verification failure. If the authentication
<span class="grey">Peterson, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
service did not originally send the full form of the PASSporT object
in the Identity header field, it SHOULD retry the request with the
full form after receiving a 438 response; however, implementations
SHOULD NOT retry the request more than once. Authentication services
implemented at proxy servers would retry such a request as a
sequential fork, by reprocessing the destination as a new target and
handling it serially as described in <a href="./rfc3261#section-16.6">Section 16.6 of [RFC3261]</a>.
The information in the full form is useful on the verification side
for debugging errors, and there are some known causes of verification
failures (such as the Date header field value changing in transit;
see <a href="#section-12.1">Section 12.1</a> for more information) that can be resolved by the
inclusion of the full form of PASSporT.
Finally, the authentication service forwards the message normally.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Verifier Behavior</span>
This document specifies a logical role for SIP entities; this role is
called a verification service, or verifier. When a verifier receives
a SIP message containing one or more Identity header fields, it
inspects the signature(s) to verify the identity of the originator of
the message. The results of a verification are provided as input to
an authorization process that is outside the scope of this document.
A SIP request may contain zero, one, or more Identity header fields.
A verification service performs the steps below on each Identity
header field that appears in a request. If a verification service
cannot use any Identity header in a request, due to the absence of
Identity headers or unsupported "ppt" parameters, and the presence of
an Identity header field is required by local policy (for example,
based on a per-sending-domain policy or a per-sending-user policy),
then a 428 "Use Identity Header" response MUST be sent in the
backwards direction. For more on this and other verifier responses,
see <a href="#section-6.2.2">Section 6.2.2</a>.
In order to verify an Identity header field in a message, an entity
acting as a verifier MUST perform the following steps, in the order
specified below. Note that when an Identity header field contains a
full-form PASSporT object, the verifier MUST follow the additional
procedures in <a href="#section-6.2.4">Section 6.2.4</a>.
Step 1: Check for an Unsupported "ppt"
The verifier MUST inspect any optional "ppt" parameter appearing in
the Identity header. If no "ppt" parameter is present, then the
verifier proceeds normally with Steps 2 through 5. If a "ppt"
parameter value is present and the verifier does not support it,
<span class="grey">Peterson, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
it MUST ignore the Identity header field. If a supported "ppt"
parameter value is present, the verifier proceeds with Step 2 and
will ultimately follow the "ppt" variations described in Step 5.
Step 2: Determine the Originator's Identity
In order to determine whether the signature for the identity field
should be over the entire identity field URI or just a telephone
number, the verification service MUST follow the process described in
<a href="#section-8.1">Section 8.1</a>. The information in that section will lead to either the
telephone number canonicalization procedures in <a href="#section-8.3">Section 8.3</a> for
telephone numbers or the URI normalization procedures described in
<a href="#section-8.5">Section 8.5</a> for domain names.
Step 3: Identify Credential for Validation
The verifier must ensure that it has access to the proper keying
material to validate the signature in the Identity header field; this
usually involves dereferencing a URI in the "info" parameter of the
Identity header field. See <a href="#section-7.2">Section 7.2</a> for more information on these
procedures. If the verifier does not support the credential
described in the "info" parameter, then it treats the credential for
this header field as unsupported.
Step 4: Check the Freshness of Date
The verifier furthermore ensures that the value of the Date header
field of the request meets local policy for freshness (sixty seconds
is RECOMMENDED) and that it falls within the validity period of the
credential used to sign the Identity header field. For more on the
attacks this prevents, see <a href="#section-12.1">Section 12.1</a>. If the full form of the
PASSporT is present, the verifier SHOULD compare the "iat" value in
the PASSporT to the Date header field value in the request. If the
two are different, and the "iat" value differs from the Date header
field value but remains within verification service policy for
freshness, the verification service SHOULD perform the computation
required by Step 5, using the "iat" value instead of the Date header
field value.
Step 5: Validate the Signature
The verifier MUST validate the signature in the Identity header field
over the PASSporT object. For baseline PASSporT objects (with no
Identity header field "ppt" parameter), the verifier MUST follow the
procedures for generating the signature over a PASSporT object as
described in <a href="#section-4">Section 4</a>. If a "ppt" parameter is present (and, per
Step 1, is supported), the verifier follows the procedures for that
"ppt" (see <a href="#section-9">Section 9</a>). If a verifier determines that the signature
<span class="grey">Peterson, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
in the Identity header field does not correspond to the reconstructed
signed-identity-digest, then the Identity header field should be
considered invalid.
<span class="h4"><a class="selflink" id="section-6.2.1" href="#section-6.2.1">6.2.1</a>. Authorization of Requests</span>
The verification of an Identity header field does not entail any
particular treatment of the request. The handling of the message
after the verification process depends on how the verification
service is implemented and on local policy. This specification
does not propose any authorization policy for UAs or proxy servers to
follow based on the presence of a valid Identity header field, the
presence of an invalid Identity header field, the absence of an
Identity header field, or the presence of a stale Date header field
value. However, it is anticipated that local policies could involve
making different forwarding decisions in intermediary
implementations, or changing how the user is alerted or how identity
is rendered in UA implementations.
The presence of multiple Identity header fields within a message
raises the prospect that a verification service could receive a
message containing both valid and invalid Identity header fields. As
a guideline, this specification recommends that only if a verifier
determines that all Identity header fields within a message are
invalid should the request be considered to have an invalid identity.
If at least one Identity header field value is valid and from a
trusted source, then relying parties can use that header for
authorization decisions regardless of whether other untrusted or
invalid Identity headers appear in a request.
<span class="h4"><a class="selflink" id="section-6.2.2" href="#section-6.2.2">6.2.2</a>. Failure Response Codes Sent by a Verification Service</span>
[<a id="ref-RFC4474">RFC4474</a>] originally defined four response codes for failure
conditions specific to the Identity header field and its original
mechanism. These status codes are retained in this specification,
with some slight modifications. Also, this specification details
responding with a 403 "Forbidden" response when a stale Date header
field value is received; see below.
A 428 response will be sent (per <a href="#section-6.2">Section 6.2</a>) when an Identity header
field is required but no Identity header field without a "ppt"
parameter or with a supported "ppt" value has been received. In the
case where one or more Identity header fields with unsupported "ppt"
values have been received, then a verification service may send a 428
with a human-readable reason phrase like "Use Supported PASSporT
Format". Note, however, that this specification gives no guidance on
<span class="grey">Peterson, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
how a verification service might decide to require an Identity header
field for a particular SIP request. Such authorization policies are
outside the scope of this specification.
The 436 "Bad Identity Info" response code indicates an inability to
acquire the credentials needed by the verification service for
validating the signature in an Identity header field. Again, given
the potential presence of multiple Identity header fields, this
response code should only be sent when the verification service is
unable to dereference the URIs and/or acquire the credentials
associated with all Identity header fields in the request. This
failure code could be repairable if the authentication service
resends the request with an "info" parameter pointing to a credential
that the verification service can access.
The 437 "Unsupported Credential" response (previously
"Unsupported Certificate"; see <a href="#section-13.2">Section 13.2</a>) is sent when a
verification service can acquire, or already holds, the credential
represented by the "info" parameter of at least one Identity header
field in the request but does not support said credential(s), for
reasons such as failing to trust the issuing certification authority
(CA) or failing to support the algorithm with which the credential
was signed.
The 438 "Invalid Identity Header" response indicates that of the set
of Identity header fields in a request, no header field with a valid
and supported PASSporT object has been received. Like the 428
response, this is sent by a verification service when its local
policy dictates that a broken signature in an Identity header field
is grounds for rejecting a request. Note that in some cases, an
Identity header field may be broken for other reasons than that an
originator is attempting to spoof an identity: for example, when a
transit network alters the Date header field of the request. Sending
a full-form PASSporT can repair some of these conditions (see
<a href="#section-6.2.4">Section 6.2.4</a>), so the recommended way to attempt to repair this
failure is to retry the request with the full form of PASSporT if it
had originally been sent with the compact form. The alternative
reason phrase "Invalid PASSporT" can be used when an extended
full-form PASSporT lacks required headers or claims, or when an
extended full-form PASSporT signaled with the "ppt" parameter lacks
required claims for that extension. Sending a string along these
lines will help humans debugging the sending system.
<span class="grey">Peterson, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
Finally, a 403 response may be sent when the verification service
receives a request with a Date header field value that is older than
the local policy for freshness permits. The same response may be
used when the "iat" in the full form of a PASSporT has a value older
than the local policy for freshness permits. The reason phrase
"Stale Date" can be sent to help humans debug the failure.
Future specifications may explore ways, including Reason codes or
Warning headers, to communicate further information that could be
used to disambiguate the source of errors in cases with multiple
Identity headers in a single request or to provide similar detailed
feedback for debugging purposes.
<span class="h4"><a class="selflink" id="section-6.2.3" href="#section-6.2.3">6.2.3</a>. Handling Retried Requests</span>
If a verification service sends a failure response in the backwards
direction, the authentication service may retry the request as
described in <a href="#section-6.1.1">Section 6.1.1</a>. If the authentication service is
instantiated at a proxy server, then it will retry the request as a
sequential fork. Verification services implemented at a proxy server
will recognize this request as a spiral rather than a loop due to the
proxy behavior fix documented in <a href="./rfc5393#section-4.2">[RFC5393], Section 4.2</a>. However, if
the verification service is implemented in an endpoint, the endpoint
will need to override the default UAS behavior (in particular, the
SHOULD in <a href="./rfc3261#section-8.2.2.2">[RFC3261], Section 8.2.2.2</a>) to accept this request as a
spiral rather than a loop.
<span class="h4"><a class="selflink" id="section-6.2.4" href="#section-6.2.4">6.2.4</a>. Handling the Full Form of PASSporT</span>
If the full form of PASSporT is present in an Identity header, this
permits the use of optional extensions as described in <a href="./rfc8225#section-8.3">[RFC8225],
Section 8.3</a>. Furthermore, the verification service can extract from
the "orig" and "dest" elements of the PASSporT full form the
canonical telephone numbers created by the authentication service, as
well as an "iat" claim corresponding to the Date header field that
the authentication service used. These values may be used to debug
canonicalization problems or to avoid unnecessary signature breakage
caused by intermediaries that alter certain SIP header field values
in transit.
However, the verification service MUST NOT treat the value in the
"orig" of a full-form PASSporT as the originating identity of the
call: the originating identity of the call is always derived from the
SIP signaling, and it is that value, per the procedures above in
<a href="#section-6.2">Section 6.2</a> Step 2, that is used to recompute the signature at the
verification service. That value, rather than the value inside the
PASSporT object, is rendered to an end user in ordinary SIP
operations, and if a verification service were to simply trust that
<span class="grey">Peterson, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
the value in the "orig" corresponded to the call that it received
without comparing it to the call signaling, this would enable various
cut-and-paste attacks. As an optimization, when the full form is
present, the verification service MAY delay performing that
cryptographic operation and first compute its own canonicalization of
an originating telephone number to compare it to the values in the
"orig" element of PASSporT. This would allow the verification
service to ascertain whether or not the two ends agree on the
canonical number form; if they do not, then surely the signature
validation would fail.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Credentials</span>
This section gives general guidance on the use of credential systems
by authentication and verification services, as well as requirements
that must be met by credential systems that conform with this
architecture. It does not mandate any specific credential system.
Furthermore, this specification allows either a UA or a proxy server
to provide the authentication service function and/or the
verification service function. For the purposes of end-to-end
security, it is obviously preferable for end systems to acquire their
own credentials; in this case, UAs can act as authentication
services. However, for some deployments, end-user credentials may be
neither practical nor affordable, given the potentially large number
of SIP UAs (phones, PCs, laptops, PDAs, gaming devices) that may be
employed by a single user. Synchronizing keying material across
multiple devices may be prohibitively complex and require quite a
good deal of additional endpoint behavior. Managing several
credentials for the various devices could also be burdensome. Thus,
for reasons of credential management alone, implementing the
authentication service at an intermediary may be more practical.
This trade-off needs to be understood by implementers of this
specification.
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Credential Use by the Authentication Service</span>
In order to act as an authentication service, a SIP entity must
possess the private keying material of one or more credentials that
cover domain names or telephone numbers. These credentials may
represent authority over one domain (such as example.com) or a set of
domains enumerated by the credential. Similarly, a credential may
represent authority over a single telephone number or a range of
telephone numbers. The way that the scope of a credential's
authority is expressed is specific to the credential mechanism.
<span class="grey">Peterson, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
Authorization of the use of a particular username or telephone number
in the From header field value is a matter of local policy for the
authentication service, one that depends greatly on the manner in
which authentication is performed. For non-telephone number user
parts, one policy might be as follows: the username given in the
"username" parameter of the Proxy-Authorization header field must
correspond exactly to the username in the From header field of the
SIP message. However, there are many cases in which this is too
limiting or inappropriate; a realm might use "username" parameters in
the Proxy-Authorization header field that do not correspond to the
user portion of From header fields, or a user might manage multiple
accounts in the same administrative domain. In this latter case, a
domain might maintain a mapping between the values in the "username"
parameter of the Proxy-Authorization header field and a set of one or
more SIP URIs that might legitimately be asserted for that
"username". For example, the username can correspond to the "private
identity" as defined by the Third Generation Partnership Project
(3GPP) [<a href="#ref-TS-3GPP.23.228">TS-3GPP.23.228</a>], in which case the From header field can
contain any one of the public identities associated with this private
identity. In this instance, another policy might be as follows: the
URI in the From header field must correspond exactly to one of the
mapped URIs associated with the "username" given in the
Proxy-Authorization header field. This is a suitable approach for
telephone numbers in particular.
This specification could also be used with credentials that cover a
single name or URI, such as alice@example.com or
sip:alice@example.com. This would require a modification to
authentication service behavior to operate on a whole URI rather than
a domain name. Because this is not believed to be a pressing use
case, this is deferred to future work, but implementers should note
this as a possible future direction.
Exceptions to such authentication service policies arise for cases
like anonymity; if the AoR asserted in the From header field uses a
form like "sip:anonymous@example.com" (see [<a href="./rfc3323" title=""A Privacy Mechanism for the Session Initiation Protocol (SIP)"">RFC3323</a>]), then the
"example.com" proxy might authenticate only that the user is a valid
user in the domain and insert the signature over the From header
field as usual.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Credential Use by the Verification Service</span>
In order to act as a verification service, a SIP entity must have a
way to acquire credentials for authorities over particular domain
names, telephone numbers, and/or number ranges. Dereferencing the
URI found in the "info" parameter of the Identity header field (as
described in <a href="#section-7.3">Section 7.3</a>) MUST be supported by all verification
service implementations to create a baseline means of credential
<span class="grey">Peterson, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
acquisition. Provided that the credential used to sign a message is
not previously known to the verifier, SIP entities SHOULD discover
this credential by dereferencing the "info" parameter, unless they
have some implementation-specific way of acquiring the needed keying
material, such as an offline store of periodically updated
credentials. The 436 "Bad Identity Info" response exists for cases
where the verification service cannot dereference the URI in the
"info" parameter.
This specification does not propose any particular policy for a
verification service to determine whether or not the holder of a
credential is the appropriate party to sign for a given SIP identity.
Guidance on this is deferred to credential mechanism specifications.
Verification service implementations supporting this specification
may wish to have some means of retaining credentials (in accordance
with normal practices for credential lifetimes and revocation) in
order to prevent themselves from needlessly downloading the same
credential every time a request from the same identity is received.
Credentials cached in this manner may be indexed in accordance with
local policy: for example, by their scope of authority or by the URI
given in the "info" parameter value. Further consideration of how to
cache credentials is deferred to the credential mechanism
specifications.
<span class="h3"><a class="selflink" id="section-7.3" href="#section-7.3">7.3</a>. "info" Parameter URIs</span>
An "info" parameter MUST contain a URI that dereferences to a
resource that contains the public key components of the credential
used by the authentication service to sign a request. It is
essential that a URI in the "info" parameter be dereferencable by any
entity that could plausibly receive the request. For common cases,
this means that the URI SHOULD be dereferencable by any entity on the
public Internet. In constrained deployment environments, a service
private to the environment MAY be used instead.
Beyond providing a means of accessing credentials for an identity,
the "info" parameter further serves as a means of differentiating
which particular credential was used to sign a request, when there
are potentially multiple authorities eligible to sign. For example,
imagine a case where a domain implements the authentication service
role for a range of telephone numbers and a UA belonging to Alice has
acquired a credential for a single telephone number within that
range. Either would be eligible to sign a SIP request for the number
in question. Verification services, however, need a means to
differentiate which one performed the signature. The "info"
parameter performs that function.
<span class="grey">Peterson, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-7.4" href="#section-7.4">7.4</a>. Credential System Requirements</span>
This document makes no recommendation for the use of any specific
credential system. Today, there are two primary credential systems
in place for proving ownership of domain names: certificates (e.g.,
X.509 v3; see [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>]) and the domain name system itself (e.g.,
DNS-Based Authentication of Named Entities (DANE); see [<a href="./rfc6698" title=""The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA"">RFC6698</a>]).
It is envisioned that either could be used in the SIP identity
context: an "info" parameter could, for example, give an HTTP URL of
the Content-Type "application/pkix-cert" pointing to a certificate
(following the conventions of [<a href="./rfc2585" title=""Internet X.509 Public Key Infrastructure Operational Protocols: FTP and HTTP"">RFC2585</a>]). The "info" parameter might
use the DNS URL scheme (see [<a href="./rfc4501" title=""Domain Name System Uniform Resource Identifiers"">RFC4501</a>]) to designate keys in the DNS.
While no comparable public credentials exist for telephone numbers,
either approach could be applied to telephone numbers. A credential
system based on certificates is given in [<a href="./rfc8226" title=""Secure Telephone Identity Credentials: Certificates"">RFC8226</a>], but this
specification can work with other credential systems; for example,
using the DNS was proposed in [<a href="#ref-CIDER" title=""A proposal for Caller Identity in a DNS-based Entrusted Registry (CIDER)"">CIDER</a>].
In order for a credential system to work with this mechanism, its
specification must detail:
o which URI schemes the credential will use in the "info" parameter,
and any special procedures required to dereference the URIs,
o how the verifier can learn the scope of the credential,
o any special procedures required to extract keying material from
the resources designated by the URI,
o any algorithms required to validate the credentials (e.g., for
certificates, any algorithms used by certificate authorities to
sign certificates themselves), and
o how the associated credentials will support the mandatory signing
algorithm(s) required by PASSporT [<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>].
SIP entities cannot reliably predict where SIP requests will
terminate. When choosing a credential scheme for deployments of this
specification, it is therefore essential that the trust anchor(s) for
credentials be widely trusted or that deployments restrict the use of
this mechanism to environments where the reliance on particular trust
anchors is assured by business arrangements or similar constraints.
Note that credential systems must address key lifecycle management
concerns: were a domain to change the credential available at the
Identity header field "info" parameter URI before a verifier
evaluates a request signed by an authentication service, this would
<span class="grey">Peterson, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
cause obvious verifier failures. When a rollover occurs,
authentication services SHOULD thus provide new "info" URIs for each
new credential and SHOULD continue to make older key acquisition URIs
available for a duration longer than the plausible lifetime of a SIP
transaction (a minute would most likely suffice).
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Identity Types</span>
The STIR problem statement [<a href="./rfc7340" title=""Secure Telephone Identity Problem Statement and Requirements"">RFC7340</a>] focuses primarily on cases where
the called and calling parties identified in the To and From header
field values use telephone numbers, as this remains the dominant use
case in the deployment of SIP. However, the Identity header
mechanism also works with SIP URIs without telephone numbers (of the
form "sip:user@host") and, potentially, other identifiers when SIP
interworks with other protocols.
Authentication services confirm the identity of the originator of a
call, which is typically found in the From header field value. The
guidance in this specification also applies to extracting the URI
containing the originator's identity from the P-Asserted-Identity
header field value instead of the From header field value. In some
trusted environments, the P-Asserted-Identity header field is used
in lieu of the From header field to convey the AoR or telephone
number of the originator of a request; where it does, local policy
might therefore dictate that the canonical identity derives from the
P-Asserted-Identity header field rather than the From header field.
Ultimately, in any case where local policy canonicalizes the identity
into a form different from how it appears in the From header field,
the use of the full form of PASSporT by authentication services is
RECOMMENDED, but because the "orig" claim of PASSporT itself could
then divulge information about users or networks, implementers should
be mindful of the guidelines in <a href="#section-11">Section 11</a>.
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Differentiating Telephone Numbers from URIs</span>
In order to determine whether or not the user portion of a SIP URI is
a telephone number, authentication services and verification services
MUST perform the following procedure on any SIP URI they inspect that
contains a numeric user part. Note that the same procedures are
followed for creating the canonical form of a URI found in the From
header field as the procedures used for a URI found in the To header
field or the P-Asserted-Identity header field.
First, implementations will ascertain if the user portion of the URI
constitutes a telephone number. Telephone numbers most commonly
appear in SIP header field values in the username portion of a SIP
URI (e.g., "sip:+17005551008@chicago.example.com;user=phone"). The
<span class="grey">Peterson, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
user part of SIP URIs with the "user=phone" parameter conforms to the
syntax of the tel URI scheme [<a href="./rfc3966" title=""The tel URI for Telephone Numbers"">RFC3966</a>]. It is also possible for a
tel URI to appear in SIP header fields outside the context of a SIP
or Session Initiation Protocol Secure (SIPS) URI (e.g.,
"tel:+17005551008"). Thus, in standards-compliant environments,
numbers will be explicitly labeled by the use of tel URIs or the
"user=phone" parameter.
Alternatively, implementations in environments that do not conform to
those standards MAY follow local policies for identifying telephone
numbers. For example, implementations could infer that the user part
is a telephone number due to the presence of the "+" indicator at the
start of the user portion. Absent even that indication, if there are
numbers present in the user portion, implementations might
conceivably also detect that the user portion of the URI contains a
telephone number by determining whether or not those numbers would be
dialable or routable in the local environment -- bearing in mind that
the telephone number may be a valid E.164 number [<a href="#ref-E.164" title=""The international public telecommunication numbering plan"">E.164</a>], a
nationally specific number, or even a private branch exchange number.
Implementations could also rely on external hints: for example, a
verification service implementation could infer from the type of
credential that signed a request that the signature must be over a
telephone number.
Regardless of how the implementation detects telephone numbers, once
a telephone number has been detected, implementations SHOULD follow
the procedures in <a href="#section-8.3">Section 8.3</a>. If the URI field does not contain a
telephone number or if the result of the canonicalization of the From
header field value does not form a valid E.164 telephone number, the
authentication service and/or verification service SHOULD treat the
entire URI as a SIP URI and apply the procedures in <a href="#section-8.5">Section 8.5</a>.
These URI normalization procedures are invoked to canonicalize the
URI before it is included in a PASSporT object in, for example, a
"uri" claim. See <a href="#section-8.5">Section 8.5</a> for that behavior.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Authority for Telephone Numbers</span>
In order for telephone numbers to be used with the mechanism
described in this document, authentication services must receive
credentials from an authority for telephone numbers or telephone
number ranges, and verification services must trust the authority
employed by the authentication service that signs a request. Per
<a href="#section-7.4">Section 7.4</a>, enrollment procedures and credential management are
outside the scope of this document; approaches to credential
management for telephone numbers are discussed in [<a href="./rfc8226" title=""Secure Telephone Identity Credentials: Certificates"">RFC8226</a>].
<span class="grey">Peterson, et al. Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-8.3" href="#section-8.3">8.3</a>. Telephone Number Canonicalization Procedures</span>
Once an implementation has identified a telephone number, it must
construct a number string. That requires performing the following
steps:
o Implementations MUST drop any "+"s, internal dashes, parentheses,
or other non-numeric characters, except for the "#" or "*" keys
used in some special service numbers (typically, these will appear
only in the To header field value). This MUST result in an ASCII
string limited to "#", "*", and digits without whitespace or
visual separators.
o Next, an implementation must assess if the number string is a
valid, globally routable number with a leading country code.
If not, implementations SHOULD convert the number into E.164
format, adding a country code if necessary; this may involve
transforming the number from a dial string (see [<a href="./rfc3966" title=""The tel URI for Telephone Numbers"">RFC3966</a>]),
removing any national or international dialing prefixes or
performing similar procedures. It is only in the case that an
implementation cannot determine how to convert the number to a
globally routable format that this step may be skipped. This will
be the case, for example, for nationally specific service numbers
(e.g., 911, 112); however, calls to those numbers are routed in a
very strict fashion, which ordinarily prevents them from reaching
entities that don't understand the numbers.
o Some domains may need to take unique steps to convert their
numbers into a global format, and such transformations during
canonicalization can also be made in accordance with specific
policies used within a local domain. For example, one domain may
only use local number formatting and need to convert all To/From
header field user portions to E.164 by prepending country-code and
region-code digits; another domain might have prefixed usernames
with trunk-routing codes, in which case the canonicalization will
need to remove the prefix. This specification cannot anticipate
all of the potential transformations that might be useful.
o The resulting canonical number string will be used as input to the
hash calculation during signing and verifying processes.
<span class="grey">Peterson, et al. Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
The ABNF of this number string is:
tn-spec = 1*tn-char
tn-char = "#" / "*" / DIGIT
The resulting number string is used in the construction of the
telephone number field(s) in a PASSporT object.
<span class="h3"><a class="selflink" id="section-8.4" href="#section-8.4">8.4</a>. Authority for Domain Names</span>
To use a SIP URI as an identity in this mechanism requires
authentication and verification systems to support standard
mechanisms for proving authority over a domain name: that is, the
domain name in the host portion of the SIP URI.
A verifier MUST evaluate the correspondence between the user's
identity and the signing credential by following the procedures
defined in <a href="./rfc5922#section-7.2">[RFC5922], Section 7.2</a>. While [<a href="./rfc5922" title=""Domain Certificates in the Session Initiation Protocol (SIP)"">RFC5922</a>] deals with the
use of TLS and is specific to certificates, the procedures described
are applicable to verifying identity if one substitutes the "hostname
of the server" for the domain portion of the user's identity in the
From header field of a SIP request with an Identity header field.
This process is complicated by two deployment realities. In the
first place, credentials have varying ways of describing their
subjects and may indeed have multiple subjects, especially in
"virtual hosting" cases where multiple domains are managed by a
single application (see <a href="./rfc5922#section-7.8">[RFC5922], Section 7.8</a>). Secondly, some SIP
services may delegate SIP functions to a subordinate domain and
utilize the procedures in [<a href="./rfc3263" title=""Session Initiation Protocol (SIP): Locating SIP Servers"">RFC3263</a>] that allow requests for, say,
"example.com" to be routed to "sip.example.com". As a result, a user
with the AoR "sip:alice@example.com" may process requests through a
host like "sip.example.com", and it may be that latter host that acts
as an authentication service.
To address the second of these problems, a domain that deploys an
authentication service on a subordinate host might supply that host
with the private keying material associated with a credential whose
subject is a domain name that corresponds to the domain portion of
the AoRs that the domain distributes to users. Note that this
corresponds to the comparable case of routing inbound SIP requests to
a domain. When the NAPTR and SRV procedures of [<a href="./rfc3263" title=""Session Initiation Protocol (SIP): Locating SIP Servers"">RFC3263</a>] are used to
direct requests to a domain name other than the domain in the
original Request-URI (e.g., for "sip:alice@example.com", the
corresponding SRV records point to the service "sip1.example.org"),
the client expects that the certificate passed back in any TLS
exchange with that host will correspond exactly with the domain of
the original Request-URI, not the domain name of the host.
<span class="grey">Peterson, et al. Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
Consequently, in order to make inbound routing to such SIP services
work, a domain administrator must similarly be willing to share the
domain's private key with the service. This design decision was made
to compensate for the insecurity of the DNS, and it makes certain
potential approaches to DNS-based "virtual hosting" unsecurable for
SIP in environments where domain administrators are unwilling to
share keys with hosting services.
<span class="h3"><a class="selflink" id="section-8.5" href="#section-8.5">8.5</a>. URI Normalization</span>
Just as telephone numbers may undergo a number of syntactic
transformations during transit, the same can happen to SIP and SIPS
URIs without telephone numbers as they traverse certain
intermediaries. Therefore, when generating a PASSporT object based
on a SIP request, any SIP and SIPS URIs must be transformed into a
canonical form that captures the AoR represented by the URI before
they are provisioned in PASSporT claims such as "uri". The URI
normalization procedures required are as follows.
Following the ABNF of [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], the SIP or SIPS URI in question MUST
discard all elements after the "hostport" of the URI, including all
uri-parameters and escaped headers, from its syntax. Of the userinfo
component of the SIP URI, only the user element will be retained: any
password (and any leading ":" before the password) MUST be removed,
and since this userinfo necessarily does not contain a
telephone-subscriber component, no further parameters can appear in
the user portion.
The hostport portion of the SIP or SIPS URI MUST similarly be
stripped of any trailing port along with the ":" that proceeds the
port, leaving only the host.
The ABNF of this canonical URI form (following the syntax defined in
[<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>]) is:
canon-uri = ( "sip" / "sips" ) ":" user "@" host
Finally, the URI will be subject to the syntax-based URI
normalization procedures of <a href="./rfc3986#section-6.2.2">[RFC3986], Section 6.2.2</a>.
Implementations MUST perform case normalization (rendering the
scheme, user, and host all lowercase) and percent-encoding
normalization (decoding any percent-encoded octet that corresponds to
an unreserved character, per <a href="./rfc3986#section-2.3">[RFC3986], Section 2.3</a>). However, note
that normalization procedures face known challenges in some
internationalized environments (see [<a href="#ref-IRI-COMPARISON">IRI-COMPARISON</a>]) and that
perfect normalization of URIs may not be possible in those
environments.
<span class="grey">Peterson, et al. Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
For future PASSporT applications, it may be desirable to provide an
identifier without an attached protocol scheme. Future
specifications that define PASSporT claims for SIP as a using
protocol could use these basic procedures but could eliminate the
scheme component. A more exact definition is left to future
specifications.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Extensibility</span>
As future requirements may warrant increasing the scope of the
Identity mechanism, this specification specifies an optional "ppt"
parameter of the Identity header field, which mirrors the "ppt"
header in PASSporT. The "ppt" parameter value MUST consist of a
token containing an extension specification, which denotes an
extended set of one or more signed claims per the type extensibility
mechanism specified in <a href="./rfc8225#section-8">[RFC8225], Section 8</a>. Note that per the
guidance in that section, "ppt" is used only to enforce a mandatory
extension: optional claims may be added to any PASSporT object
without requiring the use of "ppt", but the compact form of PASSporT
MUST NOT be used when optional claims are present in the PASSporT
payload.
The potential for extensions is one of the primary motivations for
allowing the presence of multiple Identity header fields in the same
SIP request. It is envisioned that future extensions might allow for
alternate information to be signed or explicitly allow different
parties to provide the signatures than the authorities envisioned by
baseline STIR. A request might, for example, have one Identity added
by an authentication service at the originating administrative domain
and then another Identity header field added by some further
intermediary using a PASSporT extension. While this specification
does not define any such specific purpose for multiple Identity
header fields, implementations MUST support receiving multiple header
fields for reasons of future compatibility.
An authentication service cannot assume that verifiers will
understand any given extension. Verifiers that do support an
extension may then trigger appropriate application-level behavior in
the presence of an extension; authors of extensions should provide
appropriate extension-specific guidance to application developers on
this point.
<span class="grey">Peterson, et al. Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Backwards Compatibility with <a href="./rfc4474">RFC 4474</a></span>
This specification introduces several significant changes from the
version of the Identity header field defined by [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>]. However,
due to the problems enumerated in [<a href="#ref-SIP-RFC4474-CONCERNS">SIP-RFC4474-CONCERNS</a>], it is not
believed that the original Identity header field has seen any
deployment, or even implementation in deployed products.
As such, this mechanism contains no provisions for signatures
generated with this specification to work with implementations
compliant with [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>], nor does it contain any related backwards-
compatibility provisions. Hypothetically, were an implementation
compliant with [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] to receive messages containing this revised
version of the Identity header field, it would likely fail the
request with a 436 response code due to the absence of an
Identity-Info header field (<a href="#section-4">Section 4</a>). Implementations of this
specification, for debugging purposes, might interpret a 436 with a
reason phrase of "Bad Identity Info" (previously "Bad Identity-Info";
see <a href="#section-13.2">Section 13.2</a>) as an indication that the request has failed
because it reached a (hypothetical) verification service that is
compliant with [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>].
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Privacy Considerations</span>
The purpose of this mechanism is to provide a reliable identification
of the originator of a SIP request, specifically a cryptographic
assurance that an authority asserts the originator can claim the URI
the identity stipulated in the request. This URI may contain or
imply a variety of personally identifying information, including the
name of a human being, their place of work or service provider, and,
possibly, further details. The intrinsic privacy risks associated
with that URI are, however, no different from those of baseline SIP.
Per the guidance in [<a href="./rfc6973" title=""Privacy Considerations for Internet Protocols"">RFC6973</a>], implementers should make users aware
of the privacy trade-off of providing secure identity.
The identity mechanism presented in this document is compatible with
the standard SIP practices for privacy described in [<a href="./rfc3323" title=""A Privacy Mechanism for the Session Initiation Protocol (SIP)"">RFC3323</a>]. A SIP
proxy server can act as both a privacy service as described in
[<a href="./rfc3323" title=""A Privacy Mechanism for the Session Initiation Protocol (SIP)"">RFC3323</a>] and an authentication service. Since a UA can provide any
From header field value that the authentication service is willing to
authorize, there is no reason why private SIP URIs that contain
legitimate domains (e.g., sip:anonymous@example.com) cannot be signed
by an authentication service. The construction of the Identity
header field is the same for private URIs as it is for any other sort
of URIs. Similar practices could be used to support opportunistic
signing of SIP requests for UA-integrated authentication services
with self-signed certificates, though that is outside the scope of
this specification and is left as a matter for future investigation.
<span class="grey">Peterson, et al. Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
Note, however, that even when using anonymous SIP URIs, an
authentication service must possess a certificate corresponding to
the host portion of the addr-spec of the From header field value of
the request; accordingly, using domains like "anonymous.invalid"
will not be usable by privacy services that simultaneously act as
authentication services. The assurance offered by the usage of
anonymous URIs with a valid domain portion is "this is a known user
in my domain that I have authenticated, but I am keeping its identity
private."
It is worth noting two features of this more anonymous form of
identity. One can eliminate any identifying information in a domain
through the use of the domain "anonymous.invalid", but we must then
acknowledge that it is difficult for a domain to be both anonymous
and authenticated. The use of the domain "anonymous.invalid" entails
that no corresponding authority for the domain can exist, and as a
consequence, authentication service functions for that domain are
meaningless. The second feature is more germane to the threats this
document mitigates [<a href="./rfc7375" title=""Secure Telephone Identity Threat Model"">RFC7375</a>]. None of the relevant attacks, all of
which rely on the attacker taking on the identity of a victim or
hiding their identity using someone else's identity, are enabled by
an anonymous identity. As such, the inability to assert an authority
over an anonymous domain is irrelevant to our threat model.
[<a id="ref-RFC3325">RFC3325</a>] defines the "id" priv-value token, which is specific to the
P-Asserted-Identity header field. The sort of assertion provided by
the P-Asserted-Identity header field is very different from the
Identity header field presented in this document. It contains
additional information about the originator of a message that may go
beyond what appears in the From header field; P-Asserted-Identity
holds a definitive identity for the originator that is somehow known
to a closed network of intermediaries. Presumably, that network will
use this identity for billing or security purposes. The danger of
this network-specific information leaking outside of the closed
network motivated the "id" priv-value token. The "id" priv-value
token has no implications for the Identity header field, and privacy
services MUST NOT remove the Identity header field when a priv-value
of "id" appears in a Privacy header field.
The full form of the PASSporT object provides the complete JSON
objects used to generate the signed-identity-digest of the Identity
header field value, including the canonicalized form of the telephone
number of the originator of a call if the signature is over a
telephone number. In some contexts, local policy may require a
canonicalization that differs substantially from the original From
header field. Depending on those policies, potentially the full form
of PASSporT might divulge information about the originating network
or user that might not appear elsewhere in the SIP request. Were it
<span class="grey">Peterson, et al. Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
to be used to reflect the contents of the P-Asserted-Identity header
field, for example, then the object would need to be converted to the
compact form when the P-Asserted-Identity header is removed to avoid
any such leakage outside of a trust domain. Since, in those
contexts, the canonical form of the originator's identity could not
be reassembled by a verifier and thus the Identity signature
validation process would fail, using P-Asserted-Identity with the
full form of PASSporT in this fashion is NOT RECOMMENDED outside of
environments where SIP requests will never leave the trust domain.
As a side note, history shows that closed networks never stay closed
and one should design their implementation assuming connectivity to
the broader Internet.
Finally, note that unlike [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>], the mechanism described in this
specification adds no information to SIP requests that has privacy
implications -- apart from disclosing that an authentication service
is willing to sign for an originator.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Security Considerations</span>
This document describes a mechanism that provides a signature over
the Date header field of SIP requests, parts of the To and From
header fields, and (when present) any media keying material in the
message body. In general, the considerations related to the security
of these header fields are the same as those given in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] for
including header fields in tunneled "message/sip" MIME bodies (see
<a href="./rfc3261#section-23">Section 23 of [RFC3261]</a> in particular). This section details the
individual security properties obtained by including each of these
header fields within the signature; collectively, this set of header
fields provides the necessary properties to prevent impersonation.
It addresses the solution-specific attacks against in-band solutions
enumerated in <a href="./rfc7375#section-4.1">[RFC7375], Section 4.1</a>.
<span class="h3"><a class="selflink" id="section-12.1" href="#section-12.1">12.1</a>. Protected Request Fields</span>
The From header field value (in ordinary operations) indicates the
identity of the originator of the message; for the purposes of this
document, either the SIP AoR URI or an embedded telephone number
provides the identity of a SIP user. Note that in some deployments
the identity of the originator may reside in P-Asserted-Identity
instead. The originator's identity is the key piece of information
that this mechanism secures; the remainder of the signed parts of a
SIP request are present to provide reference integrity and to prevent
certain types of cut-and-paste attacks.
The Date header field value protects against cut-and-paste attacks,
as described in <a href="./rfc3261#section-23.4.2">[RFC3261], Section 23.4.2</a>. That specification
recommends that implementations notify the user of a potential
<span class="grey">Peterson, et al. Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
security issue if the signed Date header field value is stale by an
hour or more. To prevent cut-and-paste of recently observed
messages, this specification instead RECOMMENDS a shorter interval of
sixty seconds. Implementations of this specification MUST NOT deem
valid a request with an outdated Date header field. Note that per
the behavior described in <a href="./rfc3893#section-10">[RFC3893], Section 10</a>, servers can keep
state of recently received requests, and thus if an Identity header
field is replayed by an attacker within the Date interval, verifiers
can detect that it is spoofed because a message with an identical
Date from the same source had recently been received.
It has been observed in the wild that some networks change the Date
header field value of SIP requests in transit; to accommodate that
type of scenario, alternative behavior might be necessary.
Verification services that observe a signature validation failure MAY
therefore reconstruct the Date header field component of the
signature from the "iat" carried in the full form of PASSporT:
provided that time recorded by "iat" falls within the local policy
for freshness that would ordinarily apply to the Date header, the
verification service MAY treat the signature as valid, provided it
keeps adequate state to detect recent replays. Note that this will
require the inclusion of the full form of the PASSporT object by
authentication services in networks where such failures are observed.
The To header field value provides the identity of the SIP user that
this request originally targeted. Covering the identity in the To
header field with the Identity signature serves two purposes. First,
it prevents cut-and-paste attacks in which an Identity header field
from a legitimate request for one user is cut-and-pasted into a
request for a different user. Second, it preserves the starting URI
scheme of the request; this helps prevent downgrade attacks against
the use of SIPS. The To identity offers additional protection
against cut-and-paste attacks beyond the Date header field. For
example, without a signature over the To identity, an attacker who
receives a call from a target could immediately cut-and-paste the
Identity and From header field value from that INVITE into a new
request to the target's voicemail service within the Date interval,
and the voicemail service would have no way of knowing that the
Identity header field it received had been originally signed for a
call intended for a different number. However, note the caveats
below in <a href="#section-12.1.1">Section 12.1.1</a>.
When signing a request that contains a fingerprint of keying material
in SDP for DTLS-SRTP [<a href="./rfc5763" title=""Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS)"">RFC5763</a>], this mechanism always provides a
signature over that fingerprint. This signature prevents certain
classes of impersonation attacks in which an attacker forwards or
cut-and-pastes a legitimate request. Although the target of the
attack may accept the request, the attacker will be unable to
<span class="grey">Peterson, et al. Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
exchange media with the target, as they will not possess a key
corresponding to the fingerprint. For example, there are some
baiting attacks, launched with the REFER method or through social
engineering, where the attacker receives a request from the target
and reoriginates it to a third party. These might not be prevented
by only a signature over the From, To, and Date, but they could be
prevented by securing a fingerprint for DTLS-SRTP. While this is a
different form of impersonation than is commonly used for
robocalling, ultimately there is little purpose in establishing the
identity of the user that originated a SIP request if this assurance
is not coupled with a comparable assurance over the contents of the
subsequent media communication. This signature also reduces the
potential for active eavesdropping attacks against the SIP media. In
environments where DTLS-SRTP is unsupported, however, no field is
signed and no protections are provided.
<span class="h4"><a class="selflink" id="section-12.1.1" href="#section-12.1.1">12.1.1</a>. Protection of the To Header and Retargeting</span>
Armed with the original value of the To header field, the recipient
of a request may be tempted to compare it to their own identity in
order to determine whether or not the identity information in this
call might have been replayed. However, any request may be
legitimately retargeted as well, and as a result legitimate requests
may reach a SIP endpoint whose user is not identified by the URI
designated in the To header field value. It is therefore difficult
for any verifier to decide whether or not some prior retargeting was
"legitimate". Retargeting can also cause confusion when identity
information is provided for requests sent in the backwards direction
in a dialog, as the dialog identifiers may not match credentials held
by the ultimate target of the dialog. For further information on the
problems of response identity, see [<a href="#ref-SIP-RETARGET">SIP-RETARGET</a>].
Any means for authentication services or verifiers to anticipate
retargeting is outside the scope of this document and is likely to
have the same applicability to response identity as it does to
requests in the backwards direction within a dialog. Consequently,
no special guidance is given for implementers here regarding the
"connected party" problem (see [<a href="./rfc4916" title=""Connected Identity in the Session Initiation Protocol (SIP)"">RFC4916</a>]); authentication service
behavior is unchanged if retargeting has occurred for a dialog-
forming request. Ultimately, the authentication service provides an
Identity header field for requests in the dialog only when the user
is authorized to assert the identity given in the From header field,
and if they are not, an Identity header field is not provided. And
per the threat model of [<a href="./rfc7375" title=""Secure Telephone Identity Threat Model"">RFC7375</a>], resolving problems with
"connected" identity has little bearing on detecting robocalling or
related impersonation attacks.
<span class="grey">Peterson, et al. Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-12.2" href="#section-12.2">12.2</a>. Unprotected Request Fields</span>
[<a id="ref-RFC4474">RFC4474</a>] originally provided protections for Contact, Call-ID, and
CSeq. This document removes protection for these fields. The
absence of these header field values creates some opportunities for
determined attackers to impersonate based on cut-and-paste attacks;
however, the absence of these header field values does not seem
impactful to the primary focus of this document, which is the
prevention of the simple unauthorized claiming of an identity for the
purposes of robocalling, voicemail hacking, or swatting.
It might seem attractive to provide a signature over some of the
information present in the Via header field value(s). For example,
without a signature over the sent-by field of the topmost Via header
field, an attacker could remove that Via header field and insert its
own in a cut-and-paste attack, which would cause all responses to the
request to be routed to a host of the attacker's choosing. However,
a signature over the topmost Via header field does not prevent
attacks of this nature, since the attacker could leave the topmost
Via intact and merely insert a new Via header field directly after
it, which would cause responses to be routed to the attacker's host
"on their way" to the valid host; the end result would be exactly the
same. Although it is possible that an intermediary-based
authentication service could guarantee that no Via hops are inserted
between the sending UA and the authentication service, it could not
prevent an attacker from adding a Via hop after the authentication
service and thereby preempting responses. It is necessary for the
proper operation of SIP for subsequent intermediaries to be capable
of inserting such Via header fields, and thus it cannot be prevented.
As such, though it is desirable, securing Via is not possible through
the sort of identity mechanism described in this document; the best
known practice for securing Via is the use of SIPS.
<span class="h3"><a class="selflink" id="section-12.3" href="#section-12.3">12.3</a>. Malicious Removal of Identity Headers</span>
In the end analysis, the Identity header field cannot protect itself.
Any attacker could remove the header field from a SIP request and
modify the request arbitrarily afterwards. However, this mechanism
is not intended to protect requests from men-in-the-middle who
interfere with SIP messages; it is intended only to provide a way
that the originators of SIP requests can prove that they are who they
claim to be. At best, by stripping identity information from a
request, a man-in-the-middle could make it impossible to distinguish
any illegitimate messages he would like to send from those messages
sent by an authorized user. However, it requires a considerably
greater amount of energy to mount such an attack than it does to
mount trivial impersonations by just copying someone else's
<span class="grey">Peterson, et al. Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
From header field. This mechanism provides a way that an authorized
user can provide a definitive assurance of his identity that an
unauthorized user, an impersonator, cannot.
<span class="h3"><a class="selflink" id="section-12.4" href="#section-12.4">12.4</a>. Securing the Connection to the Authentication Service</span>
In the absence of UA-based authentication services, the assurance
provided by this mechanism is strongest when a UA forms a direct
connection, preferably one secured by TLS, to an intermediary-based
authentication service. The reasons for this are twofold:
o If a user does not receive a certificate from the authentication
service over the TLS connection that corresponds to the expected
domain (especially when the user receives a challenge via a
mechanism such as Digest), then it is possible that a rogue server
is attempting to pose as an authentication service for a domain
that it does not control, possibly in an attempt to collect shared
secrets for that domain. A similar practice could be used for
telephone numbers, though the application of certificates for
telephone numbers to TLS is left as a matter for future study.
o Without TLS, the various header field values and the body of the
request will not have integrity protection when the request
arrives at an authentication service. Accordingly, a prior
legitimate or illegitimate intermediary could modify the message
arbitrarily.
Of these two concerns, the first is most material to the intended
scope of this mechanism. This mechanism is intended to prevent
impersonation attacks, not man-in-the-middle attacks; integrity over
parts of the header and body is provided by this mechanism only to
prevent replay attacks. However, it is possible that applications
relying on the presence of the Identity header field could leverage
this integrity protection for services other than replay protection.
Accordingly, direct TLS connections SHOULD be used between the
UA client (UAC) and the authentication service whenever possible.
The opportunistic nature of this mechanism, however, makes it very
difficult to constrain UAC behavior, and moreover there will be some
deployment architectures where a direct connection is simply
infeasible and the UAC cannot act as an authentication service
itself. Accordingly, when a direct connection and TLS are not
possible, a UAC should use the SIPS mechanism, Digest "auth-int" for
body integrity, or both when it can. The ultimate decision to add an
Identity header field to a request lies with the authentication
service, of course; domain policy must identify those cases where the
UAC's security association with the authentication service is
too weak.
<span class="grey">Peterson, et al. Standards Track [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-12.5" href="#section-12.5">12.5</a>. Authorization and Transitional Strategies</span>
Ultimately, the worth of an assurance provided by an Identity header
field is limited by the security practices of the authentication
service that issues the assurance. Relying on an Identity header
field generated by a remote administrative domain assumes that the
issuing domain uses recommended administrative practices to
authenticate its users. However, it is possible that some
authentication services will implement policies that effectively make
users unaccountable (e.g., ones that accept unauthenticated
registrations from arbitrary users). The value of an Identity header
field from such authentication services is questionable. While there
is no magic way for a verifier to distinguish "good" from "bad"
signers by inspecting a SIP request, it is expected that further work
in authorization practices could be built on top of this identity
solution; without such an identity solution, many promising
approaches to authorization policy are impossible. That much said,
it is RECOMMENDED that authentication services based on proxy servers
employ strong authentication practices.
One cannot expect the Identity header field to be supported by every
SIP entity overnight. This leaves the verifier in a difficult
position; when it receives a request from a given SIP user, how can
it know whether or not the originator's domain supports Identity? In
the absence of ubiquitous support for Identity, some transitional
strategies are necessary.
o A verifier could remember when it receives a request from a domain
or telephone number that uses Identity and, in the future, view
messages received from that source without an Identity header
field with skepticism.
o A verifier could consult some sort of directory that indicates
whether a given caller should have a signed identity. There are a
number of potential ways in which this could be implemented. This
is left as a subject for future work.
In the long term, some sort of identity mechanism, either the one
documented in this specification or a successor, must become
mandatory-to-use for SIP; that is the only way to guarantee that this
protection can always be expected by verifiers.
Finally, it is worth noting that the presence or absence of the
Identity header fields cannot be the sole factor in making an
authorization decision. Permissions might be granted to a message on
the basis of the specific verified Identity or really on any other
aspect of a SIP request. Authorization policies are outside the
<span class="grey">Peterson, et al. Standards Track [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
scope of this specification, but this specification advises any
future authorization work not to assume that messages with valid
Identity header fields are always good.
<span class="h3"><a class="selflink" id="section-12.6" href="#section-12.6">12.6</a>. Display-Names and Identity</span>
As a matter of interface design, SIP UAs might render the
display-name portion of the From header field of a caller as the
identity of the caller; there is a significant precedent in email
user interfaces for this practice. Securing the display-name
component of the From header field value is outside the scope of this
document but may be the subject of future work, such as through the
"ppt" name mechanism.
In the absence of signing the display-name, authentication services
might check and validate it, and compare it to a list of acceptable
display-names that may be used by the originator; if the display-name
does not meet policy constraints, the authentication service could
return a 403 response code. In this case, the reason phrase should
indicate the nature of the problem: for example, "Inappropriate
Display Name". However, the display-name is not always present, and
in many environments the requisite operational procedures for
display-name validation may not exist, so no normative guidance is
given here.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. IANA Considerations</span>
IANA has completed a number of actions described in this document.
Primarily, the previous references to [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] in the "Session
Initiation Protocol (SIP) Parameters" registry have been updated to
point to this document, unless specified otherwise below.
<span class="h3"><a class="selflink" id="section-13.1" href="#section-13.1">13.1</a>. SIP Header Fields</span>
The Identity-Info header in the SIP "Header Fields" registry has been
marked as deprecated by this document.
Also, the Identity-Info header reserved the compact form "n" at its
time of registration. That compact form has been removed from the
registry. The Identity header, however, retains the compact form "y"
reserved by [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>].
<span class="grey">Peterson, et al. Standards Track [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
<span class="h3"><a class="selflink" id="section-13.2" href="#section-13.2">13.2</a>. SIP Response Codes</span>
The 436 "Bad Identity-Info" default reason phrase has been changed to
"Bad Identity Info" in the SIP "Response Codes" registry.
The 437 "Unsupported Certificate" default reason phrase has been
changed to "Unsupported Credential".
<span class="h3"><a class="selflink" id="section-13.3" href="#section-13.3">13.3</a>. Identity-Info Parameters</span>
IANA manages a registry for Identity-Info parameters. Per this
specification, IANA has changed the name of this registry to
"Identity Parameters".
This specification defines one new value for the registry: "info" as
defined in <a href="#section-7.3">Section 7.3</a>.
<span class="h3"><a class="selflink" id="section-13.4" href="#section-13.4">13.4</a>. Identity-Info Algorithm Parameter Values</span>
IANA managed an "Identity-Info Algorithm Parameter Values" registry;
per this specification, IANA has deprecated and closed this registry.
Since the algorithms for signing PASSporTs are defined in [<a href="./rfc8225" title=""PASSporT: Personal Assertion Token"">RFC8225</a>]
rather than in this specification, there is no longer a need for an
algorithm parameter registry for the Identity header field.
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a>. Changes from <a href="./rfc4474">RFC 4474</a></span>
The following are salient changes from the original <a href="./rfc4474">RFC 4474</a>:
o The credential mechanism has been generalized; credential
enrollment, acquisition, and trust are now outside the scope of
this document.
o This document reduces the scope of the Identity signature to
remove CSeq, Call-ID, Contact, and the message body; signing of
key fingerprints in SDP is now included.
o The Identity-Info header field has been deprecated, and its
components have been relocated into parameters of the Identity
header field (which obsoletes the previous version of the header
field).
o The Identity header field can now appear multiple times in one
request.
<span class="grey">Peterson, et al. Standards Track [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
o The previous signed-identity-digest format has been replaced with
PASSporT (signing algorithms are now defined in a separate
specification).
o Status code descriptions have been revised.
<span class="h2"><a class="selflink" id="section-15" href="#section-15">15</a>. References</span>
<span class="h3"><a class="selflink" id="section-15.1" href="#section-15.1">15.1</a>. Normative References</span>
[<a id="ref-E.164">E.164</a>] International Telecommunication Union, "The international
public telecommunication numbering plan",
ITU-T Recommendation E.164, November 2010,
<<a href="https://www.itu.int/rec/T-REC-E.164/en">https://www.itu.int/rec/T-REC-E.164/en</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
DOI 10.17487/RFC3261, June 2002,
<<a href="https://www.rfc-editor.org/info/rfc3261">https://www.rfc-editor.org/info/rfc3261</a>>.
[<a id="ref-RFC3263">RFC3263</a>] Rosenberg, J. and H. Schulzrinne, "Session Initiation
Protocol (SIP): Locating SIP Servers", <a href="./rfc3263">RFC 3263</a>,
DOI 10.17487/RFC3263, June 2002,
<<a href="https://www.rfc-editor.org/info/rfc3263">https://www.rfc-editor.org/info/rfc3263</a>>.
[<a id="ref-RFC3966">RFC3966</a>] Schulzrinne, H., "The tel URI for Telephone Numbers",
<a href="./rfc3966">RFC 3966</a>, DOI 10.17487/RFC3966, December 2004,
<<a href="https://www.rfc-editor.org/info/rfc3966">https://www.rfc-editor.org/info/rfc3966</a>>.
[<a id="ref-RFC3986">RFC3986</a>] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66,
<a href="./rfc3986">RFC 3986</a>, DOI 10.17487/RFC3986, January 2005,
<<a href="https://www.rfc-editor.org/info/rfc3986">https://www.rfc-editor.org/info/rfc3986</a>>.
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>,
DOI 10.17487/RFC5234, January 2008,
<<a href="https://www.rfc-editor.org/info/rfc5234">https://www.rfc-editor.org/info/rfc5234</a>>.
<span class="grey">Peterson, et al. Standards Track [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
[<a id="ref-RFC5280">RFC5280</a>] Cooper, D., Santesson, S., Farrell, S., Boeyen, S.,
Housley, R., and W. Polk, "Internet X.509 Public Key
Infrastructure Certificate and Certificate Revocation List
(CRL) Profile", <a href="./rfc5280">RFC 5280</a>, DOI 10.17487/RFC5280, May 2008,
<<a href="https://www.rfc-editor.org/info/rfc5280">https://www.rfc-editor.org/info/rfc5280</a>>.
[<a id="ref-RFC5922">RFC5922</a>] Gurbani, V., Lawrence, S., and A. Jeffrey, "Domain
Certificates in the Session Initiation Protocol (SIP)",
<a href="./rfc5922">RFC 5922</a>, DOI 10.17487/RFC5922, June 2010,
<<a href="https://www.rfc-editor.org/info/rfc5922">https://www.rfc-editor.org/info/rfc5922</a>>.
[<a id="ref-RFC8225">RFC8225</a>] Wendt, C. and J. Peterson, "PASSporT: Personal Assertion
Token", <a href="./rfc8225">RFC 8225</a>, DOI 10.17487/RFC8225, February 2018,
<<a href="https://www.rfc-editor.org/info/rfc8225">https://www.rfc-editor.org/info/rfc8225</a>>.
<span class="h3"><a class="selflink" id="section-15.2" href="#section-15.2">15.2</a>. Informative References</span>
[<a id="ref-CIDER">CIDER</a>] Kaplan, H., "A proposal for Caller Identity in a DNS-based
Entrusted Registry (CIDER)", Work in Progress,
<a href="./draft-kaplan-stir-cider-00">draft-kaplan-stir-cider-00</a>, July 2013.
[<a id="ref-IRI-COMPARISON">IRI-COMPARISON</a>]
Masinter, L. and M. Duerst, "Comparison, Equivalence and
Canonicalization of Internationalized Resource
Identifiers", Work in Progress, <a href="./draft-ietf-iri-comparison-02">draft-ietf-iri-</a>
<a href="./draft-ietf-iri-comparison-02">comparison-02</a>, October 2012.
[<a id="ref-RFC2585">RFC2585</a>] Housley, R. and P. Hoffman, "Internet X.509 Public Key
Infrastructure Operational Protocols: FTP and HTTP",
<a href="./rfc2585">RFC 2585</a>, DOI 10.17487/RFC2585, May 1999,
<<a href="https://www.rfc-editor.org/info/rfc2585">https://www.rfc-editor.org/info/rfc2585</a>>.
[<a id="ref-RFC3323">RFC3323</a>] Peterson, J., "A Privacy Mechanism for the Session
Initiation Protocol (SIP)", <a href="./rfc3323">RFC 3323</a>,
DOI 10.17487/RFC3323, November 2002,
<<a href="https://www.rfc-editor.org/info/rfc3323">https://www.rfc-editor.org/info/rfc3323</a>>.
[<a id="ref-RFC3325">RFC3325</a>] Jennings, C., Peterson, J., and M. Watson, "Private
Extensions to the Session Initiation Protocol (SIP) for
Asserted Identity within Trusted Networks", <a href="./rfc3325">RFC 3325</a>,
DOI 10.17487/RFC3325, November 2002,
<<a href="https://www.rfc-editor.org/info/rfc3325">https://www.rfc-editor.org/info/rfc3325</a>>.
[<a id="ref-RFC3893">RFC3893</a>] Peterson, J., "Session Initiation Protocol (SIP)
Authenticated Identity Body (AIB) Format", <a href="./rfc3893">RFC 3893</a>,
DOI 10.17487/RFC3893, September 2004,
<<a href="https://www.rfc-editor.org/info/rfc3893">https://www.rfc-editor.org/info/rfc3893</a>>.
<span class="grey">Peterson, et al. Standards Track [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
[<a id="ref-RFC4474">RFC4474</a>] Peterson, J. and C. Jennings, "Enhancements for
Authenticated Identity Management in the Session
Initiation Protocol (SIP)", <a href="./rfc4474">RFC 4474</a>,
DOI 10.17487/RFC4474, August 2006,
<<a href="https://www.rfc-editor.org/info/rfc4474">https://www.rfc-editor.org/info/rfc4474</a>>.
[<a id="ref-RFC4501">RFC4501</a>] Josefsson, S., "Domain Name System Uniform Resource
Identifiers", <a href="./rfc4501">RFC 4501</a>, DOI 10.17487/RFC4501, May 2006,
<<a href="https://www.rfc-editor.org/info/rfc4501">https://www.rfc-editor.org/info/rfc4501</a>>.
[<a id="ref-RFC4916">RFC4916</a>] Elwell, J., "Connected Identity in the Session Initiation
Protocol (SIP)", <a href="./rfc4916">RFC 4916</a>, DOI 10.17487/RFC4916,
June 2007, <<a href="https://www.rfc-editor.org/info/rfc4916">https://www.rfc-editor.org/info/rfc4916</a>>.
[<a id="ref-RFC5393">RFC5393</a>] Sparks, R., Ed., Lawrence, S., Hawrylyshen, A., and B.
Campen, "Addressing an Amplification Vulnerability in
Session Initiation Protocol (SIP) Forking Proxies",
<a href="./rfc5393">RFC 5393</a>, DOI 10.17487/RFC5393, December 2008,
<<a href="https://www.rfc-editor.org/info/rfc5393">https://www.rfc-editor.org/info/rfc5393</a>>.
[<a id="ref-RFC5763">RFC5763</a>] Fischl, J., Tschofenig, H., and E. Rescorla, "Framework
for Establishing a Secure Real-time Transport Protocol
(SRTP) Security Context Using Datagram Transport Layer
Security (DTLS)", <a href="./rfc5763">RFC 5763</a>, DOI 10.17487/RFC5763,
May 2010, <<a href="https://www.rfc-editor.org/info/rfc5763">https://www.rfc-editor.org/info/rfc5763</a>>.
[<a id="ref-RFC6698">RFC6698</a>] Hoffman, P. and J. Schlyter, "The DNS-Based Authentication
of Named Entities (DANE) Transport Layer Security (TLS)
Protocol: TLSA", <a href="./rfc6698">RFC 6698</a>, DOI 10.17487/RFC6698,
August 2012, <<a href="https://www.rfc-editor.org/info/rfc6698">https://www.rfc-editor.org/info/rfc6698</a>>.
[<a id="ref-RFC6973">RFC6973</a>] Cooper, A., Tschofenig, H., Aboba, B., Peterson, J.,
Morris, J., Hansen, M., and R. Smith, "Privacy
Considerations for Internet Protocols", <a href="./rfc6973">RFC 6973</a>,
DOI 10.17487/RFC6973, July 2013,
<<a href="https://www.rfc-editor.org/info/rfc6973">https://www.rfc-editor.org/info/rfc6973</a>>.
[<a id="ref-RFC8259">RFC8259</a>] Bray, T., Ed., "The JavaScript Object Notation (JSON) Data
Interchange Format", STD 90, <a href="./rfc8259">RFC 8259</a>,
DOI 10.17487/RFC8259, December 2017,
<<a href="https://www.rfc-editor.org/info/rfc8259">https://www.rfc-editor.org/info/rfc8259</a>>.
[<a id="ref-RFC7340">RFC7340</a>] Peterson, J., Schulzrinne, H., and H. Tschofenig, "Secure
Telephone Identity Problem Statement and Requirements",
<a href="./rfc7340">RFC 7340</a>, DOI 10.17487/RFC7340, September 2014,
<<a href="https://www.rfc-editor.org/info/rfc7340">https://www.rfc-editor.org/info/rfc7340</a>>.
<span class="grey">Peterson, et al. Standards Track [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
[<a id="ref-RFC7375">RFC7375</a>] Peterson, J., "Secure Telephone Identity Threat Model",
<a href="./rfc7375">RFC 7375</a>, DOI 10.17487/RFC7375, October 2014,
<<a href="https://www.rfc-editor.org/info/rfc7375">https://www.rfc-editor.org/info/rfc7375</a>>.
[<a id="ref-RFC7515">RFC7515</a>] Jones, M., Bradley, J., and N. Sakimura, "JSON Web
Signature (JWS)", <a href="./rfc7515">RFC 7515</a>, DOI 10.17487/RFC7515,
May 2015, <<a href="https://www.rfc-editor.org/info/rfc7515">https://www.rfc-editor.org/info/rfc7515</a>>.
[<a id="ref-RFC7519">RFC7519</a>] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token
(JWT)", <a href="./rfc7519">RFC 7519</a>, DOI 10.17487/RFC7519, May 2015,
<<a href="https://www.rfc-editor.org/info/rfc7519">https://www.rfc-editor.org/info/rfc7519</a>>.
[<a id="ref-RFC8226">RFC8226</a>] Peterson, J. and S. Turner, "Secure Telephone Identity
Credentials: Certificates", <a href="./rfc8226">RFC 8226</a>,
DOI 10.17487/RFC8226, February 2018,
<<a href="https://www.rfc-editor.org/info/rfc8226">https://www.rfc-editor.org/info/rfc8226</a>>.
[<a id="ref-SIP-RETARGET">SIP-RETARGET</a>]
Peterson, J., "Retargeting and Security in SIP: A
Framework and Requirements", Work in Progress,
<a href="./draft-peterson-sipping-retarget-00">draft-peterson-sipping-retarget-00</a>, February 2005.
[<a id="ref-SIP-RFC4474-CONCERNS">SIP-RFC4474-CONCERNS</a>]
Rosenberg, J., "Concerns around the Applicability of
<a href="./rfc4474">RFC 4474</a>", Work in Progress, <a href="./draft-rosenberg-sip-rfc4474-concerns-00">draft-rosenberg-sip-rfc4474-</a>
<a href="./draft-rosenberg-sip-rfc4474-concerns-00">concerns-00</a>, February 2008.
[<a id="ref-TS-3GPP.23.228">TS-3GPP.23.228</a>]
3GPP, "IP Multimedia Subsystem (IMS); Stage 2", 3GPP
TS 23.228 7.7.0, March 2007,
<<a href="http://www.3gpp.org/ftp/Specs/html-info/23228.htm">http://www.3gpp.org/ftp/Specs/html-info/23228.htm</a>>.
<span class="grey">Peterson, et al. Standards Track [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc8224">RFC 8224</a> SIP Identity February 2018</span>
Acknowledgments
The authors would like to thank Adam Roach, Jim Schaad, Ning Zhang,
Syed Ali, Olle Jacobson, Dave Frankel, Robert Sparks, Dave Crocker,
Stephen Kent, Brian Rosen, Alex Bobotek, Paul Kyzivat, Jonathan
Lennox, Richard Shockey, Martin Dolly, Andrew Allen, Hadriel Kaplan,
Sanjay Mishra, Anton Baskov, Pierce Gorman, David Schwartz, Eric
Burger, Alan Ford, Christer Holmberg, Philippe Fouquart, Michael
Hamer, Henning Schulzrinne, and Richard Barnes for their comments.
Authors' Addresses
Jon Peterson
Neustar, Inc.
1800 Sutter St. Suite 570
Concord, CA 94520
United States of America
Email: jon.peterson@neustar.biz
Cullen Jennings
Cisco
400 3rd Avenue SW, Suite 350
Calgary, AB T2P 4H2
Canada
Email: fluffy@cisco.com
Eric Rescorla
RTFM, Inc.
2064 Edgewood Drive
Palo Alto, CA 94303
United States of America
Email: ekr@rtfm.com
Chris Wendt
Comcast
One Comcast Center
Philadelphia, PA 19103
United States of America
Email: chris-ietf@chriswendt.net
Peterson, et al. Standards Track [Page 46]
</pre>
|