Skip to content

Commit 042fb51

Browse files
committed
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 8868b07 commit 042fb51

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
@@ -565,7 +565,7 @@ pub fn init_logging(color: bool, format: LogFormat, log_level: &str, rate: u64)
565565
/// The returned [Provider] must stay in scope for the entire lifetime of the application, as it
566566
/// will be unloaded when it is dropped.
567567
pub fn load_openssl_legacy_providers() -> Result<Vec<Provider>, ExitCode> {
568-
warn!(message = "DEPRECATED The openssl legacy provider provides algorithms and key sizes no longer recommended for use.");
568+
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.");
569569
["legacy", "default"].into_iter().map(|provider_name| {
570570
Provider::try_load(None, provider_name, true)
571571
.map(|provider| {

0 commit comments

Comments
 (0)