This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 32aacb3 Update pgp-dataformat.adoc 32aacb3 is described below commit 32aacb3a14273297fc827c4ca868a8a2abed3d25 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Apr 27 09:06:46 2021 +0200 Update pgp-dataformat.adoc --- components/camel-crypto/src/main/docs/pgp-dataformat.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/camel-crypto/src/main/docs/pgp-dataformat.adoc b/components/camel-crypto/src/main/docs/pgp-dataformat.adoc index 36fc4e6..cf79372 100644 --- a/components/camel-crypto/src/main/docs/pgp-dataformat.adoc +++ b/components/camel-crypto/src/main/docs/pgp-dataformat.adoc @@ -129,25 +129,25 @@ if you would prefer to do it that way. Install the command line utilities on linux -[source,java] +[source,bash] --------------------- apt-get install gnupg --------------------- Create your keyring, entering a secure password -[source,java] +[source,bash] ------------- gpg --gen-key ------------- If you need to import someone elses public key so that you can encrypt a file for them. -[source,java] +[source,bash] -------------------------- gpg --import <filename.key -------------------------- The following files should now exist and can be used to run the example -[source,java] +[source,bash] ----------------------------------------------- ls -l ~/.gnupg/pubring.gpg ~/.gnupg/secring.gpg ----------------------------------------------- @@ -261,7 +261,7 @@ from("direct:start") == Support of Sub-Keys and Key Flags in PGP Data Format Marshaler -*An https://tools.ietf.org/html/rfc4880#section-12.1[OpenPGP V4 key] can +An https://tools.ietf.org/html/rfc4880#section-12.1[OpenPGP V4 key] can have a primary key and sub-keys. The usage of the keys is indicated by the so called https://tools.ietf.org/html/rfc4880#section-5.2.3.21[Key Flags]. For example, you can have a primary key with two sub-keys; the @@ -275,7 +275,7 @@ primary key and its sub-keys have the same User IDs. == Support of Custom Key Accessors -*You can implement custom key accessors for encryption/signing. The +You can implement custom key accessors for encryption/signing. The above PGPDataFormat class selects in a certain predefined way the keys which should be used for signing/encryption or verifying/decryption. If you have special requirements how your keys should be selected you