Skip to content

Commit b7140b0

Browse files
slontismattcaswell
authored andcommitted
Add migration guide for 3.0
Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Matt Caswell <[email protected]> (Merged from openssl#14710)
1 parent 6e49531 commit b7140b0

11 files changed

+2351
-1065
lines changed

Diff for: CHANGES.md

+74-645
Large diffs are not rendered by default.

Diff for: NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ OpenSSL 3.0
2020

2121
### Major changes between OpenSSL 1.1.1 and OpenSSL 3.0 [under development]
2222

23+
* Added migration guide to man7
2324
* Implemented support for fully "pluggable" TLSv1.3 groups
2425
* Added suport for Kernel TLS (KTLS)
2526
* Changed the license to the Apache License v2.0.

Diff for: README-FIPS.md

+3-404
Large diffs are not rendered by default.

Diff for: doc/build.info

+12
Original file line numberDiff line numberDiff line change
@@ -4292,6 +4292,10 @@ DEPEND[html/man7/evp.html]=man7/evp.pod
42924292
GENERATE[html/man7/evp.html]=man7/evp.pod
42934293
DEPEND[man/man7/evp.7]=man7/evp.pod
42944294
GENERATE[man/man7/evp.7]=man7/evp.pod
4295+
DEPEND[html/man7/fips_module.html]=man7/fips_module.pod
4296+
GENERATE[html/man7/fips_module.html]=man7/fips_module.pod
4297+
DEPEND[man/man7/fips_module.7]=man7/fips_module.pod
4298+
GENERATE[man/man7/fips_module.7]=man7/fips_module.pod
42954299
DEPEND[html/man7/life_cycle-kdf.html]=man7/life_cycle-kdf.pod
42964300
GENERATE[html/man7/life_cycle-kdf.html]=man7/life_cycle-kdf.pod
42974301
DEPEND[man/man7/life_cycle-kdf.7]=man7/life_cycle-kdf.pod
@@ -4304,6 +4308,10 @@ DEPEND[html/man7/life_cycle-rand.html]=man7/life_cycle-rand.pod
43044308
GENERATE[html/man7/life_cycle-rand.html]=man7/life_cycle-rand.pod
43054309
DEPEND[man/man7/life_cycle-rand.7]=man7/life_cycle-rand.pod
43064310
GENERATE[man/man7/life_cycle-rand.7]=man7/life_cycle-rand.pod
4311+
DEPEND[html/man7/migration_guide.html]=man7/migration_guide.pod
4312+
GENERATE[html/man7/migration_guide.html]=man7/migration_guide.pod
4313+
DEPEND[man/man7/migration_guide.7]=man7/migration_guide.pod
4314+
GENERATE[man/man7/migration_guide.7]=man7/migration_guide.pod
43074315
DEPEND[html/man7/openssl-core.h.html]=man7/openssl-core.h.pod
43084316
GENERATE[html/man7/openssl-core.h.html]=man7/openssl-core.h.pod
43094317
DEPEND[man/man7/openssl-core.h.7]=man7/openssl-core.h.pod
@@ -4496,9 +4504,11 @@ html/man7/crypto.html \
44964504
html/man7/ct.html \
44974505
html/man7/des_modes.html \
44984506
html/man7/evp.html \
4507+
html/man7/fips_module.html \
44994508
html/man7/life_cycle-kdf.html \
45004509
html/man7/life_cycle-mac.html \
45014510
html/man7/life_cycle-rand.html \
4511+
html/man7/migration_guide.html \
45024512
html/man7/openssl-core.h.html \
45034513
html/man7/openssl-core_dispatch.h.html \
45044514
html/man7/openssl-core_names.h.html \
@@ -4599,9 +4609,11 @@ man/man7/crypto.7 \
45994609
man/man7/ct.7 \
46004610
man/man7/des_modes.7 \
46014611
man/man7/evp.7 \
4612+
man/man7/fips_module.7 \
46024613
man/man7/life_cycle-kdf.7 \
46034614
man/man7/life_cycle-mac.7 \
46044615
man/man7/life_cycle-rand.7 \
4616+
man/man7/migration_guide.7 \
46054617
man/man7/openssl-core.h.7 \
46064618
man/man7/openssl-core_dispatch.h.7 \
46074619
man/man7/openssl-core_names.h.7 \

Diff for: doc/man3/DH_size.pod

+7-9
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ security bits
99

1010
#include <openssl/dh.h>
1111

12-
int DH_bits(const DH *dh);
13-
1412
Deprecated since OpenSSL 3.0, can be hidden entirely by defining
1513
B<OPENSSL_API_COMPAT> with a suitable version value, see
1614
L<openssl_user_macros(7)>:
1715

16+
int DH_bits(const DH *dh);
17+
1818
int DH_size(const DH *dh);
1919

2020
int DH_security_bits(const DH *dh);
2121

2222
=head1 DESCRIPTION
2323

24+
The functions described on this page are deprecated.
25+
Applications should instead use L<EVP_PKEY_bits(3)>,
26+
L<EVP_PKEY_security_bits(3)> and L<EVP_PKEY_size(3)>.
27+
2428
DH_bits() returns the number of significant bits.
2529

2630
B<dh> and B<dh-E<gt>p> must not be B<NULL>.
2731

28-
The remaining functions described on this page are deprecated.
29-
Applications should instead use L<EVP_PKEY_security_bits(3)> and
30-
L<EVP_PKEY_size(3)>.
31-
3232
DH_size() returns the Diffie-Hellman prime size in bytes. It can be used
3333
to determine how much memory must be allocated for the shared secret
3434
computed by L<DH_compute_key(3)>.
@@ -55,9 +55,7 @@ L<BN_num_bits(3)>
5555

5656
=head1 HISTORY
5757

58-
The DH_size() and DH_security_bits() functions were deprecated in OpenSSL 3.0.
59-
60-
The DH_bits() function was added in OpenSSL 1.1.0.
58+
All functions were deprecated in OpenSSL 3.0.
6159

6260
=head1 COPYRIGHT
6361

Diff for: doc/man3/PEM_read_CMS.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ L<openssl_user_macros(7)>:
8585
=head1 DESCRIPTION
8686

8787
All of the functions described on this page are deprecated.
88-
Applications should use OSSL_ENCODER_to_bio() and OSSL_ENCODER_from_bio()
88+
Applications should use OSSL_ENCODER_to_bio() and OSSL_DECODER_from_bio()
8989
instead.
9090

9191
In the description below, B<I<TYPE>> is used

Diff for: doc/man3/PEM_read_bio_PrivateKey.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ L<openssl_user_macros(7)>:
194194

195195
All of the functions described on this page that have a I<TYPE> of B<DH>, B<DSA>
196196
and B<RSA> are deprecated. Applications should use OSSL_ENCODER_to_bio() and
197-
OSSL_ENCODER_from_bio() instead.
197+
OSSL_DECODER_from_bio() instead.
198198

199199
The PEM functions read or write structures in PEM format. In
200200
this sense PEM format is simply base64 encoded data surrounded

Diff for: doc/man7/OSSL_PROVIDER-legacy.pod

+3-4
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ Not all of these symmetric cipher algorithms are enabled by default.
6464

6565
=item DES
6666

67-
=item IDEA
67+
The algorithm names are: DES_ECB, DES_CBC, DES_OFB, DES_CFB, DES_CFB1, DES_CFB8
68+
and DESX_CBC.
6869

6970
=item RC2
7071

@@ -83,8 +84,6 @@ Disabled by default. Use I<enable-rc5> config option to enable.
8384
When algorithms for other operations start appearing, the
8485
following =head2 titles are appropriate to use:
8586

86-
- Symmetric Ciphers
87-
8887
- Message Authentication Code (MAC)
8988

9089
- Key Derivation Function (KDF)
@@ -108,7 +107,7 @@ L<provider(7)>
108107

109108
=head1 COPYRIGHT
110109

111-
Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
110+
Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
112111

113112
Licensed under the Apache License 2.0 (the "License"). You may not use
114113
this file except in compliance with the License. You can obtain a copy

Diff for: doc/man7/crypto.pod

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Similarly when the application exits the default library context is
7575
automatically destroyed. No explicit de-initialisation steps need to be taken.
7676

7777
See L<OSSL_LIB_CTX(3)> for more information about library contexts.
78+
See also L</ALGORITHM FETCHING>.
7879

7980
=head2 Multi-threaded applications
8081

@@ -303,7 +304,7 @@ provider can also be selected with the property "fips=yes". The FIPS provider
303304
may also contain non-approved algorithm implementations and these can be
304305
selected with the property "fips=no".
305306

306-
See L<OSSL_PROVIDER-FIPS(7)>.
307+
See L<OSSL_PROVIDER-FIPS(7)> and L<fips_module(7)>.
307308

308309
=head2 Legacy provider
309310

0 commit comments

Comments
 (0)