martinzink commented on code in PR #2225:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2225#discussion_r4024172362


##########
minifi_rust/extensions/minifi_pgp/minifi_pgp.md:
##########
@@ -0,0 +1,119 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+    http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+## Table of Contents
+
+### Processors
+
+- [DecryptContentPGP](#DecryptContentPGP)
+- [EncryptContentPGP](#EncryptContentPGP)
+### Controller Services
+
+- [PGPPrivateKeyService](#PGPPrivateKeyService)
+- [PGPPublicKeyService](#PGPPublicKeyService)
+
+
+## DecryptContentPGP
+
+### Description
+
+Decrypt contents of OpenPGP messages.
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other 
properties (not in bold) are considered optional. The table also indicates any 
default values, and whether a property supports the NiFi Expression Language.
+
+| Name                | Default Value | Allowable Values | Description         
                                                                                
        |
+|---------------------|---------------|------------------|-------------------------------------------------------------------------------------------------------------|
+| Symmetric Password  |               |                  | Password used for 
decrypting data encrypted with Password-Based Encryption<br/>**Sensitive 
Property: true** |
+| Private Key Service |               |                  | PGP Private Key 
Service for decrypting data encrypted with Public Key Encryption                
            |
+
+### Relationships
+
+| Name    | Description          |
+|---------|----------------------|
+| success | Decryption Succeeded |
+| failure | Decryption Failed    |
+
+### Output Attributes
+
+| Attribute                 | Relationship | Description                       
                                                                                
                                                                                
                                                                                
                                                                           |
+|---------------------------|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| pgp.literal.data.filename | success      | Filename from decrypted Literal 
Data (Note that OpenPGP signatures do not include the formatting octet, the 
file name, and the date field of the Literal Data packet in a signature hash; 
therefore, those fields are not protected against tampering in a signed 
document. Therefore a lot of implementation omit these inherently malleable 
metadata)      |
+| pgp.literal.data.modified | success      | Modified Date from decrypted 
Literal Data (Note that OpenPGP signatures do not include the formatting octet, 
the file name, and the date field of the Literal Data packet in a signature 
hash; therefore, those fields are not protected against tampering in a signed 
document. Therefore a lot of implementation omit these inherently malleable 
metadata) |
+
+
+## EncryptContentPGP
+
+### Description
+
+Encrypt contents using OpenPGP.
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other 
properties (not in bold) are considered optional. The table also indicates any 
default values, and whether a property supports the NiFi Expression Language.
+
+| Name               | Default Value | Allowable Values | Description          
                                                                                
                                                                                
|
+|--------------------|---------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **File Encoding**  | BINARY        | ASCII<br/>BINARY | File Encoding for 
encryption                                                                      
                                                                                
   |
+| Symmetric Password |               |                  | Password used for 
encrypting data with Password-Based Encryption<br/>**Sensitive Property: true** 
                                                                                
   |

Review Comment:
   passphrase for me signals its used to decrypt the private key, but i can 
change it if we want to be more in line with nifi



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to