summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kjäll <alexander.kjall@gmail.com>2021-08-07 14:49:45 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-08-17 11:20:58 +0200
commit88185c28534ab004382af84b9e6406a2542b8138 (patch)
tree778edd3e6fced11cae6b5eda58365a8d33e051ea
parent7f384e66ebd1cc58d5c9eee353fe3045fca32308 (diff)
openpgp: Word secret in 'secret key material' was duplicated.
-rw-r--r--openpgp/src/cert.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs
index 33c1a0f8..6bb72c20 100644
--- a/openpgp/src/cert.rs
+++ b/openpgp/src/cert.rs
@@ -1100,7 +1100,7 @@ impl Cert {
/// subkeys, use [`KeyAmalgamationIter::subkeys`]. These
/// functions preserve the keys' role in the type system.
///
- /// A key's secret secret key material may be protected with a
+ /// A key's secret key material may be protected with a
/// password. In such cases, it needs to be decrypted before it
/// can be used to decrypt data or generate a signature. Refer to
/// [`Key::decrypt_secret`] for details.
@@ -3222,7 +3222,7 @@ impl<'a> ValidCert<'a> {
/// Returns the certificate's primary key.
///
- /// A key's secret secret key material may be protected with a
+ /// A key's secret key material may be protected with a
/// password. In such cases, it needs to be decrypted before it
/// can be used to decrypt data or generate a signature. Refer to
/// [`Key::decrypt_secret`] for details.
@@ -3267,7 +3267,7 @@ impl<'a> ValidCert<'a> {
/// instead of skipping the first key: this causes the iterator to
/// return values with a more accurate type.
///
- /// A key's secret secret key material may be protected with a
+ /// A key's secret key material may be protected with a
/// password. In such cases, it needs to be decrypted before it
/// can be used to decrypt data or generate a signature. Refer to
/// [`Key::decrypt_secret`] for details.