File: rfc6885.html

package info (click to toggle)
doc-rfc 20201128-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 1,307,124 kB
file content (1901 lines) | stat: -rw-r--r-- 94,855 bytes parent folder | download | duplicates (2)
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
<pre>Internet Engineering Task Force (IETF)                       M. Blanchet
Request for Comments: 6885                                      Viagenie
Category: Informational                                      A. Sullivan
ISSN: 2070-1721                                                Dyn, Inc.
                                                              March 2013


               <span class="h1">Stringprep Revision and Problem Statement</span>
for the Preparation and Comparison of Internationalized Strings (PRECIS)

Abstract

   If a protocol expects to compare two strings and is prepared only for
   those strings to be ASCII, then using Unicode code points in those
   strings requires they be prepared somehow.  Internationalizing Domain
   Names in Applications (here called IDNA2003) defined and used
   Stringprep and Nameprep.  Other protocols subsequently defined
   Stringprep profiles.  A new approach different from Stringprep and
   Nameprep is used for a revision of IDNA2003 (called IDNA2008).  Other
   Stringprep profiles need to be similarly updated, or a replacement of
   Stringprep needs to be designed.  This document outlines the issues
   to be faced by those designing a Stringprep replacement.

Status of This Memo

   This document is not an Internet Standards Track specification; it is
   published for informational purposes.

   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).  Not all documents
   approved by the IESG are a candidate for any level of Internet
   Standard; see <a href="./rfc5741#section-2">Section&nbsp;2 of RFC 5741</a>.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   <a href="http://www.rfc-editor.org/info/rfc6885">http://www.rfc-editor.org/info/rfc6885</a>.













<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


Copyright Notice

   Copyright (c) 2013 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="http://trustee.ietf.org/license-info">http://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.





































<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


Table of Contents

   <a href="#section-1">1</a>.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  <a href="#page-4">4</a>
   <a href="#section-2">2</a>.  Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . .  <a href="#page-6">6</a>
   <a href="#section-3">3</a>.  Conventions  . . . . . . . . . . . . . . . . . . . . . . . . .  <a href="#page-6">6</a>
   <a href="#section-4">4</a>.  Stringprep Profiles Limitations  . . . . . . . . . . . . . . .  <a href="#page-6">6</a>
   <a href="#section-5">5</a>.  Major Topics for Consideration . . . . . . . . . . . . . . . .  <a href="#page-8">8</a>
     <a href="#section-5.1">5.1</a>.  Comparison . . . . . . . . . . . . . . . . . . . . . . . .  <a href="#page-8">8</a>
       <a href="#section-5.1.1">5.1.1</a>.  Types of Identifiers . . . . . . . . . . . . . . . . .  <a href="#page-8">8</a>
       <a href="#section-5.1.2">5.1.2</a>.  Effect of Comparison . . . . . . . . . . . . . . . . .  <a href="#page-8">8</a>
     <a href="#section-5.2">5.2</a>.  Dealing with Characters  . . . . . . . . . . . . . . . . .  <a href="#page-9">9</a>
       5.2.1.  Case Folding, Case Sensitivity, and Case
               Preservation . . . . . . . . . . . . . . . . . . . . .  <a href="#page-9">9</a>
       <a href="#section-5.2.2">5.2.2</a>.  Stringprep and NFKC  . . . . . . . . . . . . . . . . .  <a href="#page-9">9</a>
       <a href="#section-5.2.3">5.2.3</a>.  Character Mapping  . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
       <a href="#section-5.2.4">5.2.4</a>.  Prohibited Characters  . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
       5.2.5.  Internal Structure, Delimiters, and Special
               Characters . . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
       <a href="#section-5.2.6">5.2.6</a>.  Restrictions Because of Glyph Similarity . . . . . . . <a href="#page-11">11</a>
     <a href="#section-5.3">5.3</a>.  Where the Data Comes from and Where It Goes  . . . . . . . <a href="#page-11">11</a>
       <a href="#section-5.3.1">5.3.1</a>.  User Input and the Source of Protocol Elements . . . . <a href="#page-11">11</a>
       <a href="#section-5.3.2">5.3.2</a>.  User Output  . . . . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
       <a href="#section-5.3.3">5.3.3</a>.  Operations . . . . . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
   <a href="#section-6">6</a>.  Considerations for Stringprep Replacement  . . . . . . . . . . <a href="#page-13">13</a>
   <a href="#section-7">7</a>.  Security Considerations  . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
   <a href="#section-8">8</a>.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
   <a href="#section-9">9</a>.  Informative References . . . . . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
   <a href="#appendix-A">Appendix A</a>.  Classification of Stringprep Profiles . . . . . . . . <a href="#page-19">19</a>
   <a href="#appendix-B">Appendix B</a>.  Evaluation of Stringprep Profiles . . . . . . . . . . <a href="#page-19">19</a>
     <a href="#appendix-B.1">B.1</a>.  iSCSI Stringprep Profile: <a href="./rfc3720">RFC 3720</a>, <a href="./rfc3721">RFC 3721</a>, <a href="./rfc3722">RFC 3722</a> . . <a href="#page-19">19</a>
     B.2.  SMTP/POP3/ManageSieve Stringprep Profiles: <a href="./rfc4954">RFC 4954</a>,
           <a href="./rfc5034">RFC 5034</a>, <a href="./rfc5804">RFC 5804</a> . . . . . . . . . . . . . . . . . . . . <a href="#page-21">21</a>
     B.3.  IMAP Stringprep Profiles for Usernames: <a href="./rfc4314">RFC 4314</a>, <a href="./rfc5738">RFC</a>
           <a href="./rfc5738">5738</a> . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-24">24</a>
     <a href="#appendix-B.4">B.4</a>.  IMAP Stringprep Profiles for Passwords: <a href="./rfc5738">RFC 5738</a> . . . . . <a href="#page-26">26</a>
     <a href="#appendix-B.5">B.5</a>.  Anonymous SASL Stringprep Profiles: <a href="./rfc4505">RFC 4505</a> . . . . . . . <a href="#page-28">28</a>
     <a href="#appendix-B.6">B.6</a>.  XMPP Stringprep Profiles for Nodeprep: <a href="./rfc3920">RFC 3920</a>  . . . . . <a href="#page-30">30</a>
     <a href="#appendix-B.7">B.7</a>.  XMPP Stringprep Profiles for Resourceprep: <a href="./rfc3920">RFC 3920</a>  . . . <a href="#page-31">31</a>
     <a href="#appendix-B.8">B.8</a>.  EAP Stringprep Profiles: <a href="./rfc3748">RFC 3748</a>  . . . . . . . . . . . . <a href="#page-33">33</a>












<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   Internationalizing Domain Names in Applications (here called
   IDNA2003) [<a href="./rfc3490" title="&quot;Internationalizing Domain Names in Applications (IDNA)&quot;">RFC3490</a>] [<a href="./rfc3491" title="&quot;Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)&quot;">RFC3491</a>] [<a href="./rfc3492" title="&quot;Punycode: A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)&quot;">RFC3492</a>] and [<a href="./rfc3454" title="&quot;Preparation of Internationalized Strings (&quot;">RFC3454</a>] describes a
   mechanism for encoding Unicode labels that make up the
   Internationalized Domain Names (IDNs) as standard DNS labels.  The
   labels were processed using a method called Nameprep [<a href="./rfc3491" title="&quot;Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)&quot;">RFC3491</a>] and
   Punycode [<a href="./rfc3492" title="&quot;Punycode: A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)&quot;">RFC3492</a>].  That method was specific to IDNA2003 but is
   generalized as Stringprep [<a href="./rfc3454" title="&quot;Preparation of Internationalized Strings (&quot;">RFC3454</a>].  The general mechanism is used
   by other protocols with similar needs but with different constraints
   than IDNA2003.

   Stringprep defines a framework within which protocols define their
   Stringprep profiles.  Some known IETF specifications using Stringprep
   are listed below:

   o  The Nameprep profile [<a href="./rfc3490" title="&quot;Internationalizing Domain Names in Applications (IDNA)&quot;">RFC3490</a>] for use in Internationalized Domain
      Names (IDNs);

   o  The Inter-Asterisk eXchange (IAX) using Nameprep [<a href="./rfc5456" title="&quot;IAX: Inter-Asterisk eXchange Version 2&quot;">RFC5456</a>];

   o  NFSv4 [<a href="./rfc3530" title="&quot;Network File System (NFS) version 4 Protocol&quot;">RFC3530</a>] and NFSv4.1 [<a href="./rfc5661" title="&quot;Network File System (NFS) Version 4 Minor Version 1 Protocol&quot;">RFC5661</a>];

   o  The Internet Small Computer System Interface (iSCSI) profile
      [<a href="./rfc3722" title="&quot;String Profile for Internet Small Computer Systems Interface (iSCSI) Names&quot;">RFC3722</a>] for use in iSCSI names;

   o  The Extensible Authentication Protocol (EAP) [<a href="./rfc3748" title="&quot;Extensible Authentication Protocol (EAP)&quot;">RFC3748</a>];

   o  The Nodeprep and Resourceprep profiles [<a href="./rfc3920" title="&quot;Extensible Messaging and Presence Protocol (XMPP): Core&quot;">RFC3920</a>] (which was
      obsoleted by [<a href="./rfc6120" title="&quot;Extensible Messaging and Presence Protocol (XMPP): Core&quot;">RFC6120</a>]) for use in the Extensible Messaging and
      Presence Protocol (XMPP), and the XMPP to Common Presence and
      Instant Messaging (CPIM) mapping [<a href="./rfc3922" title="&quot;Mapping the Extensible Messaging and Presence Protocol (XMPP) to Common Presence and Instant Messaging (CPIM)&quot;">RFC3922</a>] (the latter of these
      relies on the former);

   o  The Internationalized Resource Identifier (IRI) and URI in XMPP
      [<a href="./rfc5122" title="&quot;Internationalized Resource Identifiers (IRIs) and Uniform Resource Identifiers (URIs) for the Extensible Messaging and Presence Protocol (XMPP)&quot;">RFC5122</a>];

   o  The Policy MIB profile [<a href="./rfc4011" title="&quot;Policy Based Management MIB&quot;">RFC4011</a>] for use in the Simple Network
      Management Protocol (SNMP);

   o  Transport Layer Security (TLS) [<a href="./rfc4279" title="&quot;Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)&quot;">RFC4279</a>];

   o  The Lightweight Directory Access Protocol (LDAP) profile [<a href="./rfc4518" title="&quot;Lightweight Directory Access Protocol (LDAP): Internationalized String Preparation&quot;">RFC4518</a>]
      for use with LDAP [<a href="./rfc4511" title="&quot;Lightweight Directory Access Protocol (LDAP): The Protocol&quot;">RFC4511</a>] and its authentication methods
      [<a href="./rfc4513" title="&quot;Lightweight Directory Access Protocol (LDAP): Authentication Methods and Security Mechanisms&quot;">RFC4513</a>];

   o  PKIX subject identification using LDAPprep [<a href="./rfc4683" title="&quot;Internet X.509 Public Key Infrastructure Subject Identification Method (SIM)&quot;">RFC4683</a>];




