Skip to content

Commit

Permalink
Document that we also read the policy from /usr/share/crypto-policies.
Browse files Browse the repository at this point in the history
  - Document that we also try to read the crypto policy from
    `/usr/share/crypto-policies/back-ends/rpm-sequoia.config`.
  • Loading branch information
nwalfield committed Jul 9, 2024
1 parent 645da09 commit 69aea1c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@
//! # Configuration File
//!
//! This library reads the [crypto policy configuration] in
//! `/etc/crypto-policies/back-ends/sequoia.config`. This can be
//! overridden using the `SEQUOIA_CRYPTO_POLICY` environment variable.
//! If set to the empty string, then no crypto policy will be read and
//! instead [Sequoia's default policy] will be used.
//! `/etc/crypto-policies/back-ends/sequoia.config`. If that file
//! doesn't exist, it tries
//! `/usr/share/crypto-policies/back-ends/rpm-sequoia.config`. This
//! can be overridden using the `SEQUOIA_CRYPTO_POLICY` environment
//! variable. If set to the empty string, then no crypto policy will
//! be read and instead [Sequoia's default policy] will be used.
//!
//! Refer to the [Fedora Crypto Policy] project for information about
//! the crypto policy.
Expand Down

0 comments on commit 69aea1c

Please sign in to comment.