From 1ed8e939b86aafa28c4f619f30b2e1e7422b7b96 Mon Sep 17 00:00:00 2001 From: Jakub Date: Mon, 20 Sep 2021 14:28:57 +0200 Subject: [PATCH] Other: typo --- doc/encryption.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/encryption.md b/doc/encryption.md index 4786068b..442a5b50 100644 --- a/doc/encryption.md +++ b/doc/encryption.md @@ -1,12 +1,12 @@ # Encryption Encryption is done in PMAPI, bridge utils and bridge itself. The best would be to keep encryption -in PMAPI and bridge utils (in pacakge such as messages). All packages are using our high-level -GopenPGP library on top of openpgp. +in PMAPI and bridge utils (in package such as messages). All packages are using our high-level +GopenPGP library on top of OpenPGP. ## `gopenpgp.KeyRing` We use one `KeyRing` per address. Our usage then contains all keys for specific address. Primary key is always on the first position, then there old ones to be able to decrypt last e-mail. -Openpgp encrypts given message with all available keys, so we need to first get first (primary) +OpenPGP encrypts given message with all available keys, so we need to first get first (primary) key for encryption to have message encrypted only once with primary key.