<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   o  PKIX Certificate Revocation List (CRL) using LDAPprep [<a href="./rfc5280" title="&quot;Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile&quot;">RFC5280</a>];

   o  The Simple Authentication and Security Layer (SASL) [<a href="./rfc4422" title="&quot;Simple Authentication and Security Layer (SASL)&quot;">RFC4422</a>] and
      SASLprep profile [<a href="./rfc4013" title="&quot;SASLprep: Stringprep Profile for User Names and Passwords&quot;">RFC4013</a>] for use in SASL;

   o  Plain SASL using SASLprep [<a href="./rfc4616" title="&quot;The PLAIN Simple Authentication and Security Layer (SASL) Mechanism&quot;">RFC4616</a>];

   o  SMTP Auth using SASLprep [<a href="./rfc4954" title="&quot;SMTP Service Extension for Authentication&quot;">RFC4954</a>];

   o  The Post Office Protocol (POP3) Auth using SASLprep [<a href="./rfc5034" title="&quot;The Post Office Protocol (POP3) Simple Authentication and Security Layer (SASL) Authentication Mechanism&quot;">RFC5034</a>];

   o  TLS Secure Remote Password (SRP) using SASLprep [<a href="./rfc5054" title="&quot;Using the Secure Remote Password (SRP) Protocol for TLS Authentication&quot;">RFC5054</a>];

   o  SASL Salted Challenge Response Authentication Mechanism (SCRAM)
      using SASLprep [<a href="./rfc5802" title="&quot;Salted Challenge Response Authentication Mechanism (SCRAM) SASL and GSS-API Mechanisms&quot;">RFC5802</a>];

   o  Remote management of Sieve using SASLprep [<a href="./rfc5804" title="&quot;A Protocol for Remotely Managing Sieve Scripts&quot;">RFC5804</a>];

   o  The Network News Transfer Protocol (NNTP) using SASLprep
      [<a href="./rfc4643" title="&quot;Network News Transfer Protocol (NNTP) Extension for Authentication&quot;">RFC4643</a>];

   o  IMAP4 using SASLprep [<a href="./rfc4314" title="&quot;IMAP4 Access Control List (ACL) Extension&quot;">RFC4314</a>];

   o  The trace profile [<a href="./rfc4505" title="&quot;Anonymous Simple Authentication and Security Layer (SASL) Mechanism&quot;">RFC4505</a>] for use with the SASL ANONYMOUS
      mechanism;

   o  Internet Application Protocol Collation Registry [<a href="./rfc4790" title="&quot;Internet Application Protocol Collation Registry&quot;">RFC4790</a>];

   o  The unicode-casemap Unicode Collation [<a href="./rfc5051" title="&quot;i;unicode-casemap - Simple Unicode Collation Algorithm&quot;">RFC5051</a>].

   However, a review (see [<a href="#ref-78PRECIS" title="&quot;PRECIS Framework&quot;">78PRECIS</a>]) of these protocol specifications
   found that they are very similar and can be grouped into a short
   number of classes.  Moreover, many reuse the same Stringprep profile,
   such as the SASL one.

   IDNA2003 was replaced because of some limitations described in
   [<a href="./rfc4690" title="&quot;Review and Recommendations for Internationalized Domain Names (IDNs)&quot;">RFC4690</a>].  The new IDN specification, called IDNA2008 [<a href="./rfc5890" title="&quot;Internationalized Domain Names for Applications (IDNA): Definitions and Document Framework&quot;">RFC5890</a>],
   [<a href="./rfc5891" title="&quot;Internationalized Domain Names in Applications (IDNA): Protocol&quot;">RFC5891</a>], [<a href="./rfc5892" title="&quot;The Unicode Code Points and Internationalized Domain Names for Applications (IDNA)&quot;">RFC5892</a>], [<a href="./rfc5893" title="&quot;Right-to-Left Scripts for Internationalized Domain Names for Applications (IDNA)&quot;">RFC5893</a>] was designed based on the
   considerations found in [<a href="./rfc5894" title="&quot;Internationalized Domain Names for Applications (IDNA): Background, Explanation, and Rationale&quot;">RFC5894</a>].  One of the effects of IDNA2008 is
   that Nameprep and Stringprep are not used at all.  Instead, an
   algorithm based on Unicode properties of code points is defined.
   That algorithm generates a stable and complete table of the supported
   Unicode code points for each Unicode version.  This algorithm uses an
   inclusion-based approach, instead of the exclusion-based approach of
   Stringprep/Nameprep.  That is, IDNA2003 created an explicit list of
   excluded or mapped-away characters; anything in Unicode 3.2 that was
   not so listed could be assumed to be allowed under the protocol.




<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   IDNA2008 begins instead from the assumption that code points are
   disallowed and then relies on Unicode properties to derive whether a
   given code point actually is allowed in the protocol.

   This document lists the shortcomings and issues found by protocols
   listed above that defined Stringprep profiles.  It also lists the
   requirements for any potential replacement of Stringprep.

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  Keywords</span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [<a href="./rfc2119" title="&quot;Key words for use in RFCs to Indicate Requirement Levels&quot;">RFC2119</a>].

   This document uses various internationalization terms, which are
   defined and discussed in [<a href="./rfc6365" title="&quot;Terminology Used in Internationalization in the IETF&quot;">RFC6365</a>].

   Additionally, this document defines the following keyword:

      PRECIS: Preparation and Comparison of Internationalized Strings

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>.  Conventions</span>

   A single Unicode code point in this memo is denoted by "U+" followed
   by four to six hexadecimal digits, as used in [<a href="#ref-Unicode61" title="CA: The Unicode Consortium">Unicode61</a>],
   <a href="#appendix-A">Appendix A</a>.

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Stringprep Profiles Limitations</span>

   During IETF 77 (March 2010), a BOF discussed the current state of the
   protocols that have defined Stringprep profiles [<a href="#ref-NEWPREP" title="&quot;Newprep BoF Meeting Minutes&quot;">NEWPREP</a>].  The main
   conclusions from that discussion were as follows:

   o  Stringprep is bound to Version 3.2 of Unicode.  Stringprep has not
      been updated to new versions of Unicode.  Therefore, the protocols
      using Stringprep are stuck at Unicode 3.2, and their
      specifications need to be updated to support new versions of
      Unicode.

   o  The protocols would like to not be bound to a specific version of
      Unicode, but rather have better Unicode version agility in the way
      of IDNA2008.  This is important partly because it is usually
      impossible for an application to require Unicode 3.2; the
      application gets whatever version of Unicode is available on the
      host.

   o  The protocols require better bidirectional support (bidi) than
      currently offered by Stringprep.



<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   o  If the protocols are updated to use a new version of Stringprep or
      another framework, then backward compatibility is an important
      requirement.  For example, Stringprep normalization is based on
      and profiles may use Unicode Normalization Form KC (NFKC) [<a href="#ref-UAX15" title="&quot;Unicode Standard Annex #15: Unicode Normalization Forms&quot;">UAX15</a>],
      while IDNA2008 mostly uses Unicode Normalization Form C (NFC)
      [<a href="#ref-UAX15" title="&quot;Unicode Standard Annex #15: Unicode Normalization Forms&quot;">UAX15</a>].

   o  Identifiers are passed between protocols.  For example, the same
      username string of code points may be passed between SASL, XMPP,
      LDAP, and EAP.  Therefore, a common set of rules or classes of
      strings are preferred over specific rules for each protocol.
      Without real planning in advance, many Stringprep profiles reuse
      other profiles, so this goal was accomplished by accident with
      Stringprep.

   Protocols that use Stringprep profiles use strings for different
   purposes:

   o  XMPP uses a different Stringprep profile for each part of the XMPP
      address Jabber Identifier (JID): a localpart, which is similar to
      a username and used for authentication; a domainpart, which is a
      domain name; and a resourcepart, which is less restrictive than
      the localpart.

   o  iSCSI uses a Stringprep profile for the names of protocol
      participants (called initiators and targets).  The iSCSI Qualified
      Name (IQN) format of iSCSI names contains a reversed DNS domain
      name.

   o  SASL and LDAP use a Stringprep profile for usernames.

   o  LDAP uses a set of Stringprep profiles.

   The apparent judgement of the BOF attendees [<a href="#ref-NEWPREP" title="&quot;Newprep BoF Meeting Minutes&quot;">NEWPREP</a>] was that it
   would be highly desirable to have a replacement of Stringprep, with
   similar characteristics to IDNA2008.  That replacement should be
   defined so that the protocols could use internationalized strings
   without a lot of specialized internationalization work, since
   internationalization expertise is not available in the respective
   protocols or working groups.  Accordingly, the IESG formed the PRECIS
   working group to undertake the task.

   Notwithstanding the desire evident in [<a href="#ref-NEWPREP" title="&quot;Newprep BoF Meeting Minutes&quot;">NEWPREP</a>] and the chartering of
   a working group, IDNA2008 may be a poor model for what other
   protocols ought to do, because it is designed to support an old
   protocol that is designed to operate on the scale of the entire
   Internet.  Moreover, IDNA2008 is intended to be deployed without any




