Skip to content

Commit

Permalink
chore: improve documentation
Browse files Browse the repository at this point in the history
* GPG walkthrough
* many minor improvements
  • Loading branch information
smlx committed Oct 17, 2021
1 parent 49da8a7 commit 5062dc2
Show file tree
Hide file tree
Showing 5 changed files with 658 additions and 45 deletions.
1 change: 0 additions & 1 deletion docs/content/en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ title: "PIV Agent Documentation"
---

PIV Agent must be installed and set up to work with your hardware security device before use.
See below for instructions.
30 changes: 30 additions & 0 deletions docs/content/en/docs/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "FAQ"
weight: 40
---

## How do I switch between gpg-agent and piv-agent

### Linux (systemd)

Stop both `gpg-agent` and `piv-agent`:

{{% alert title="Note" %}}
The `pkill` is required because `gpg` may be configured to automatically start `gpg-agent` in a manner which is not managed by `systemd`.
{{% /alert %}}

```
systemctl --user stop gpg-agent.socket gpg-agent.service piv-agent.socket piv-agent.service; pkill gpg-agent
```

Start `piv-agent`:

```
systemctl --user start piv-agent.socket
```

Or start `gpg-agent`:

```
systemctl --user start gpg-agent.socket
```
Loading

0 comments on commit 5062dc2

Please sign in to comment.