summaryrefslogtreecommitdiff
path: root/lib/public_key/doc/src/notes.xml
blob: 70e1c819f32c5fd0fc5e039bfe75975d88136843 (plain)
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
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>2008</year>
      <year>2022</year>
      <holder>Ericsson AB, All Rights Reserved</holder>
    </copyright>
    <legalnotice>
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

  The Initial Developer of the Original Code is Ericsson AB.
    </legalnotice>
    
    <title>public_key Release Notes</title>
    <prepared>Ingela Anderton Andin</prepared>
    <responsible>Ingela Anderton Andin</responsible>
    <docno></docno>
    <approved></approved>
    <checked></checked>
    <date>2008-01-22</date>
    <rev>A</rev>
    <file>notes.xml</file>
  </header>

<section><title>Public_Key 1.13.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    As different solutions of verifying certificate
	    revocation exists move the decode of
	    'CRLDistributionPoints' so that it will only be decode.
	    When it is actually used in the verification process.
	    This would enable interoperability with systems that use
	    certificates with an invalid empty CRLDistributionPoints
	    extension that they want to ignore and make verification
	    by other means.</p>
          <p>
	    Own Id: OTP-18316 Aux Id: GH-6402, PR-6883 </p>
        </item>
        <item>
          <p>
	    public_key:pkix_path_validation validates certificates
	    expiring after 2050</p>
          <p>
	    Own Id: OTP-18356 Aux Id: GH-6403 </p>
        </item>
        <item>
          <p>
	    Do not leave exit message in message queue after calling
	    <c>cacerts_load()</c> on MacOS.</p>
          <p>
	    Own Id: OTP-18392 Aux Id: GH-6656 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Replace size/1 with either tuple_size/1 or byte_size/1</p>
          <p>
	    The <c>size/1</c> BIF is not optimized by the JIT, and
	    its use can result in worse types for Dialyzer.</p>
          <p>
	    When one knows that the value being tested must be a
	    tuple, <c>tuple_size/1</c> should always be preferred.</p>
          <p>
	    When one knows that the value being tested must be a
	    binary, <c>byte_size/1</c> should be preferred. However,
	    <c>byte_size/1</c> also accepts a bitstring (rounding up
	    size to a whole number of bytes), so one must make sure
	    that the call to <c>byte_size/</c> is preceded by a call
	    to <c>is_binary/1</c> to ensure that bitstrings are
	    rejected. Note that the compiler removes redundant calls
	    to <c>is_binary/1</c>, so if one is not sure whether
	    previous code had made sure that the argument is a
	    binary, it does not harm to add an <c>is_binary/1</c>
	    test immediately before the call to <c>byte_size/1</c>.</p>
          <p>
	    Own Id: OTP-18432 Aux Id:
	    GH-6672,PR-6793,PR-6784,PR-6787,PR-6785,PR-6682,PR-6800,PR-6797,PR-6798,PR-6799,PR-6796,PR-6813,PR-6671,PR-6673,PR-6684,PR-6694,GH-6677,PR-6696,PR-6670,PR-6674 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.13.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Disregard LDAP URIs when HTTP URIs are expected.</p>
          <p>
	    Own Id: OTP-18333 Aux Id: GH-6363 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.13.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Support more Linux distributions in cacerts_load/0.</p>
          <p>
	    Own Id: OTP-18154 Aux Id: PR-6002 </p>
        </item>
        <item>
          <p>
	    Correct asn1 typenames available in type pki_asn1_type()</p>
          <p>
	    Own Id: OTP-18189 Aux Id: ERIERL-829 </p>
        </item>
        <item>
          <p>
	    Sign/verify does now behave as in OTP-24 and earlier for
	    eddsa.</p>
          <p>
	    Own Id: OTP-18205 Aux Id: GH-6219 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.13</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added functions to retrieve OS provided CA-certs.</p>
          <p>
	    Own Id: OTP-17798 Aux Id: GH-5760 </p>
        </item>
        <item>
          <p>
	    Allow key file passwords to be input as a single binary,
	    that is we change the data type to be the more for the
	    purpose logical data type iodata() instead of string().</p>
          <p>
	    Own Id: OTP-17890</p>
        </item>
        <item>
          <p>
	    The deprecated public_key functions ssh_decode/2,
	    ssh_encode/2, ssh_hostkey_fingerprint/1 and
	    ssh_hostkey_fingerprint/2 are removed.</p>
          <p>
	    They are replaced by ssh_file:decode/2,
	    ssh_file:encode/2, ssh:hostkey_fingerprint/1 and
	    ssh:hostkey_fingerprint/2 respectively.</p>
          <p>
	    Note that the decode/2 and encode/2 are not exact
	    replacement functions, some minor changes may be needed.
	    Se the manual for more information.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-17921</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.12.0.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Correct asn1 typenames available in type pki_asn1_type()</p>
          <p>
	    Own Id: OTP-18189 Aux Id: ERIERL-829 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.12</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Support password fun for protected keyfiles in
	    ssl:connect function.</p>
          <p>
	    Own Id: OTP-17816 Aux Id: PR-5607 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.11.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Avoid re-encoding of decoded certificates. This could
	    cause unexpected failures as some subtle encoding errors
	    can be tolerated when decoding but hence creating another
	    sequence of bytes if the decoded value is re-encoded.</p>
          <p>
	    Own Id: OTP-17657</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.11.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    public_key:pkix_sign/2 now honors the salt length from
	    the provided input parameters. Earlier this could result
	    in incorrect signatures if not using recommended
	    defaults.</p>
          <p>
	    Own Id: OTP-17534 Aux Id: GH-5054, PR-5057 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    When decoding an 'ECPrivateKey' unwrap the private key.
	    For more precise information see RFC 8410, section 7.</p>
          <p>
	    Own Id: OTP-17609 Aux Id: GH-5157, GH-5156 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.11.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Handle cross-signed root certificates when old root
	    expired as reported in GH-4877.</p>
          <p>
	    Own Id: OTP-17475 Aux Id: GH-4877 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.11</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    TLS connections now support EdDSA certificates.</p>
          <p>
	    Own Id: OTP-17142 Aux Id: PR-4756, GH-4637, GH-4650 </p>
        </item>
        <item>
          <p>
	    The functions public_key:ssh_encode/2,
	    public_key:ssh_decode/2,
	    public_key:ssh_hostkey_fingerprint/1 and
	    public_key:ssh_hostkey_fingerprint/2 are deprecated.</p>
          <p>
	    Replacement functions are available in SSH, see the
	    <seeguide
	    marker="system/general_info:deprecations#otp-24">Deprecations</seeguide>
	    chapter in the Erlang/OTP documentation.</p>
          <p>
	    Own Id: OTP-17352</p>
        </item>
        <item>
          <p>
	    Enhance documentation and logging of certificate
	    handling.</p>
          <p>
	    Own Id: OTP-17384 Aux Id: GH-4800 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.10.0.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Handle cross-signed root certificates when old root
	    expired as reported in GH-4877.</p>
          <p>
	    Own Id: OTP-17475 Aux Id: GH-4877 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.10</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed case insensitive hostname check.</p>
          <p>
	    Own Id: OTP-17242 Aux Id: GH-4500 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add sanity check of trusted anchor certificate expiration
	    to pkix_path_validation/3. Although the anchor is
	    considered a trusted input this sanity check does provide
	    extra security for the users of the public_key
	    application as this property needs to be checked at time
	    of usage and fits very well with the other checks
	    performed here.</p>
          <p>
	    Own Id: OTP-16907</p>
        </item>
        <item>
          <p>
	    Adjust generation of test certificates to conform to RFC
	    5280 rules for formatting of the certificates validity</p>
          <p>
	    Own Id: OTP-17111</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.9.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Corrected dialyzer spec for pkix_path_validation/3</p>
          <p>
	    Own Id: OTP-17069</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.9.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix the issue that pem_decode will crash with an invalid
	    input.</p>
          <p>
	    Own Id: OTP-16902 Aux Id: ERIERL-534 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.9</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed an insignificant whitespace issue when decoding PEM
	    file.</p>
          <p>
	    Own Id: OTP-16801 Aux Id: ERL-1309 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Experimental OCSP client support.</p>
          <p>
	    Own Id: OTP-16448</p>
        </item>
        <item>
          <p>
	    Use user returned path validation error for selfsigned
	    cert. It allows users of the ssl application to customize
	    the generated TLS alert, within the range of defined
	    alerts.</p>
          <p>
	    Own Id: OTP-16592</p>
        </item>
        <item>
          <p>
	    add API function to retrieve the subject-ID of an X509
	    certificate</p>
          <p>
	    Own Id: OTP-16705</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.8</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added support for RSA-PSS signature schemes</p>
          <p>
	    Own Id: OTP-15247</p>
        </item>
        <item>
          <p>
	    Calls of deprecated functions in the <seeguide
	    marker="crypto:new_api#the-old-api">Old Crypto
	    API</seeguide> are replaced by calls of their <seeguide
	    marker="crypto:new_api#the-new-api">substitutions</seeguide>.</p>
          <p>
	    Own Id: OTP-16346</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.7.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add support for key exchange with Edward curves and
	    PSS-RSA padding in signature verification.</p>
          <p>
	    Own Id: OTP-16528</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.7.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Corrected CRL handling which could cause CRL verification
	    to fail. This could happen when the CRL distribution
	    point explicitly specifies the CRL issuer, that is not
	    using the fallback.</p>
          <p>
	    Own Id: OTP-16156 Aux Id: ERL-1030 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.7</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Support Password based encryption with AES</p>
          <p>
	    Own Id: OTP-15870 Aux Id: ERL-952 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Change dialyzer spec to avoid confusion</p>
          <p>
	    Own Id: OTP-15843 Aux Id: ERL-915 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.7</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    RSA options passed to crypto for encrypt and decrypt with
	    public or private key.</p>
          <p>
	    Own Id: OTP-15754 Aux Id: ERL-878 </p>
        </item>
        <item>
          <p>
	    Fix dialyzer warnings caused by a faulty type
	    specification for digest_type().</p>
          <p>
	    This change updates digest_type() and the functions
	    operating with this argument type to accept both 'sha1'
	    and 'sha' as digest_type().</p>
          <p>
	    Own Id: OTP-15776</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add possibility to read PEM files encrypted with old PEM
	    encryption using AES-256</p>
          <p>
	    Own Id: OTP-13726</p>
        </item>
        <item>
          <p>
	    Relax decoding of certificates to so that "harmless"
	    third party encoding errors may be accepted but not
	    created by the public_key application. This adds
	    acceptance of using an incorrect three character country
	    code, the PKIX standard use two character country codes.
	    It is also accepted that the country code is utf8 encoded
	    but the specification says it should be ASCII.</p>
          <p>
	    Own Id: OTP-15687 Aux Id: PR-2162 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.6.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Support Password based encryption with AES</p>
          <p>
	    Own Id: OTP-15870 Aux Id: ERL-952 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.6</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Back port of bug fix ERL-893 from OTP-22 and document
	    enhancements that will solve dialyzer warnings for users
	    of the ssl application.</p>
          <p>
	    This change also affects public_key, eldap (and inet
	    doc).</p>
          <p>
	    Own Id: OTP-15785 Aux Id: ERL-929, ERL-893, PR-2215 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.5</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add export of dialyzer type</p>
          <p>
	    Own Id: OTP-15624</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added ed25519 and ed448 sign/verify.</p>
          <p>
	    Requires OpenSSL 1.1.1 or higher as cryptolib under the
	    OTP application <c>crypto</c>.</p>
          <p>
	    Own Id: OTP-15419 Aux Id: OTP-15094 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Add DSA SHA2 oids in public_keys ASN1-spec and
	    public_key:pkix_sign_types/1</p>
          <p>
	    Own Id: OTP-15367</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Removed <c>#DSAPrivateKey{}</c> as acceptable input to
	    <c>public_key:verify/5</c>.</p>
          <p>
	    Own Id: OTP-15284</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The typing in the CRYPTO and PUBLIC_KEY applications are
	    reworked and a few mistakes are corrected.</p>
          <p>
	    The documentation is now generated from the typing and
	    some clarifications are made.</p>
          <p>
	    A new chapter on Algorithm Details such as key sizes and
	    availability is added to the CRYPTO User's Guide.</p>
          <p>
	    Own Id: OTP-15134</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Some of the keylengths in the newly generated moduli file
	    in public_key are not universally supported. This could
	    cause the SSH key exchange
	    diffie-hellman-group-exchange-sha* to fail.</p>
          <p>
	    Those keylengths are now removed.</p>
          <p>
	    Own Id: OTP-15151 Aux Id: OTP-15113 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.6</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Update calls to the base64 module to conform to that
	    module's type specifications.</p>
          <p>
	    Own Id: OTP-14788 Aux Id: OTP-14624 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Use uri_string module instead of http_uri.</p>
          <p>
	    Own Id: OTP-14902</p>
        </item>
        <item>
          <p>
	    A new function -
	    <c>public_key:pkix_verify_hostname_match_fun/1</c> -
	    returns a fun to be given as option <c>match_fun</c> to
	    <c>public_key:pkix_verify_hostname/3</c> or via ssl.</p>
          <p>
	    The fun makes the verify hostname matching according to
	    the specific rules for the protocol in the argument.
	    Presently only <c>https</c> is supported.</p>
          <p>
	    Own Id: OTP-14962 Aux Id: ERL-542, OTP-15102 </p>
        </item>
        <item>
          <p>
	    Complete PKCS-8 encoding support and enhance the
	    decoding of 'PrivateKeyInfo' to conform to the rest of
	    Erlang public_key API.</p>
          <p>
	    Own Id: OTP-15093</p>
        </item>
        <item>
          <p>
	    A new moduli file is generated. This file is used for the
	    recommended <c>diffie-hellman-group-exchange-sha256</c>
	    key exchange algorithm in SSH.</p>
          <p>
	    Own Id: OTP-15113</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.5.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed a bug in <c>public_key:ssh_encode/2</c> that made
	    it possible to erroneously encode e.g. an RSA key with
	    another type e.g. ECDSA in the resulting binary.</p>
          <p>
	    Own Id: OTP-14570 Aux Id: ERIERL-52, OTP-14676 </p>
        </item>
        <item>
          <p>
	    Corrected handling of parameterized EC keys in
	    public_key:generate_key/1 so that it will work as
	    expected instead of causing a runtime error in crypto.</p>
          <p>
	    Own Id: OTP-14620</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.5.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Hostname verification: Add handling of the general name
	    <c>iPAddress</c> in certificate's subject alternative
	    name extension (<c>subjAltName</c>).</p>
          <p>
	    Own Id: OTP-14653</p>
        </item>
        <item>
          <p>
	    Correct key handling in pkix_test_data/1 and use a
	    generic example mail address instead of an existing one.</p>
          <p>
	    Own Id: OTP-14766</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.5</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    public_key now handles elliptic curve parameters in a
	    consistent way so that decoded ECDSA keys can be
	    correctly re-encoded.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-14621 Aux Id: ERL-480, ERL-481 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Extend crypto:sign, crypto:verify, public_key:sign and
	    public_key:verify with:</p>
          <p>
	    * support for RSASSA-PS padding for signatures and for
	    saltlength setting<br/> * X9.31 RSA padding.<br/> * sha,
	    sha224, sha256, sha384, and sha512 for dss signatures as
	    mentioned in NIST SP 800-57 Part 1.<br/> * ripemd160 to
	    be used for RSA signatures.</p>
          <p>
	    This is a manual merge of half of the pull request 838 by
	    potatosalad from Sept 2015.</p>
          <p>
	    Own Id: OTP-13704 Aux Id: PR838 </p>
        </item>
        <item>
          <p>
	    Add API function pkix_test_data/1 for facilitating
	    automated testing. This is useful for applications that
	    perform X509-certifcate path validation of so called
	    certificate chains, such as TLS.</p>
          <p>
	    Own Id: OTP-14181</p>
        </item>
        <item>
          <p>
	    Improved error propagation and reports</p>
          <p>
	    Own Id: OTP-14236</p>
        </item>
        <item>
          <p>
	    RSAPrivateKey version is set to 'two-prime' instead of
	    using the underlying enumeration value directly.</p>
          <p>
	    Own Id: OTP-14534</p>
        </item>
        <item>
          <p>
	    Deprecated function <c>crypto:rand_uniform/2</c> is
	    replaced by <c>rand:uniform/1</c>.</p>
          <p>
	    Own Id: OTP-14608</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.4.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Bug for <c>public_key:generate_key({namedCurve,OID})</c>
	    fixed.</p>
          <p>
	    Own Id: OTP-14258</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Modernized internal representation used for crl
	    validation by use of maps.</p>
          <p>
	    Own Id: OTP-14111</p>
        </item>
        <item>
          <p>
	    Support EC key in pkix_sign/2</p>
          <p>
	    Own Id: OTP-14294</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    New function <c>pkix_verify_hostname/2,3</c> Implements
	    certificate hostname checking. See the manual and RFC
	    6125.</p>
          <p>
	    Own Id: OTP-13009</p>
        </item>
        <item>
          <p>
	    The ssh host key fingerprint generation now also takes a
	    list of algorithms and returns a list of corresponding
	    fingerprints. See
	    <c>public_key:ssh_hostkey_fingerprint/2</c> and the
	    option <c>silently_accept_hosts</c> in
	    <c>ssh:connect</c>.</p>
          <p>
	    Own Id: OTP-14223</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    New function
	    <c>public_key:ssh_hostkey_fingerprint/1,2</c> to
	    calculate the SSH host key fingerprint string.</p>
          <p>
	    Own Id: OTP-13888 Aux Id: OTP-13887 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The ASN-1 type GeneralName can have more values, then the
	    most common directory name, the code now handles this.</p>
          <p>
	    Own Id: OTP-13554</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Handle PEM encoded EC public keys</p>
          <p>
	    Own Id: OTP-13408</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.1.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    An encapsulated PEM header shall be followed by a blank
	    line</p>
          <p>
	    Own Id: OTP-13381 Aux Id: seq13070 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384' and
	    'ecdsa-sha2-nistp521' signature algorithms for ssh are
	    implemented. See RFC 5656.</p>
          <p>
	    Own Id: OTP-12936</p>
        </item>
        <item>
          <p>
	    There is now a file (public_key/priv/moduli) which lists
	    size-generator-modulus triples. The purpose is to give
	    servers the possibility to select the crypto primes
	    randomly among a list of pregenerated triples. This
	    reduces the risk for some attacks on diffie-hellman
	    negotiation.</p>
          <p>
	    See the reference manual for public_key:dh_gex_group/4
	    where the handling of this is described.</p>
          <p>
	    The ssh server (ssh:daemon) uses this.</p>
          <p>
	    Own Id: OTP-13054 Aux Id: OTP-13052 </p>
        </item>
        <item>
          <p>
	    Add different upper bounds for different string types as
	    suggested by comment in PKIX1Explicit88.</p>
          <p>
	    Own Id: OTP-13132</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.0.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Document enhancements</p>
          <p>
	    Own Id: OTP-12986</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 1.0</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    public_key: Remove legacy switch compact_bit_string</p>
          <p>
	    E.i bitstrings will not be decode as {Unused, Binary},
	    they are now Erlang bitstrings.</p>
          <p>
	    Also the compact_bit_string implies the
	    legacy_erlang_types switch So removing the switch will
	    also make OCTET STRING values be represented as binaries.</p>
          <p>
	    Undecoded open type will now be wrapped in a
	    asn1_OPENTYPE tuple.</p>
          <p>
	    This will change some values in records returned by the
	    public_key API making this change a potentiall
	    incompatibility.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-12110</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.23</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Improve/extend support for CRL handling.</p>
          <p>
	    Own Id: OTP-12547 Aux Id: OTP-10362 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.22.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Added missing encoding support for PBES2, and also
	    completed support for PBES1 that was incomplete.</p>
          <p>
	    Own Id: OTP-11915</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.22</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix incorrect dialyzer spec and types, also enhance
	    documentation. </p>
          <p>
	    Thanks to Ayaz Tuncer.</p>
          <p>
	    Own Id: OTP-11627</p>
        </item>
        <item>
          <p>
	    Application upgrade (appup) files are corrected for the
	    following applications: </p>
          <p>
	    <c>asn1, common_test, compiler, crypto, debugger,
	    dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe,
	    inets, observer, odbc, os_mon, otp_mibs, parsetools,
	    percept, public_key, reltool, runtime_tools, ssh,
	    syntax_tools, test_server, tools, typer, webtool, wx,
	    xmerl</c></p>
          <p>
	    A new test utility for testing appup files is added to
	    test_server. This is now used by most applications in
	    OTP.</p>
          <p>
	    (Thanks to Tobias Schlager)</p>
          <p>
	    Own Id: OTP-11744</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Moved elliptic curve definition from the crypto
	    NIF/OpenSSL into Erlang code, adds the RFC-5639 brainpool
	    curves and makes TLS use them (RFC-7027).</p>
          <p>
	    Thanks to Andreas Schultz</p>
          <p>
	    Own Id: OTP-11578</p>
        </item>
        <item>
          <p>
	    Handle v1 CRLs, with no extensions and fixes issues with
	    IDP (Issuing Distribution Point) comparison during CRL
	    validation. </p>
          <p>
	    Thanks to Andrew Thompson</p>
          <p>
	    Own Id: OTP-11761</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.21</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Fixed a little typo in public_key documentation. Thanks
	    to Tomas Morstein.</p>
          <p>
	    Own Id: OTP-11380</p>
        </item>
        <item>
          <p>
	    public_key: Workaround for incorrectly encoded utf8
	    emailAddress. Thanks to Andrew Bennett.</p>
          <p>
	    Own Id: OTP-11470</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.20</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Extend PKCS-7 to support SCEP (Simple Certificate
	    Enrollment Protocol).</p>
          <p>
	    Own Id: OTP-10874</p>
        </item>
        <item>
          <p>
	    public_key:pem_entry_decode/2 now handles AES-128-CBC
	    ciphered keys. Thanks to Simon Cornish.</p>
          <p>
	    Own Id: OTP-11281</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.19</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add support for ISO oids 1.3.14.3.2.29 and 1.3.14.3.2.27
	    that are sometimes used instead of the PKCS defined oids
	    1.2.840.113549.1.1.5 and 1.2.840.10040.4.3. Add function
	    pkix_sign_types:/1 that translates oids to to algorithm
	    atoms ex:</p>
          <p>
	    > public_key:pkix_sign_types({1,3,14,3,2,29}). {sha,rsa}</p>
          <p>
	    Own Id: OTP-10873</p>
        </item>
        <item>
          <p>
	    Integrate elliptic curve contribution from Andreas
	    Schultz </p>
          <p>
	    In order to be able to support elliptic curve cipher
	    suites in SSL/TLS, additions to handle elliptic curve
	    infrastructure has been added to public_key and crypto.</p>
          <p>
	    This also has resulted in a rewrite of the crypto API to
	    gain consistency and remove unnecessary overhead. All OTP
	    applications using crypto has been updated to use the new
	    API.</p>
          <p>
	    Impact: Elliptic curve cryptography (ECC) offers
	    equivalent security with smaller key sizes than other
	    public key algorithms. Smaller key sizes result in
	    savings for power, memory, bandwidth, and computational
	    cost that make ECC especially attractive for constrained
	    environments.</p>
          <p>
	    Own Id: OTP-11009</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.18</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix subjectPublicKeyInfo type comment in public_key.
	    Thanks to Ryosuke Nakai.</p>
          <p>
	    Own Id: OTP-10670</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    public_key now supports CRL validation and documents the
	    function public_key:pkix_path_validation/3</p>
          <p>
	    Own Id: OTP-7045</p>
        </item>
        <item>
	    <p> Some examples overflowing the width of PDF pages have
	    been corrected. </p>
          <p>
	    Own Id: OTP-10665</p>
        </item>
        <item>
          <p>
	    Fixed typo's in public_key spec.</p>
          <p>
	    Own Id: OTP-10723</p>
        </item>
        <item>
          <p>
	    Corrected PKCS-10 documentation and added some PKCS-9
	    support that is fairly commonly used by PKCS-10. Full
	    support for PKCS-9 will be added later.</p>
          <p>
	    Own Id: OTP-10767</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.17</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    ssh_decode now handles comments, at the end of the line,
	    containing with spaces correctly</p>
          <p>
	    Own Id: OTP-9361</p>
        </item>
        <item>
          <p>
	    Add missing references to sha224 and sha384</p>
          <p>
	    Own Id: OTP-9362 Aux Id: seq12116 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    public_key now supports PKCS-10 and includes experimental
	    support for PKCS-7</p>
          <p>
	    Own Id: OTP-10509 Aux Id: kunagi-291 [202] </p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.16</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add crypto and public_key support for the hash functions
	    SHA224, SHA256, SHA384 and SHA512 and also hmac and
	    rsa_sign/verify support using these hash functions.
	    Thanks to Andreas Schultz for making a prototype.</p>
          <p>
	    Own Id: OTP-9908</p>
        </item>
        <item>
          <p>
	    Optimize RSA private key handling in <c>crypto</c> and
	    <c>public_key</c>.</p>
          <p>
	    Own Id: OTP-10065</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.15</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Changed ssh implementation to use the public_key
	    application for all public key handling. This is also a
	    first step for enabling a callback API for supplying
	    public keys and handling keys protected with password
	    phrases. </p>
          <p>
	    Additionally the test suites where improved so that they
	    do not copy the users keys to test server directories as
	    this is a security liability. Also ipv6 and file access
	    issues found in the process has been fixed.</p>
          <p>
	    This change also solves OTP-7677 and OTP-7235</p>
          <p>
	    This changes also involves some updates to public_keys
	    ssh-functions.</p>
          <p>
	    Own Id: OTP-9911</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.14</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    public_key, ssl and crypto now supports PKCS-8</p>
          <p>
	    Own Id: OTP-9312</p>
        </item>
        <item>
          <p>
	    The asn1 decoder/encoder now uses a runtime nif from the
	    asn1 application if it is available.</p>
          <p>
	    Own Id: OTP-9414</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.13</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    replace "a ssl" with "an ssl" reindent
	    pkix_path_validation/3 Trivial documentation fixes
	    (Thanks to Christian von Roques )</p>
          <p>
	    Own Id: OTP-9464</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.12</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The public_key application now supports encode/decode of
	    ssh public-key files.</p>
          <p>
	    Own Id: OTP-9144</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.11</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Allows the public_key module to decode and encode RSA and
	    DSA keys encoded using the SubjectPublicKeyInfo format.
	    When pem_entry_encode is called on an RSA or DSA public
	    key type, the key is wrapped in the SubjectPublicKeyInfo
	    format.</p>
          <p>
	    Own Id: OTP-9061</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.10</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Improved dialyzer specs.</p>
          <p>
	    Own Id: OTP-8964</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.9</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Updated ssl to ignore CA certs that violate the asn1-spec
	    for a certificate, and updated public key asn1 spec to
	    handle inherited DSS-params.</p>
          <p>
	    Own Id: OTP-7884</p>
        </item>
        <item>
          <p>
	    Changed ssl implementation to retain backwards
	    compatibility for old option {verify, 0} that shall be
	    equivalent to {verify, verify_none}, also separate the
	    cases unknown ca and selfsigned peer cert, and restored
	    return value of deprecated function
	    public_key:pem_to_der/1.</p>
          <p>
	    Own Id: OTP-8858</p>
        </item>
        <item>
          <p>
	    Better handling of v1 and v2 certificates. V1 and v2
	    certificates does not have any extensions so then
	    validate_extensions should just accept that there are
	    none and not end up in missing_basic_constraints clause.</p>
          <p>
	    Own Id: OTP-8867</p>
        </item>
        <item>
          <p>
	    Changed the verify fun so that it differentiate between
	    the peer certificate and CA certificates by using
	    valid_peer or valid as the second argument to the verify
	    fun. It may not always be trivial or even possible to
	    know when the peer certificate is reached otherwise.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-8873</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.8</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Handling of unknown CA certificates was changed in ssl
	    and public_key to work as intended.</p>
          <p>
	    Own Id: OTP-8788</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Revise the public_key API - Cleaned up and documented the
	    public_key API to make it useful for general use, also
	    changed ssl to use the new API.</p>
          <p>
	    Own Id: OTP-8722</p>
        </item>
        <item>
          <p>
	    Added the functionality so that the verification fun will
	    be called when a certificate is considered valid by the
	    path validation to allow access to each certificate in
	    the path to the user application. Also try to verify
	    subject-AltName, if unable to verify it let the
	    application verify it.</p>
          <p>
	    Own Id: OTP-8825</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.7</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            Certificates without any extensions could not be handled
            by public_key.</p>
          <p>
            Own Id: OTP-8626</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Code cleanup and minor bugfixes.</p>
          <p>
            Own Id: OTP-8649</p>
        </item>
      </list>
    </section>