<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   change to the base DNS protocol.  Other protocols may aim at
   deployment in more local environments, or may have protocol version
   negotiation built in.

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  Major Topics for Consideration</span>

   This section provides an overview of major topics that a Stringprep
   replacement needs to address.  The headings correspond roughly with
   categories under which known Stringprep-using protocol RFCs have been
   evaluated.  For the details of those evaluations, see <a href="#appendix-A">Appendix A</a>.

<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>.  Comparison</span>

<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>.  Types of Identifiers</span>

   Following [<a href="#ref-ID-COMP" title="&quot;Issues in Identifier Comparison for Security Purposes&quot;">ID-COMP</a>], it is possible to organize identifiers into
   three classes in respect of how they may be compared with one
   another:

   Absolute Identifiers:  Identifiers that can be compared byte-by-byte
      for equality.

   Definite Identifiers:  Identifiers that have a well-defined
      comparison algorithm on which all parties agree.

   Indefinite Identifiers:  Identifiers that have no single comparison
      algorithm on which all parties agree.

   Definite Identifiers include cases like the comparison of Unicode
   code points in different encodings: they do not match byte for byte
   but can all be converted to a single encoding which then does match
   byte for byte.  Indefinite Identifiers are sometimes algorithmically
   comparable by well-specified subsets of parties.  For more discussion
   of these categories, see [<a href="#ref-ID-COMP" title="&quot;Issues in Identifier Comparison for Security Purposes&quot;">ID-COMP</a>].

   The section on treating the existing known cases, <a href="#appendix-A">Appendix A</a>, uses
   the categories above.

<span class="h4"><a class="selflink" id="section-5.1.2" href="#section-5.1.2">5.1.2</a>.  Effect of Comparison</span>

   The three classes of comparison style outlined in <a href="#section-5.1.1">Section 5.1.1</a> may
   have different effects when applied.  It is necessary to evaluate the
   effects if a comparison results in a false positive or a false
   negative, especially in terms of the consequences to security and
   usability.






<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>.  Dealing with Characters</span>

   This section outlines a range of issues having to do with characters
   in the target protocols, the ways in which IDNA2008 might be a good
   analogy to other protocols, and ways in which it might be a poor one.

<span class="h4"><a class="selflink" id="section-5.2.1" href="#section-5.2.1">5.2.1</a>.  Case Folding, Case Sensitivity, and Case Preservation</span>

   In IDNA2003, labels are always mapped to lowercase before the
   Punycode transformation.  In IDNA2008, there is no mapping at all:
   input is either a valid U-label or it is not.  At the same time,
   uppercase characters are by definition not valid U-labels, because
   they fall into the Unstable category (category B) of [<a href="./rfc5892" title="&quot;The Unicode Code Points and Internationalized Domain Names for Applications (IDNA)&quot;">RFC5892</a>].

   If there are protocols that require case be preserved, then the
   analogy with IDNA2008 will break down.  Accordingly, existing
   protocols are to be evaluated according to the following criteria:

   1.  Does the protocol use case folding?  For all blocks of code
       points or just for certain subsets?

   2.  Is the system or protocol case-sensitive?

   3.  Does the system or protocol preserve case?

<span class="h4"><a class="selflink" id="section-5.2.2" href="#section-5.2.2">5.2.2</a>.  Stringprep and NFKC</span>

   Stringprep profiles may use normalization.  If they do, they use NFKC
   [<a href="#ref-UAX15" title="&quot;Unicode Standard Annex #15: Unicode Normalization Forms&quot;">UAX15</a>] (most profiles do).  It is not clear that NFKC is the right
   normalization to use in all cases.  In [<a href="#ref-UAX15" title="&quot;Unicode Standard Annex #15: Unicode Normalization Forms&quot;">UAX15</a>], there is the
   following observation regarding Normalization Forms KC and KD: "It is
   best to think of these Normalization Forms as being like uppercase or
   lowercase mappings: useful in certain contexts for identifying core
   meanings, but also performing modifications to the text that may not
   always be appropriate."  In general, it can be said that NFKC is more
   aggressive about finding matches between code points than NFC.  For
   things like the spelling of users' names, NFKC may not be the best
   form to use.  At the same time, one of the nice things about NFKC is
   that it deals with the width of characters that are otherwise
   similar, by canonicalizing half-width to full-width.  This mapping
   step can be crucial in practice.  A replacement for Stringprep
   depends on analyzing the different use profiles and considering
   whether NFKC or NFC is a better normalization for each profile.

   For the purposes of evaluating an existing example of Stringprep use,
   it is helpful to know whether it uses no normalization, NFKC, or NFC.





