aboutsummaryrefslogtreecommitdiffstats
path: root/src/content/docs/advanced/gnupg-controller.md
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-09 19:44:05 +0000
committersaturneric <[email protected]>2025-04-09 19:44:05 +0000
commit548ee447aa72abd2c7bb1a85bb878ca53b77e808 (patch)
treed25a75f71fdd6deb98d95c34997d67917c4de72f /src/content/docs/advanced/gnupg-controller.md
parentfeat: adapt manual to v2.1.7 (diff)
downloadManual-548ee447aa72abd2c7bb1a85bb878ca53b77e808.tar.gz
Manual-548ee447aa72abd2c7bb1a85bb878ca53b77e808.zip
chore: make structure better
Diffstat (limited to 'src/content/docs/advanced/gnupg-controller.md')
-rw-r--r--src/content/docs/advanced/gnupg-controller.md136
1 files changed, 63 insertions, 73 deletions
diff --git a/src/content/docs/advanced/gnupg-controller.md b/src/content/docs/advanced/gnupg-controller.md
index 70b5d29..36f74e0 100644
--- a/src/content/docs/advanced/gnupg-controller.md
+++ b/src/content/docs/advanced/gnupg-controller.md
@@ -16,7 +16,7 @@ To access the **GpgController**:
1. Navigate to the **Advanced** menu in the top toolbar.
2. Select **Open GnuPG Controller** from the dropdown menu.
- ![Open GnuPG Controller](https://image.cdn.bktus.com/i/2024/11/29/abfaa919-2945-1acc-eb35-5c86828a97ca.webp)
+![Open GnuPG Controller](https://image.cdn.bktus.com/i/2024/11/29/abfaa919-2945-1acc-eb35-5c86828a97ca.webp)
The **GpgController** interface includes three tabs: **General**, **Key
Database**, and **Advanced**. Below is a detailed explanation of each tab's
@@ -30,51 +30,52 @@ The **General** tab provides essential configuration options for GpgFrontend's i
### Available Options
-1. **Use Binary Mode for File Operations**
+#### Use Binary Mode for File Operations
- - This option determines the format used for encrypted or signed files:
- - **Binary Mode**: Produces compact and efficient files, ideal for storage
- and processing.
- - **ASCII Mode**: Generates human-readable files encoded in ASCII format.
- This is useful for sharing files over email or systems that might corrupt
- binary files.
- - **Recommendation**: Use binary mode for local file operations and ASCII
- mode for file sharing or email attachments.
+This option determines the format used for encrypted or signed files:
+- **Binary Mode**: Produces compact and efficient files, ideal for storage and
+ processing.
+- **ASCII Mode**: Generates human-readable files encoded in ASCII format. This
+ is useful for sharing files over email or systems that might corrupt binary
+ files.
-2. **Use Pinentry as Password Input Dialog**
+Recommendation: Use binary mode for local file operations and ASCII
+mode for file sharing or email attachments.
- - GpgFrontend includes a built-in password input dialog designed as a
- temporary fallback when no external **Pinentry** program is available.
- However, the built-in dialog has limitations and may not work for all
- password input scenarios.
- - **Recommendation**: Users are strongly encouraged to install a
- full-featured **Pinentry** program to ensure a seamless and secure password
- input experience. **Pinentry** is optimized for GnuPG's requirements and
- provides additional features such as better passphrase caching and hardware
- token support.
+#### Use Pinentry as Password Input Dialog
-3. **Enable GpgME Debug Log**
+GpgFrontend includes a built-in password input dialog designed as a
+temporary fallback when no external **Pinentry** program is available.
+However, the built-in dialog has limitations and may not work for all
+password input scenarios.
- - Enables verbose logging for troubleshooting GPG operations via the
- **GpgME** library. This is useful for advanced users diagnosing issues in
- encryption or signing workflows.
+Recommendation: Users are strongly encouraged to install a
+full-featured **Pinentry** program to ensure a seamless and secure password
+input experience. **Pinentry** is optimized for GnuPG's requirements and
+provides additional features such as better passphrase caching and hardware
+token support.
-4. **Restart Gpg Agent on Start**
+#### Enable GpgME Debug Log
- - Ensures that the GPG agent is restarted whenever GpgFrontend launches. This
- helps avoid issues caused by stale GPG agent processes.
+Enables verbose logging for troubleshooting GPG operations via the
+**GpgME** library. This is useful for advanced users diagnosing issues in
+encryption or signing workflows.
-5. **Kill All GPG Daemons at Close**
+#### Restart Gpg Agent on Start
- - Terminates all GPG-related background processes when the application exits.
- This ensures that no sensitive information is cached in memory or
- accessible after the session ends.
- - **Recommendation**: Always enable this option for improved security.
+Ensures that the GPG agent is restarted whenever GpgFrontend launches. This
+helps avoid issues caused by stale GPG agent processes.
- > **Note**: Changes to any settings in the General tab will require
- > restarting GpgFrontend to take effect.
+#### Kill All GPG Daemons at Close
----
+Terminates all GPG-related background processes when the application exits.
+This ensures that no sensitive information is cached in memory or
+accessible after the session ends.
+
+Recommendation: Always enable this option for improved security.
+
+> **Note**: Changes to any settings in the General tab will require
+> restarting GpgFrontend to take effect.
## Key Database Tab: Overview
@@ -86,55 +87,44 @@ detailed documentation is available elsewhere, note the following key points:
- **Switch Between Databases**: Use the **Key Toolbox** dropdown in the main
interface to select the active database.
- ![Key Database Tab](https://image.cdn.bktus.com/i/2024/11/29/7a66848e-bc23-fd13-08a4-1923de39369e.webp)
-
- > For more information on key database management, refer to the dedicated
- > documentation.
+![](https://image.cdn.bktus.com/i/2024/11/29/7a66848e-bc23-fd13-08a4-1923de39369e.webp)
----
+:::tip[Tipps]
+> For more information on key database management, refer to the dedicated
+> documentation.
+:::
## Advanced Tab: Custom GnuPG Configuration
The **Advanced** tab is designed for users who need to configure custom GPG installations.
-![Advanced Tab](https://image.cdn.bktus.com/i/2024/11/29/ba283263-c9f5-9a6b-44a7-b0adf79684e8.webp)
+![](https://image.cdn.bktus.com/i/2024/11/29/ba283263-c9f5-9a6b-44a7-b0adf79684e8.webp)
### Configuring Custom GnuPG
-1. **Enable Custom GnuPG**
-
- - Check the **Use Custom GnuPG** box to enable this feature.
-
-2. **Specify GPG Configuration Path**
-
- - Use the **Select GnuPG Path** button to locate and set the directory where
- `gpgconf` resides. This is critical because GpgFrontend relies on the paths
- provided by `gpgconf` to locate essential components like `gpg`, `gpgsm`,
- and `gpg-agent`.
+1. **Enable Custom GnuPG**: Check the **Use Custom GnuPG** box to enable this
+ feature.
+2. **Specify GPG Configuration Path**: Use the **Select GnuPG Path** button to
+ locate and set the directory where `gpgconf` resides. This is critical
+ because GpgFrontend relies on the paths provided by `gpgconf` to locate
+ essential components like `gpg`, `gpgsm`, and `gpg-agent`.
+3. **Verifying Custom Configuration**: After setting the path, you can test the
+ configuration by running `gpgconf --list-components` in a terminal. This
+ command lists all available GPG components and their paths, ensuring that
+ GpgFrontend can access themcorrectly.
-3. **Verifying Custom Configuration**
+![](https://image.cdn.bktus.com/i/2024/11/29/a9b9eb46-f064-610f-892e-dfc71f1a45d4.webp)
- - After setting the path, you can test the configuration by running `gpgconf
---list-components` in a terminal. This command lists all available GPG
- components and their paths, ensuring that GpgFrontend can access them
- correctly.
-
- ![Test gpgconf](https://image.cdn.bktus.com/i/2024/11/29/a9b9eb46-f064-610f-892e-dfc71f1a45d4.webp)
-
- > **Note**: If `gpgconf` is not configured correctly, GpgFrontend may fail to
- > locate and execute necessary GPG binaries.
-
----
+:::caution
+If `gpgconf` is not configured correctly, GpgFrontend may fail to
+locate and execute necessary GPG binaries.
+:::
## Tips for Using GpgController Effectively
-1. **Choose File Formats Wisely**
-
- - Use **Binary Mode** for efficiency in local operations and **ASCII Mode**
- for readability and compatibility in file sharing.
-
-2. **Install a Full-Featured Pinentry**
-
- - Avoid relying on GpgFrontend's built-in password dialog for critical
- operations. Installing **Pinentry** ensures better compatibility and
- security.
+- Choose File Formats Wisely: Use **Binary Mode** for efficiency in local
+ operations and **ASCII Mode** for readability and compatibility in file
+ sharing.
+- Install a Full-Featured Pinentry: Avoid relying on GpgFrontend's built-in
+ password dialog for critical operations. Installing **Pinentry** ensures better
+ compatibility and security.