</section>

<section><title>Public_Key 0.6</title>

<section><title>Improvements and New Features</title>
<list>
  <item>
    <p>
      Support for Diffie-Hellman. ssl-3.11 requires
    public_key-0.6.</p>
    <p>
    Own Id: OTP-7046</p>
  </item>
  <item>
    <p>
    Moved extended key usage test for ssl values to ssl.</p>
    <p>
    Own Id: OTP-8553 Aux Id: seq11541, OTP-8554 </p>
  </item>
</list>
</section>

</section>

<section><title>Public_Key 0.5</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
	  <p>Added <c>public_key:pkix_transform/2</c> to enable
            ssl to send CA list during Certificate Request.</p> 
	  <p><c>NOTE</c>: SSL (new_ssl) requires public_key-0.5.
	    ssl usage.</p>
          <p>Own Id: OTP-8372</p>
        </item>
      </list>
    </section>

</section>

  <section><title>Public_Key 0.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            The documentation is now built with open source tools
            (xsltproc and fop) that exists on most platforms. One
            visible change is that the frames are removed.</p>
          <p>
            Own Id: OTP-8250</p>
        </item>
      </list>
    </section>

  </section>

  <section><title>Public_Key 0.3</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            Unknown attributes in certificates are left encoded
            instead of crashing. Patch by Will "wglozer" thanks.</p>
          <p>
            Own Id: OTP-8100</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Allow public_key:pem_to_der/[1,2] to take a binary as
            argument in addition to a filename. Patch by Geoff Cant,
            thanks.</p>
          <p>
            Own Id: OTP-8142</p>
        </item>
      </list>
    </section>

  </section>

<section><title>Public_Key 0.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            X509 certificate handling has been extended and improved
            as a result of more extensive testing of both the ssl
            and public_key application. Even more extensions of the
            certificate handling is yet to be implemented.</p>
          <p>
            Own Id: OTP-7860</p>
        </item>
      </list>
    </section>

</section>
  
<section><title>Public_Key 0.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            First version.</p>
          <p>
            Own Id: OTP-7637</p>
        </item>
      </list>
    </section>

</section>

  
</chapter>