<span class="grey">Blanchet &amp; Sullivan           Informational                     [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h4"><a class="selflink" id="section-5.2.3" href="#section-5.2.3">5.2.3</a>.  Character Mapping</span>

   Along with the case mapping issues raised in <a href="#section-5.2.1">Section 5.2.1</a>, there is
   the question of whether some characters are mapped either to other
   characters or to nothing during Stringprep.  <a href="./rfc3454#section-3">[RFC3454], Section&nbsp;3</a>,
   outlines a number of characters that are mapped to nothing, and also
   permits Stringprep profiles to define their own mappings.

<span class="h4"><a class="selflink" id="section-5.2.4" href="#section-5.2.4">5.2.4</a>.  Prohibited Characters</span>

   Along with case folding and other character mappings, many protocols
   have characters that are simply disallowed.  For example, control
   characters and special characters such as "@" or "/" may be
   prohibited in a protocol.

   One of the primary changes of IDNA2008 is in the way it approaches
   Unicode code points, using the new inclusion-based approach (see
   <a href="#section-1">Section 1</a>).

   Because of the default assumption in IDNA2008 that a code point is
   not allowed by the protocol, it has more than one class of "allowed
   by the protocol"; this is unlike IDNA2003.  While some code points
   are disallowed outright, some are allowed only in certain contexts.
   The reasons for the context-dependent rules have to do with the way
   some characters are used.  For instance, the ZERO WIDTH JOINER and
   ZERO WIDTH NON-JOINER (ZWJ, U+200D and ZWNJ, U+200C) are allowed with
   contextual rules because they are required in some circumstances, yet
   are considered punctuation by Unicode and would therefore be
   DISALLOWED under the usual IDNA2008 derivation rules.  The goal of
   IDNA2008 is to provide the widest repertoire of code points possible
   and consistent with the traditional DNS "LDH" (letters, digits,
   hyphen) rule (see [<a href="./rfc0952" title="&quot;DoD Internet host table specification&quot;">RFC0952</a>]), trusting to the operators of individual
   zones to make sensible (and usually more restrictive) policies for
   their zones.

<span class="h4"><a class="selflink" id="section-5.2.5" href="#section-5.2.5">5.2.5</a>.  Internal Structure, Delimiters, and Special Characters</span>

   IDNA2008 has a special problem with delimiters, because the delimiter
   "character" in the DNS wire format is not really part of the data.
   In DNS, labels are not separated exactly; instead, a label carries
   with it an indicator that says how long the label is.  When the label
   is displayed in presentation format as part of a fully qualified
   domain name, the label separator FULL STOP, U+002E (.) is used to
   break up the labels.  But because that label separator does not
   travel with the wire format of the domain name, there is no way to
   encode a different, "internationalized" separator in IDNA2008.





<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Other protocols may include characters with similar special meaning
   within the protocol.  Common characters for these purposes include
   FULL STOP, U+002E (.); COMMERCIAL AT, U+0040 (@); HYPHEN-MINUS,
   U+002D (-); SOLIDUS, U+002F (/); and LOW LINE, U+005F (_).  The mere
   inclusion of such a character in the protocol is not enough for it to
   be considered similar to another protocol using the same character;
   instead, handling of the character must be taken into consideration
   as well.

   An important issue to tackle here is whether it is valuable to map to
   or from these special characters as part of the Stringprep
   replacement.  In some locales, the analogue to FULL STOP, U+002E is
   some other character, and users may expect to be able to substitute
   their normal stop for FULL STOP, U+002E.  At the same time, there are
   predictability arguments in favor of treating identifiers with FULL
   STOP, U+002E in them just the way they are treated under IDNA2008.

<span class="h4"><a class="selflink" id="section-5.2.6" href="#section-5.2.6">5.2.6</a>.  Restrictions Because of Glyph Similarity</span>

   Homoglyphs are similarly (or identically) rendered glyphs of
   different code points.  For DNS names, homoglyphs may enable
   phishing.  If a protocol requires some visual comparison by end-
   users, then the issue of homoglyphs is to be considered.  In the DNS
   context, these issues are documented in [<a href="./rfc5894" title="&quot;Internationalized Domain Names for Applications (IDNA): Background, Explanation, and Rationale&quot;">RFC5894</a>] and [<a href="./rfc4690" title="&quot;Review and Recommendations for Internationalized Domain Names (IDNs)&quot;">RFC4690</a>].
   However, IDNA2008 does not have a mechanism to deal with them,
   trusting DNS zone operators to enact sensible policies for the subset
   of Unicode they wish to support, given their user community.  A
   similar policy/protocol split may not be desirable in every protocol.

<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>.  Where the Data Comes from and Where It Goes</span>

<span class="h4"><a class="selflink" id="section-5.3.1" href="#section-5.3.1">5.3.1</a>.  User Input and the Source of Protocol Elements</span>

   Some protocol elements are provided by users, and others are not.
   Those that are not may presumably be subject to greater restrictions,
   whereas those that users provide likely need to permit the broadest
   range of code points.  The following questions are helpful:

   1.  Do users input the strings directly?

   2.  If so, how? (keyboard, stylus, voice, copy-paste, etc.)

   3.  Where do we place the dividing line between user interface and
       protocol? (see [<a href="./rfc5895" title="&quot;Mapping Characters for Internationalized Domain Names in Applications (IDNA) 2008&quot;">RFC5895</a>])







<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h4"><a class="selflink" id="section-5.3.2" href="#section-5.3.2">5.3.2</a>.  User Output</span>

   Just as only some protocol elements are expected to be entered
   directly by users, only some protocol elements are intended to be
   consumed directly by users.  It is important to know how users are
   expected to be able to consume the protocol elements, because
   different environments present different challenges.  An element that
   is only ever delivered as part of a vCard remains in machine-readable
   format, so the problem of visual confusion is not a great one.  Is
   the protocol element published as part of a vCard, a web directory,
   on a business card, or on "the side of a bus"?  Do users use the
   protocol element as an identifier (which means that they might enter
   it again in some other context)?  (See also <a href="#section-5.2.6">Section 5.2.6</a>.)

<span class="h4"><a class="selflink" id="section-5.3.3" href="#section-5.3.3">5.3.3</a>.  Operations</span>

   Some strings are useful as part of the protocol but are not used as
   input to other operations (for instance, purely informative or
   descriptive text).  Other strings are used directly as input to other
   operations (such as cryptographic hash functions), or are used
   together with other strings to (such as concatenating a string with
   some others to form a unique identifier).

<span class="h5"><a class="selflink" id="section-5.3.3.1" href="#section-5.3.3.1">5.3.3.1</a>.  String Classes</span>

   Strings often have a similar function in different protocols.  For
   instance, many different protocols contain user identifiers or
   passwords.  A single profile for all such uses might be desirable.

   Often, a string in a protocol is effectively a protocol element from
   another protocol.  For instance, different systems might use the same
   credentials database for authentication.

<span class="h5"><a class="selflink" id="section-5.3.3.2" href="#section-5.3.3.2">5.3.3.2</a>.  Community Considerations</span>

   A Stringprep replacement that does anything more than just update
   Stringprep to the latest version of Unicode will probably entail some
   changes.  It is important to identify the willingness of the
   protocol-using community to accept backwards-incompatible changes.
   By the same token, it is important to evaluate the desire of the
   community for features not available under Stringprep.

<span class="h5"><a class="selflink" id="section-5.3.3.3" href="#section-5.3.3.3">5.3.3.3</a>.  Unicode Incompatible Changes</span>

   IDNA2008 uses an algorithm to derive the validity of a Unicode code
   point for use under IDNA2008.  It does this by using the properties
   of each code point to test its validity.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   This approach depends crucially on the idea that code points, once
   valid for a protocol profile, will not later be made invalid.  That
   is not a guarantee currently provided by Unicode.  Properties of code
   points may change between versions of Unicode.  Rarely, such a change
   could cause a given code point to become invalid under a protocol
   profile, even though the code point would be valid with an earlier
   version of Unicode.  This is not merely a theoretical possibility,
   because it has occurred [<a href="./rfc6452" title="&quot;The Unicode Code Points and Internationalized Domain Names for Applications (IDNA) - Unicode 6.0&quot;">RFC6452</a>].

   Accordingly, as in IDNA2008, a Stringprep replacement that intends to
   be Unicode version agnostic will need to work out a mechanism to
   address cases where incompatible changes occur because of new Unicode
   versions.

<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>.  Considerations for Stringprep Replacement</span>

   The above suggests the following guidance:

   o  A Stringprep replacement should be defined.

   o  The replacement should take an approach similar to IDNA2008 (e.g.,
      by using properties of code points instead of whitelisting of code
      points), in that it enables better Unicode agility.

   o  Protocols share similar characteristics of strings.  Therefore,
      defining internationalization preparation algorithms for the
      smallest set of string classes may be sufficient for most cases,
      providing coherence among a set of related protocols or protocols
      where identifiers are exchanged.

   o  The sets of string classes need to be evaluated according to the
      considerations that make up the headings in <a href="#section-5">Section 5</a>

   o  It is reasonable to limit scope to Unicode code points and rule
      the mapping of data from other character encodings outside the
      scope of this effort.

   o  The replacement ought to at least provide guidance to applications
      using the replacement on how to handle protocol incompatibilities
      resulting from changes to Unicode.  In an ideal world, the
      Stringprep replacement would handle the changes automatically, but
      it appears that such automatic handling would require magic and
      cannot be expected.

   o  Compatibility within each protocol between a technique that is
      Stringprep-based and the technique's replacement has to be
      considered very carefully.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Existing deployments already depend on Stringprep profiles.
   Therefore, a replacement must consider the effects of any new
   strategy on existing deployments.  By way of comparison, it is worth
   noting that some characters were acceptable in IDNA labels under
   IDNA2003, but are not protocol-valid under IDNA2008 (and conversely);
   disagreement about what to do during the transition has resulted in
   different approaches to mapping.  Different implementers may make
   different decisions about what to do in such cases; this could have
   interoperability effects.  It is necessary to trade better support
   for different linguistic environments against the potential side
   effects of backward incompatibility.

<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>.  Security Considerations</span>

   This document merely states what problems are to be solved and does
   not define a protocol.  There are undoubtedly security implications
   of the particular results that will come from the work to be
   completed.  Moreover, the Stringprep Security Considerations
   [<a href="./rfc3454" title="&quot;Preparation of Internationalized Strings (&quot;">RFC3454</a>] Section applies.  See also the analysis in the subsections
   of <a href="#appendix-B">Appendix B</a>, below.

<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>.  Acknowledgements</span>

   This document is the product of the PRECIS IETF Working Group, and
   participants in that working group were helpful in addressing issues
   with the text.

   Specific contributions came from David Black, Alan DeKok, Simon
   Josefsson, Bill McQuillan, Alexey Melnikov, Peter Saint-Andre, Dave
   Thaler, and Yoshiro Yoneya.

   Dave Thaler provided the "buckets" insight in <a href="#section-5.1.1">Section 5.1.1</a>, central
   to the organization of the problem.

   Evaluations of Stringprep profiles that are included in <a href="#appendix-B">Appendix B</a>
   were done by David Black, Alexey Melnikov, Peter Saint-Andre, and
   Dave Thaler.














<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>.  Informative References</span>

   [<a id="ref-78PRECIS">78PRECIS</a>]   Blanchet, M., "PRECIS Framework", Proceedings of IETF
                78, July 2010, &lt;<a href="http://www.ietf.org/proceedings/78/slides/precis-2.pdf">http://www.ietf.org/proceedings/78/</a>
                <a href="http://www.ietf.org/proceedings/78/slides/precis-2.pdf">slides/precis-2.pdf</a>&gt;.

   [<a id="ref-ID-COMP">ID-COMP</a>]    Thaler, D., Ed., "Issues in Identifier Comparison for
                Security Purposes", Work in Progress, March 2013.

   [<a id="ref-NEWPREP">NEWPREP</a>]    "Newprep BoF Meeting Minutes", March 2010,
                &lt;<a href="http://www.ietf.org/proceedings/77/minutes/newprep.txt">http://www.ietf.org/proceedings/77/minutes/</a>
                <a href="http://www.ietf.org/proceedings/77/minutes/newprep.txt">newprep.txt</a>&gt;.

   [<a id="ref-RFC0952">RFC0952</a>]    Harrenstien, K., Stahl, M., and E. Feinler, "DoD
                Internet host table specification", <a href="./rfc952">RFC 952</a>,
                October 1985.

   [<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>, March 1997.

   [<a id="ref-RFC3454">RFC3454</a>]    Hoffman, P. and M. Blanchet, "Preparation of
                Internationalized Strings ("stringprep")", <a href="./rfc3454">RFC 3454</a>,
                December 2002.

   [<a id="ref-RFC3490">RFC3490</a>]    Faltstrom, P., Hoffman, P., and A. Costello,
                "Internationalizing Domain Names in Applications
                (IDNA)", <a href="./rfc3490">RFC 3490</a>, March 2003.

   [<a id="ref-RFC3491">RFC3491</a>]    Hoffman, P. and M. Blanchet, "Nameprep: A Stringprep
                Profile for Internationalized Domain Names (IDN)",
                <a href="./rfc3491">RFC 3491</a>, March 2003.

   [<a id="ref-RFC3492">RFC3492</a>]    Costello, A., "Punycode: A Bootstring encoding of
                Unicode for Internationalized Domain Names in
                Applications (IDNA)", <a href="./rfc3492">RFC 3492</a>, March 2003.

   [<a id="ref-RFC3530">RFC3530</a>]    Shepler, S., Callaghan, B., Robinson, D., Thurlow, R.,
                Beame, C., Eisler, M., and D. Noveck, "Network File
                System (NFS) version 4 Protocol", <a href="./rfc3530">RFC 3530</a>, April 2003.

   [<a id="ref-RFC3722">RFC3722</a>]    Bakke, M., "String Profile for Internet Small Computer
                Systems Interface (iSCSI) Names", <a href="./rfc3722">RFC 3722</a>, April 2004.

   [<a id="ref-RFC3748">RFC3748</a>]    Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J., and
                H. Levkowetz, "Extensible Authentication Protocol
                (EAP)", <a href="./rfc3748">RFC 3748</a>, June 2004.





<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   [<a id="ref-RFC3920">RFC3920</a>]    Saint-Andre, P., Ed., "Extensible Messaging and Presence
                Protocol (XMPP): Core", <a href="./rfc3920">RFC 3920</a>, October 2004.

   [<a id="ref-RFC3922">RFC3922</a>]    Saint-Andre, P., "Mapping the Extensible Messaging and
                Presence Protocol (XMPP) to Common Presence and Instant
                Messaging (CPIM)", <a href="./rfc3922">RFC 3922</a>, October 2004.

   [<a id="ref-RFC4011">RFC4011</a>]    Waldbusser, S., Saperia, J., and T. Hongal, "Policy
                Based Management MIB", <a href="./rfc4011">RFC 4011</a>, March 2005.

   [<a id="ref-RFC4013">RFC4013</a>]    Zeilenga, K., "SASLprep: Stringprep Profile for User
                Names and Passwords", <a href="./rfc4013">RFC 4013</a>, February 2005.

   [<a id="ref-RFC4279">RFC4279</a>]    Eronen, P. and H. Tschofenig, "Pre-Shared Key
                Ciphersuites for Transport Layer Security (TLS)",
                <a href="./rfc4279">RFC 4279</a>, December 2005.

   [<a id="ref-RFC4314">RFC4314</a>]    Melnikov, A., "IMAP4 Access Control List (ACL)
                Extension", <a href="./rfc4314">RFC 4314</a>, December 2005.

   [<a id="ref-RFC4422">RFC4422</a>]    Melnikov, A. and K. Zeilenga, "Simple Authentication and
                Security Layer (SASL)", <a href="./rfc4422">RFC 4422</a>, June 2006.

   [<a id="ref-RFC4505">RFC4505</a>]    Zeilenga, K., "Anonymous Simple Authentication and
                Security Layer (SASL) Mechanism", <a href="./rfc4505">RFC 4505</a>, June 2006.

   [<a id="ref-RFC4511">RFC4511</a>]    Sermersheim, J., "Lightweight Directory Access Protocol
                (LDAP): The Protocol", <a href="./rfc4511">RFC 4511</a>, June 2006.

   [<a id="ref-RFC4513">RFC4513</a>]    Harrison, R., "Lightweight Directory Access Protocol
                (LDAP): Authentication Methods and Security Mechanisms",
                <a href="./rfc4513">RFC 4513</a>, June 2006.

   [<a id="ref-RFC4518">RFC4518</a>]    Zeilenga, K., "Lightweight Directory Access Protocol
                (LDAP): Internationalized String Preparation", <a href="./rfc4518">RFC 4518</a>,
                June 2006.

   [<a id="ref-RFC4616">RFC4616</a>]    Zeilenga, K., "The PLAIN Simple Authentication and
                Security Layer (SASL) Mechanism", <a href="./rfc4616">RFC 4616</a>, August 2006.

   [<a id="ref-RFC4643">RFC4643</a>]    Vinocur, J. and K. Murchison, "Network News Transfer
                Protocol (NNTP) Extension for Authentication", <a href="./rfc4643">RFC 4643</a>,
                October 2006.

   [<a id="ref-RFC4683">RFC4683</a>]    Park, J., Lee, J., Lee, H., Park, S., and T. Polk,
                "Internet X.509 Public Key Infrastructure Subject
                Identification Method (SIM)", <a href="./rfc4683">RFC 4683</a>, October 2006.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   [<a id="ref-RFC4690">RFC4690</a>]    Klensin, J., Faltstrom, P., Karp, C., and IAB, "Review
                and Recommendations for Internationalized Domain Names
                (IDNs)", <a href="./rfc4690">RFC 4690</a>, September 2006.

   [<a id="ref-RFC4790">RFC4790</a>]    Newman, C., Duerst, M., and A. Gulbrandsen, "Internet
                Application Protocol Collation Registry", <a href="./rfc4790">RFC 4790</a>,
                March 2007.

   [<a id="ref-RFC4954">RFC4954</a>]    Siemborski, R. and A. Melnikov, "SMTP Service Extension
                for Authentication", <a href="./rfc4954">RFC 4954</a>, July 2007.

   [<a id="ref-RFC5034">RFC5034</a>]    Siemborski, R. and A. Menon-Sen, "The Post Office
                Protocol (POP3) Simple Authentication and Security Layer
                (SASL) Authentication Mechanism", <a href="./rfc5034">RFC 5034</a>, July 2007.

   [<a id="ref-RFC5051">RFC5051</a>]    Crispin, M., "i;unicode-casemap - Simple Unicode
                Collation Algorithm", <a href="./rfc5051">RFC 5051</a>, October 2007.

   [<a id="ref-RFC5054">RFC5054</a>]    Taylor, D., Wu, T., Mavrogiannopoulos, N., and T.
                Perrin, "Using the Secure Remote Password (SRP) Protocol
                for TLS Authentication", <a href="./rfc5054">RFC 5054</a>, November 2007.

   [<a id="ref-RFC5122">RFC5122</a>]    Saint-Andre, P., "Internationalized Resource Identifiers
                (IRIs) and Uniform Resource Identifiers (URIs) for the
                Extensible Messaging and Presence Protocol (XMPP)",
                <a href="./rfc5122">RFC 5122</a>, February 2008.

   [<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>, May 2008.

   [<a id="ref-RFC5456">RFC5456</a>]    Spencer, M., Capouch, B., Guy, E., Miller, F., and K.
                Shumard, "IAX: Inter-Asterisk eXchange Version 2",
                <a href="./rfc5456">RFC 5456</a>, February 2010.

   [<a id="ref-RFC5661">RFC5661</a>]    Shepler, S., Eisler, M., and D. Noveck, "Network File
                System (NFS) Version 4 Minor Version 1 Protocol",
                <a href="./rfc5661">RFC 5661</a>, January 2010.

   [<a id="ref-RFC5802">RFC5802</a>]    Newman, C., Menon-Sen, A., Melnikov, A., and N.
                Williams, "Salted Challenge Response Authentication
                Mechanism (SCRAM) SASL and GSS-API Mechanisms",
                <a href="./rfc5802">RFC 5802</a>, July 2010.

   [<a id="ref-RFC5804">RFC5804</a>]    Melnikov, A. and T. Martin, "A Protocol for Remotely
                Managing Sieve Scripts", <a href="./rfc5804">RFC 5804</a>, July 2010.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   [<a id="ref-RFC5890">RFC5890</a>]    Klensin, J., "Internationalized Domain Names for
                Applications (IDNA): Definitions and Document
                Framework", <a href="./rfc5890">RFC 5890</a>, August 2010.

   [<a id="ref-RFC5891">RFC5891</a>]    Klensin, J., "Internationalized Domain Names in
                Applications (IDNA): Protocol", <a href="./rfc5891">RFC 5891</a>, August 2010.

   [<a id="ref-RFC5892">RFC5892</a>]    Faltstrom, P., "The Unicode Code Points and
                Internationalized Domain Names for Applications (IDNA)",
                <a href="./rfc5892">RFC 5892</a>, August 2010.

   [<a id="ref-RFC5893">RFC5893</a>]    Alvestrand, H. and C. Karp, "Right-to-Left Scripts for
                Internationalized Domain Names for Applications (IDNA)",
                <a href="./rfc5893">RFC 5893</a>, August 2010.

   [<a id="ref-RFC5894">RFC5894</a>]    Klensin, J., "Internationalized Domain Names for
                Applications (IDNA): Background, Explanation, and
                Rationale", <a href="./rfc5894">RFC 5894</a>, August 2010.

   [<a id="ref-RFC5895">RFC5895</a>]    Resnick, P. and P. Hoffman, "Mapping Characters for
                Internationalized Domain Names in Applications (IDNA)
                2008", <a href="./rfc5895">RFC 5895</a>, September 2010.

   [<a id="ref-RFC6120">RFC6120</a>]    Saint-Andre, P., "Extensible Messaging and Presence
                Protocol (XMPP): Core", <a href="./rfc6120">RFC 6120</a>, March 2011.

   [<a id="ref-RFC6365">RFC6365</a>]    Hoffman, P. and J. Klensin, "Terminology Used in
                Internationalization in the IETF", <a href="https://www.rfc-editor.org/bcp/bcp166">BCP 166</a>, <a href="./rfc6365">RFC 6365</a>,
                September 2011.

   [<a id="ref-RFC6452">RFC6452</a>]    Faltstrom, P. and P. Hoffman, "The Unicode Code Points
                and Internationalized Domain Names for Applications
                (IDNA) - Unicode 6.0", <a href="./rfc6452">RFC 6452</a>, November 2011.

   [<a id="ref-UAX15">UAX15</a>]      "Unicode Standard Annex #15: Unicode Normalization
                Forms", UAX 15, September 2009.

   [<a id="ref-Unicode61">Unicode61</a>]  The Unicode Consortium.  The Unicode Standard, Version
                6.1.0, (Mountain View, CA: The Unicode Consortium, 2012.
                ISBN 978-1-936213-02-3).
                &lt;<a href="http://www.unicode.org/versions/Unicode6.1.0/">http://www.unicode.org/versions/Unicode6.1.0/</a>&gt;.










<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>.  Classification of Stringprep Profiles</span>

   A number of the known cases of Stringprep use were evaluated during
   the preparation of this document.  The known cases are here described
   in two ways.  The types of identifiers the protocol uses is first
   called out in the ID type column (from <a href="#section-5.1.1">Section 5.1.1</a>) using the short
   forms "a" for Absolute, "d" for Definite, and "i" for Indefinite.
   Next, there is a column that contains an "i" if the protocol string
   comes from user input, an "o" if the protocol string becomes user-
   facing output, "b" if both are true, and "n" if neither is true.

                         +------+--------+-------+
                         |  RFC | IDtype | User? |
                         +------+--------+-------+
                         | 3722 |    a   |   b   |
                         | 3748 |    -   |   -   |
                         | 3920 |   a,d  |   b   |
                         | 4505 |    a   |   i   |
                         | 4314 |   a,d  |   b   |
                         | 4954 |   a,d  |   b   |
                         | 5034 |   a,d  |   b   |
                         | 5804 |   a,d  |   b   |
                         +------+--------+-------+

                                  Table 1

<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>.  Evaluation of Stringprep Profiles</span>

   This section is a summary of evaluation of Stringprep profiles that
   was done to get a good understanding of the usage of Stringprep.
   This summary is by no means normative nor the actual evaluations
   themselves.  A template was used for reviewers to get a coherent view
   of all evaluations.

<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>.  iSCSI Stringprep Profile: <a href="./rfc3720">RFC 3720</a>, <a href="./rfc3721">RFC 3721</a>, <a href="./rfc3722">RFC 3722</a></span>

   Description:  An iSCSI session consists of an initiator (i.e., host
      or server that uses storage) communicating with a target (i.e., a
      storage array or other system that provides storage).  Both the
      iSCSI initiator and target are named by iSCSI names.  The iSCSI
      Stringprep profile is used for iSCSI names.

   How it is used:  iSCSI initiators and targets (see above).  They can
      also be used to identify SCSI ports (these are software entities
      in the iSCSI protocol, not hardware ports) and iSCSI logical units
      (storage volumes), although both are unusual in practice.





<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   What entities create these identifiers?  Generally, a human user (1)
      configures an automated system (2) that generates the names.
      Advance configuration of the system is required due to the
      embedded use of external unique identifier (from the DNS or IEEE).

   How is the string input in the system?  Keyboard and copy-paste are
      common.  Copy-paste is common because iSCSI names are long enough
      to be problematic for humans to remember, causing use of email,
      sneaker-net, text files, etc., to avoid mistype mistakes.

   Where do we place the dividing line between user interface and
      protocol?  The iSCSI protocol requires that all
      internationalization string preparation occur in the user
      interface.  The iSCSI protocol treats iSCSI names as opaque
      identifiers that are compared byte-by-byte for equality. iSCSI
      names are generally not checked for correct formatting by the
      protocol.

   What entities enforce the rules?  There are no iSCSI-specific
      enforcement entities, although the use of unique identifier
      information in the names relies on DNS registrars and the IEEE
      Registration Authority.

   Comparison:  Byte-by-byte.

   Case Folding, Sensitivity, Preservation:  Case folding is required
      for the code blocks specified in <a href="./rfc3454">RFC 3454</a>, Table B.2.  The overall
      iSCSI naming system (UI + protocol) is case-insensitive.

   What is the impact if the comparison results in a false positive?
      Potential access to the wrong storage.

      -  If the initiator has no access to the wrong storage, an
         authentication failure is the probable result.

      -  If the initiator has access to the wrong storage, the resulting
         misidentification could result in use of the wrong data and
         possible corruption of stored data.

   What is the impact if the comparison results in a false negative?
      Denial of authorized storage access.

   What are the security impacts?  iSCSI names may be used as the
      authentication identities for storage systems.  Comparison
      problems could result in authentication problems, although note
      that authentication failure ameliorates some of the false positive
      cases.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Normalization:  NFKC, as specified by <a href="./rfc3454">RFC 3454</a>.

   Mapping:  Yes, as specified by Table B.1 in <a href="./rfc3454">RFC 3454</a>.

   Disallowed Characters:  Only the following characters are allowed:
      -  ASCII dash, dot, colon
      -  ASCII lowercase letters and digits
      -  Unicode lowercase characters as specified by <a href="./rfc3454">RFC 3454</a>.
      All other characters are disallowed.

   Which other strings or identifiers are these most similar to?
      None -- iSCSI names are unique to iSCSI.

   Are these strings or identifiers sometimes the same as strings or
      identifiers from other protocols?  No.

   Does the identifier have internal structure that needs to be
      respected?  Yes. ASCII dot, dash, and colon are used for internal
      name structure.  These are not reserved characters, in that they
      can occur in the name in locations other than those used for
      structuring purposes (e.g., only the first occurrence of a colon
      character is structural, others are not).

   How are users exposed to these strings?  How are they published?
      iSCSI names appear in server and storage system configuration
      interfaces.  They also appear in system logs.

   Is the string / identifier used as input to other operations?
      Effectively, no.  The rarely used port and logical unit names
      involve concatenation, which effectively extends a unique iSCSI
      name for a target to uniquely identify something within that
      target.

   How much tolerance for change from existing Stringprep approach?
      Good tolerance; the community would prefer that
      internationalization experts solve internationalization problems.

   How strong a desire for change (e.g., for Unicode agility)?  Unicode
      agility is desired, in principle, as long as nothing significant
      breaks.

<span class="h3"><a class="selflink" id="appendix-B.2" href="#appendix-B.2">B.2</a>.  SMTP/POP3/ManageSieve Stringprep Profiles: <a href="./rfc4954">RFC 4954</a>, <a href="./rfc5034">RFC 5034</a>,</span>
      <a href="./rfc5804">RFC 5804</a>

   Description:  Authorization identity (user identifier) exchanged
      during SASL authentication: AUTH (SMTP/POP3) or AUTHENTICATE
      (ManageSieve) command.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   How It's Used:  Used for proxy authorization, e.g., to [lawfully]
      impersonate a particular user after a privileged authentication.

   Who Generates It:
      -  Typically generated by email system administrators using some
         tools/conventions, sometimes from some backend database.
      -  In some setups, human users can register their own usernames
         (e.g., webmail self-registration).

   User Input Methods:
      -  typing or selecting from a list
      -  copy and paste
      -  voice input
      -  in configuration files or on the command line

   Enforcement:  Rules enforced by server / add-on service (e.g.,
      gateway service) on registration of account.

   Comparison Method:  "Type 1" (byte-for-byte) or "Type 2" (compare by
      a common algorithm that everyone agrees on (e.g., normalize and
      then compare the result byte-by-byte).

   Case Folding, Sensitivity, Preservation:  Most likely case-sensitive.
      Exact requirements on case-sensitivity/case-preservation depend on
      a specific implementation, e.g., an implementation might treat all
      user identifiers as case-insensitive (or case-insensitive for
      US-ASCII subset only).

   Impact of Comparison:  False positives: an unauthorized user is
      allowed email service access (login).  False negatives: an
      authorized user is denied email service access.

   Normalization:  NFKC (as per <a href="./rfc4013">RFC 4013</a>).

   Mapping:  (see <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for the full list) Non-ASCII
      spaces are mapped to space, etc.

   Disallowed Characters:  (see <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for the full list)
      Unicode Control characters, etc.

   String Classes:  Simple username.  See <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for
      details on restrictions.  Note that some implementations allow
      spaces in these.  While implementations are not required to use a
      specific format, an authorization identity frequently has the same
      format as an email address (and Email Address Internationalization
      (EAI) email address in the future), or as a left hand side of an
      email address.  Note: whatever is recommended for SMTP/POP/




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


      ManageSieve authorization identity should also be used for IMAP
      authorization identities, as IMAP/POP3/SMTP/ManageSieve are
      frequently implemented together.

   Internal Structure:  None

   User Output:  Unlikely, but possible.  For example, if it is the same
      as an email address.

   Operations:  Sometimes concatenated with other data and then used as
      input to a cryptographic hash function.

   How much tolerance for change from existing Stringprep approach?  Not
      sure.

   Background Information:
      In <a href="./rfc5034">RFC 5034</a>, when describing the POP3 AUTH command:

         The authorization identity generated by the SASL exchange is a
         simple username, and SHOULD use the SASLprep profile (see
         [<a href="./rfc4013" title="&quot;SASLprep: Stringprep Profile for User Names and Passwords&quot;">RFC4013</a>]) of the StringPrep algorithm (see [<a href="./rfc3454" title="&quot;Preparation of Internationalized Strings (&quot;">RFC3454</a>]) to
         prepare these names for matching.  If preparation of the
         authorization identity fails or results in an empty string
         (unless it was transmitted as the empty string), the server
         MUST fail the authentication.

      In <a href="./rfc4954">RFC 4954</a>, when describing the SMTP AUTH command:

         The authorization identity generated by this [SASL] exchange is
         a "simple username" (in the sense defined in [SASLprep]), and
         both client and server SHOULD (*) use the [SASLprep] profile of
         the [StringPrep] algorithm to prepare these names for
         transmission or comparison.  If preparation of the
         authorization identity fails or results in an empty string
         (unless it was transmitted as the empty string), the server
         MUST fail the authentication.

         (*) Note: Future revision of this specification may change this
         requirement to MUST.  Currently, the SHOULD is used in order to
         avoid breaking the majority of existing implementations.











<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


      In <a href="./rfc5804">RFC 5804</a>, when describing the ManageSieve AUTHENTICATE command:

         The authorization identity generated by this [SASL] exchange is
         a "simple username" (in the sense defined in [SASLprep]), and
         both client and server MUST use the [SASLprep] profile of the
         [StringPrep] algorithm to prepare these names for transmission
         or comparison.  If preparation of the authorization identity
         fails or results in an empty string (unless it was transmitted
         as the empty string), the server MUST fail the authentication.

<span class="h3"><a class="selflink" id="appendix-B.3" href="#appendix-B.3">B.3</a>.  IMAP Stringprep Profiles for Usernames: <a href="./rfc4314">RFC 4314</a>, <a href="./rfc5738">RFC 5738</a></span>

   Evaluation Note:  These documents have 2 types of strings (usernames
      and passwords), so there are two separate templates.

   Description:  "username" parameter to the IMAP LOGIN command,
      identifiers in IMAP Access Control List (ACL) commands.  Note that
      any valid username is also an IMAP ACL identifier, but IMAP ACL
      identifiers can include other things like the name of a group of
      users.

   How It's Used:  Used for authentication (Usernames), or in IMAP
      Access Control Lists (Usernames or Group names).

   Who Generates It:
      -  Typically generated by email system administrators using some
         tools/conventions, sometimes from some backend database.
      -  In some setups, human users can register own usernames (e.g.,
         webmail self-registration).

   User Input Methods:
      -  typing or selecting from a list
      -  copy and paste
      -  voice input
      -  in configuration files or on the command line

   Enforcement:  Rules enforced by server / add-on service (e.g.,
      gateway service) on registration of account.

   Comparison Method:  "Type 1" (byte-for-byte) or "Type 2" (compare by
      a common algorithm that everyone agrees on (e.g., normalize and
      then compare the result byte-by-byte).

   Case Folding, Sensitivity, Preservation:  Most likely case-sensitive.
      Exact requirements on case-sensitivity/case-preservation depend on
      a specific implementation, e.g., an implementation might treat all
      user identifiers as case-insensitive (or case-insensitive for
      US-ASCII subset only).



<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Impact of Comparison:  False positives: an unauthorized user is
      allowed IMAP access (login), privileges improperly granted (e.g.,
      access to a specific mailbox, ability to manage ACLs for a
      mailbox).  False negatives: an authorized user is denied IMAP
      access, unable to use granted privileges (e.g., access to a
      specific mailbox, ability to manage ACLs for a mailbox).

   Normalization:  NFKC (as per <a href="./rfc4013">RFC 4013</a>)

   Mapping:  (see <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for the full list) Non-ASCII
      spaces are mapped to space.

   Disallowed Characters:  (see <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for the full list)
      Unicode Control characters, etc.

   String Classes:  Simple username.  See <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for
      details on restrictions.  Note that some implementations allow
      spaces in these.  While IMAP implementations are not required to
      use a specific format, an IMAP username frequently has the same
      format as an email address (and EAI email address in the future),
      or as a left hand side of an email address.  Note: whatever is
      recommended for the IMAP username should also be used for
      ManageSieve, POP3 and SMTP authorization identities, as IMAP/POP3/
      SMTP/ManageSieve are frequently implemented together.

   Internal Structure:  None.

   User Output:  Unlikely, but possible.  For example, if it is the same
      as an email address, access control lists (e.g. in IMAP ACL
      extension), both when managing membership and listing membership
      of existing access control lists.  Often shows up as mailbox names
      (under Other Users IMAP namespace).

   Operations:  Sometimes concatenated with other data and then used as
      input to a cryptographic hash function.

   How much tolerance for change from existing Stringprep approach?  Not
      sure.  Non-ASCII IMAP usernames are currently prohibited by IMAP
      (<a href="./rfc3501">RFC 3501</a>).  However, they are allowed when used in IMAP ACL
      extension.











<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


<span class="h3"><a class="selflink" id="appendix-B.4" href="#appendix-B.4">B.4</a>.  IMAP Stringprep Profiles for Passwords: <a href="./rfc5738">RFC 5738</a></span>

   Description:  "Password" parameter to the IMAP LOGIN command.

   How It's Used:  Used for authentication (Passwords).

   Who Generates It:  Either generated by email system administrators
      using some tools/conventions, or specified by the human user.

   User Input Methods:
      -  typing or selecting from a list
      -  copy and paste
      -  voice input
      -  in configuration files or on the command line

   Enforcement:  Rules enforced by server / add-on service (e.g.,
      gateway service or backend database) on registration of account.

   Comparison Method:  "Type 1" (byte-for-byte).

   Case Folding, Sensitivity, Preservation:  Most likely case-sensitive.

   Impact of Comparison:  False positives: an unauthorized user is
      allowed IMAP access (login).  False negatives: an authorized user
      is denied IMAP access.

   Normalization:  NFKC (as per <a href="./rfc4013">RFC 4013</a>).

   Mapping:  (see <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for the full list) Non-ASCII
      spaces are mapped to space.

   Disallowed Characters:  (see <a href="./rfc4013#section-2">Section&nbsp;2 of RFC 4013</a> for the full list)
      Unicode Control characters, etc.

   String Classes:  Currently defined as "simple username" (see <a href="./rfc4013#section-2">Section</a>
      <a href="./rfc4013#section-2">2 of RFC 4013</a> for details on restrictions); however, this is
      likely to be a different class from usernames.  Note that some
      implementations allow spaces in these.  Password in all email
      related protocols should be treated in the same way.  Same
      passwords are frequently shared with web, IM, and etc.
      applications.

   Internal Structure:  None.

   User Output:  Text of email messages (e.g. in "you forgot your
      password" email messages), web page / directory, side of the bus /
      in ads -- possible.




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Operations:  Sometimes concatenated with other data and then used as
      input to a cryptographic hash function.  Frequently stored as is,
      or hashed.

   How much tolerance for change from existing Stringprep approach?  Not
      sure.  Non-ASCII IMAP passwords are currently prohibited by IMAP
      (<a href="./rfc3501">RFC 3501</a>); however, they are likely to be in widespread use.

   Background Information:
      <a href="./rfc5738#section-5">RFC 5738, Section&nbsp;5</a> ("UTF8=USER Capability"):

         If the "UTF8=USER" capability is advertised, that indicates the
         server accepts UTF-8 user names and passwords and applies
         SASLprep [<a href="./rfc4013" title="&quot;SASLprep: Stringprep Profile for User Names and Passwords&quot;">RFC4013</a>] to both arguments of the LOGIN command.  The
         server MUST reject UTF-8 that fails to comply with the formal
         syntax in <a href="./rfc3629">RFC 3629</a> [<a href="./rfc3629">RFC3629</a>] or if it encounters Unicode
         characters listed in <a href="#section-2.3">Section 2.3</a> of SASLprep <a href="./rfc4013">RFC 4013</a>
         [<a href="./rfc4013" title="&quot;SASLprep: Stringprep Profile for User Names and Passwords&quot;">RFC4013</a>].

      <a href="./rfc4314#section-3">RFC 4314, Section&nbsp;3</a> ("Access control management commands and
      responses"):

         Servers, when processing a command that has an identifier as a
         parameter (i.e., any of SETACL, DELETEACL, and LISTRIGHTS
         commands), SHOULD first prepare the received identifier using
         "SASLprep" profile [SASLprep] of the "stringprep" algorithm
         [Stringprep].  If the preparation of the identifier fails or
         results in an empty string, the server MUST refuse to perform
         the command with a BAD response.  Note that <a href="#section-6">Section 6</a>
         recommends additional identifier's verification steps.

      <a href="./rfc4314#section-6">RFC 4314, Section&nbsp;6</a> ("Security Considerations"):

         This document relies on [SASLprep] to describe steps required
         to perform identifier canonicalization (preparation).  The
         preparation algorithm in SASLprep was specifically designed
         such that its output is canonical, and it is well-formed.
         However, due to an anomaly [PR29] in the specification of
         Unicode normalization, canonical equivalence is not guaranteed
         for a select few character sequences.  Identifiers prepared
         with SASLprep can be stored and returned by an ACL server.  The
         anomaly affects ACL manipulation and evaluation of identifiers
         containing the selected character sequences.  These sequences,
         however, do not appear in well-formed text.  In order to
         address this problem, an ACL server MAY reject identifiers
         containing sequences described in [PR29] by sending the tagged





<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


         BAD response.  This is in addition to the requirement to reject
         identifiers that fail SASLprep preparation as described in
         <a href="#section-3">Section 3</a>.

<span class="h3"><a class="selflink" id="appendix-B.5" href="#appendix-B.5">B.5</a>.  Anonymous SASL Stringprep Profiles: <a href="./rfc4505">RFC 4505</a></span>

   Description:  <a href="./rfc4505">RFC 4505</a> defines a "trace" field:

   Comparison:  this field is not intended for comparison (only used for
      logging)

   Case folding; case-sensitivity, preserve case:  No case folding/
      case-sensitive

   Do users input the strings directly?  Yes. Possibly entered in
      configuration UIs, or on a command line.  Can also be stored in
      configuration files.  The value can also be automatically
      generated by clients (e.g., a fixed string is used, or a user's
      email address).

   How users input strings?  Keyboard/voice, stylus (pick from a list).
      Copy-paste - possibly.

   Normalization:  None.

   Disallowed Characters:  Control characters are disallowed.  (See
      <a href="./rfc4505#section-3">Section&nbsp;3 of RFC 4505</a>).

   Which other strings or identifiers are these most similar to?
      <a href="./rfc4505">RFC 4505</a> says that the trace "should take one of two forms: an
      Internet email address, or an opaque string that does not contain
      the '@' (U+0040) character and that can be interpreted by the
      system administrator of the client's domain".  In practice, this
      is a free-form text, so it belongs to a different class from
      "email address" or "username".

   Are these strings or identifiers sometimes the same as strings or
      identifiers from other protocols (e.g., does an IM system
      sometimes use the same credentials database for authentication as
      an email system)?  Yes: see above.  However, there is no strong
      need to keep them consistent in the future.

   How are users exposed to these strings, how are they published?  No.
      However, the value can be seen in server logs.







<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Impacts of false positives and false negatives:
      False positive: a user can be confused with another user.
      False negative: two distinct users are treated as the same user.
      But note that the trace field is not authenticated, so it can be
      easily falsified.

   Tolerance of changes in the community:  The community would be
      flexible.

   Delimiters:  No internal structure, but see comments above about
      frequent use of email addresses.

   Background Information:
      <a href="./rfc4505#section-2">RFC 4505, Section&nbsp;2</a> ("The Anonymous Mechanism"):

      The mechanism consists of a single message from the client to the
      server.  The client may include in this message trace information
      in the form of a string of [UTF-8]-encoded [Unicode] characters
      prepared in accordance with [StringPrep] and the "trace"
      stringprep profile defined in <a href="#section-3">Section 3</a> of this document.  The
      trace information, which has no semantical value, should take one
      of two forms: an Internet email address, or an opaque string that
      does not contain the '@' (U+0040) character and that can be
      interpreted by the system administrator of the client's domain.
      For privacy reasons, an Internet email address or other
      information identifying the user should only be used with
      permission from the user.

      <a href="./rfc4505#section-3">RFC 4505, Section&nbsp;3</a> ('The "trace" Profile of "Stringprep"'):
      This section defines the "trace" profile of [StringPrep].  This
      profile is designed for use with the SASL ANONYMOUS Mechanism.
      Specifically, the client is to prepare the &lt;message&gt; production in
      accordance with this profile.

      The character repertoire of this profile is Unicode 3.2 [Unicode].

      No mapping is required by this profile.

      No Unicode normalization is required by this profile.

      The list of unassigned code points for this profile is that
      provided in <a href="#appendix-A">Appendix A</a> of [StringPrep].  Unassigned code points
      are not prohibited.








<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


      Characters from the following tables of [StringPrep] are
      prohibited:

         - C.2.1 (ASCII control characters)
         - C.2.2 (Non-ASCII control characters)
         - C.3 (Private use characters)
         - C.4 (Non-character code points)
         - C.5 (Surrogate codes)
         - C.6 (Inappropriate for plain text)
         - C.8 (Change display properties are deprecated)
         - C.9 (Tagging characters)

   No additional characters are prohibited.

   This profile requires bidirectional character checking per <a href="#section-6">Section 6</a>
   of [StringPrep].

<span class="h3"><a class="selflink" id="appendix-B.6" href="#appendix-B.6">B.6</a>.  XMPP Stringprep Profiles for Nodeprep: <a href="./rfc3920">RFC 3920</a></span>

   Description:  Localpart of JabberID ("JID"), as in:
      localpart@domainpart/resourcepart

   How It's Used:
      -  Usernames (e.g., stpeter@jabber.org)
      -  Chatroom names (e.g., precis@jabber.ietf.org)
      -  Publish-subscribe nodes
      -  Bot names

   Who Generates It:
      -  Typically, end users via an XMPP client
      -  Sometimes created in an automated fashion

   User Input Methods:
      -  typing
      -  copy and paste
      -  voice input
      -  clicking a URI/IRI

   Enforcement:  Rules enforced by server / add-on service (e.g.,
      chatroom service) on registration of account, creation of room,
      etc.

   Comparison Method:  "Type 2" (common algorithm)

   Case Folding, Sensitivity, Preservation:
      -  Strings are always folded to lowercase
      -  Case is not preserved




<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Impact of Comparison:
      False positives:
      -  unable to authenticate at server (or authenticate to wrong
         account)
      -  add wrong person to buddy list
      -  join the wrong chatroom
      -  improperly grant privileges (e.g., chatroom admin)
      -  subscribe to wrong pubsub node
      -  interact with wrong bot
      -  allow communication with blocked entity

      False negatives:
      -  unable to authenticate
      -  unable to add someone to buddy list
      -  unable to join desired chatroom
      -  unable to use granted privileges (e.g., chatroom admin)
      -  unable to subscribe to desired pubsub node
      -  unable to interact with desired bot
      -  disallow communication with unblocked entity

   Normalization:  NFKC

   Mapping:  Spaces are mapped to nothing

   Disallowed Characters:  ",&amp;,',/,:,&lt;,&gt;,@

   String Classes:
      -  Often similar to generic username
      -  Often similar to localpart of email address
      -  Sometimes same as localpart of email address

   Internal Structure:  None

   User Output:
      -  vCard
      -  email signature
      -  web page / directory
      -  text of message (e.g., in a chatroom)

   Operations:  Sometimes concatenated with other data and then used as
      input to a cryptographic hash function

<span class="h3"><a class="selflink" id="appendix-B.7" href="#appendix-B.7">B.7</a>.  XMPP Stringprep Profiles for Resourceprep: <a href="./rfc3920">RFC 3920</a></span>

   Description:
      -  Resourcepart of JabberID ("JID"), as in:
         localpart@domainpart/resourcepart
      -  Typically free-form text



<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   How It's Used:
      -  Device / session names (e.g., stpeter@jabber.org/Home)
      -  Nicknames (e.g., precis@jabber.ietf.org/StPeter)

   Who Generates It:
      -  Often human users via an XMPP client
      -  Often generated in an automated fashion by client or server

   User Input Methods:
      -  typing
      -  copy and paste
      -  voice input
      -  clicking a URI/IRI

   Enforcement:  Rules enforced by server / add-on service (e.g.,
      chatroom service) on account login, joining a chatroom, etc.

   Comparison Method:  "Type 2" (byte-for-byte)

   Case Folding, Sensitivity, Preservation:
      -  Strings are never folded
      -  Case is preserved

   Impact of Comparison:
      False positives:
      -  interact with wrong device (e.g., for file transfer or voice
         call)
      -  interact with wrong chatroom participant
      -  improperly grant privileges (e.g., chatroom moderator)
      -  allow communication with blocked entity
      False negatives:
      -  unable to choose desired chatroom nickname
      -  unable to use granted privileges (e.g., chatroom moderator)
      -  disallow communication with unblocked entity

   Normalization:  NFKC

   Mapping:  Spaces are mapped to nothing

   Disallowed Characters:  None

   String Classes:  Basically a free-form identifier

   Internal Structure:  None

   User Output:
      -  text of message (e.g., in a chatroom)
      -  device names often not exposed to human users



<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Operations:  Sometimes concatenated with other data and then used as
      input to a cryptographic hash function

<span class="h3"><a class="selflink" id="appendix-B.8" href="#appendix-B.8">B.8</a>.  EAP Stringprep Profiles: <a href="./rfc3748">RFC 3748</a></span>

   Description:  <a href="./rfc3748#section-5">RFC 3748, Section&nbsp;5</a>, references Stringprep, but the WG
      did not agree with the text (was added by IESG) and there are no
      known implementations that use Stringprep.  The main problem with
      that text is that the use of strings is a per-method concept, not
      a generic EAP concept and so <a href="./rfc3748">RFC 3748</a> itself does not really use
      Stringprep, but individual EAP methods could.  As such, the
      answers to the template questions are mostly not applicable, but a
      few answers are universal across methods.  The list of IANA
      registered EAP methods is at
      &lt;<a href="http://www.iana.org/assignments/eap-numbers/eap-numbers.xml">http://www.iana.org/assignments/eap-numbers/eap-numbers.xml</a>&gt;.

   Comparison Methods:  n/a (per-method)

   Case Folding, Case-Sensitivity, Case Preservation:  n/a (per-method)

   Impact of comparison:  A false positive results in unauthorized
      network access (and possibly theft of service if some else is
      billed).  A false negative results in lack of authorized network
      access (no connectivity).

   User input:  n/a (per-method)

   Normalization:  n/a (per-method)

   Mapping:  n/a (per-method)

   Disallowed characters:  n/a (per-method)

   String classes:  Although some EAP methods may use a syntax similar
      to other types of identifiers, EAP mandates that the actual values
      must not be assumed to be identifiers usable with anything else.

   Internal structure:  n/a (per-method)

   User output:  Identifiers are never human displayed except perhaps as
      they're typed by a human.

   Operations:  n/a (per-method)








<span class="grey">Blanchet &amp; Sullivan           Informational                    [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc6885">RFC 6885</a>          Stringprep Revision Problem Statement       March 2013</span>


   Community considerations:  There is no resistance to change for the
      base EAP protocol (as noted, the WG didn't want the existing
      text).  However, actual use of Stringprep, if any, within specific
      EAP methods may have resistance.  It is currently unknown whether
      any EAP methods use Stringprep.

Authors' Addresses

   Marc Blanchet
   Viagenie
   246 Aberdeen
   Quebec, QC  G1R 2E1
   Canada

   EMail: Marc.Blanchet@viagenie.ca
   URI:   <a href="http://viagenie.ca">http://viagenie.ca</a>


   Andrew Sullivan
   Dyn, Inc.
   150 Dow St
   Manchester, NH  03101
   U.S.A.

   EMail: asullivan@dyn.com


























Blanchet &amp; Sullivan           Informational                    [Page 34]
</pre>