Skip to content

Commit 7952bfb

Browse files
authored
chore(security): Make the warning for the deprecated OpenSSL provider more verbose (vectordotdev#18278)
* chore(security): Make the warning for the deprecated OpenSSL provider more verbose To guide users that run into it. Signed-off-by: Jesse Szwedko <[email protected]> * style Signed-off-by: Jesse Szwedko <[email protected]> --------- Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 47051a5 commit 7952bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ pub fn init_logging(color: bool, format: LogFormat, log_level: &str, rate: u64)
572572
/// The returned [Provider] must stay in scope for the entire lifetime of the application, as it
573573
/// will be unloaded when it is dropped.
574574
pub fn load_openssl_legacy_providers() -> Result<Vec<Provider>, ExitCode> {
575-
warn!(message = "DEPRECATED The openssl legacy provider provides algorithms and key sizes no longer recommended for use.");
575+
warn!(message = "DEPRECATED The openssl legacy provider provides algorithms and key sizes no longer recommended for use. Set `--openssl-legacy-provider=false` or `VECTOR_OPENSSL_LEGACY_PROVIDER=false` to disable. See https://vector.dev/highlights/2023-08-15-0-32-0-upgrade-guide/#legacy-openssl for details.");
576576
["legacy", "default"].into_iter().map(|provider_name| {
577577
Provider::try_load(None, provider_name, true)
578578
.map(|provider| {

0 commit comments

Comments
 (0)