From ab1d199a03ace71fdeb8ba94f6d38c7fe83dd79f Mon Sep 17 00:00:00 2001 From: toby Date: Mon, 20 Mar 2017 14:15:11 -0400 Subject: [PATCH] Reformat ugly PGP operation descriptions --- src/js/config/OperationConfig.js | 78 +++++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 7 deletions(-) diff --git a/src/js/config/OperationConfig.js b/src/js/config/OperationConfig.js index 7e753239..81ed11e8 100755 --- a/src/js/config/OperationConfig.js +++ b/src/js/config/OperationConfig.js @@ -3149,7 +3149,15 @@ var OperationConfig = { ] }, "PGP Encrypt": { - description: "Input: An ASCII-Armoured PGP public key.

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input: An ASCII-Armoured PGP public key.", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.", + "

", + "See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runEncrypt, inputType: "string", outputType: "string", @@ -3162,7 +3170,13 @@ var OperationConfig = { ] }, "PGP Decrypt": { - description: "Input: An ASCII-Armoured PGP private key (and optionally, the password needed to decrypt the private key).

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input: An ASCII-Armoured PGP private key (and optionally, the password needed to decrypt the private key).", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runDecrypt, inputType: "string", outputType: "string", @@ -3180,7 +3194,17 @@ var OperationConfig = { ] }, "PGP Sign": { - description: "Input: An ASCII-Armoured PGP private key (and optionally, the password needed to decrypt the private key); the public key of the recipient.

This operation uses PGP to produce an encrypted digital signature.

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input: An ASCII-Armoured PGP private key (and optionally, the password needed to decrypt the private key); the public key of the recipient.", + "

", + "This operation uses PGP to produce an encrypted digital signature.", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.", + "

", + "See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runSign, inputType: "string", outputType: "string", @@ -3203,7 +3227,17 @@ var OperationConfig = { ] }, "PGP Verify": { - description: "Input: An ASCII-Armoured PGP public key.

This operation uses PGP to decrypt and verify an encrypted digital signature.

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input: An ASCII-Armoured PGP public key.", + "

", + "This operation uses PGP to decrypt and verify an encrypted digital signature.", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.", + "

", + "See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runVerify, inputType: "string", outputType: "string", @@ -3262,7 +3296,17 @@ var OperationConfig = { ] }, "Sign PGP Cleartext": { - description: "Input: An ASCII-Armoured PGP private key (and optionally, the password needed to decrypt the private key).

This operation uses PGP to produce a digital signature.

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input: An ASCII-Armoured PGP private key (and optionally, the password needed to decrypt the private key).", + "

", + "This operation uses PGP to produce a digital signature.", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.", + "

", + "See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runSignCleartext, inputType: "string", outputType: "string", @@ -3280,7 +3324,17 @@ var OperationConfig = { ] }, "Verify PGP Cleartext": { - description: "Input: An ASCII-Armoured PGP public key.

This operation uses PGP to verify a cleartext digital signature.

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input: An ASCII-Armoured PGP public key.", + "

", + "This operation uses PGP to verify a cleartext digital signature.", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.", + "

", + "See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runVerifyCleartext, inputType: "string", outputType: "string", @@ -3293,7 +3347,17 @@ var OperationConfig = { ] }, "Generate PGP Key Pair": { - description: "Input is ignored.

This operation generates a PGP key pair.

Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.

This function relies on OpenPGP.js for the implementation of PGP.

See more at https://openpgpjs.org/", + description: [ + "Input is ignored.", + "

", + "This operation generates a PGP key pair.", + "

", + "Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages.", + "

", + "This function relies on OpenPGP.js for the implementation of PGP.", + "

", + "See more at https://openpgpjs.org/", + ].join("\n"), run: PGP.runGenKeyPair, inputType: "string", outputType: "string",