mirror of
https://github.com/StackExchange/blackbox.git
synced 2025-12-15 02:53:00 +02:00
Instruction for WSL
Add instruction to make it works on WSL2 and Ubuntu 22.04
This commit is contained in:
11
README.md
11
README.md
@@ -159,7 +159,7 @@ To add or fix support for a new operating system, look for the case statements i
|
||||
Using BlackBox on Windows
|
||||
=========================
|
||||
|
||||
BlackBox can be used with Cygwin or MinGW.
|
||||
BlackBox can be used with Cygwin, MinGW or WSL2.
|
||||
|
||||
### Protect the line endings
|
||||
|
||||
@@ -207,6 +207,15 @@ Development:
|
||||
|
||||
- unknown (if you develop Blackbox under MinGW, please let us know if any additional packages are required to run `make test`)
|
||||
|
||||
### WSL2
|
||||
|
||||
If you get the following error in WSL2, you can try to setup your environment with the following instructions (Tested with Ubuntu 22.04 on WSL2):
|
||||
|
||||
- Install [Gpg4win](https://www.gpg4win.org/) (Tested with version 4.1.0)
|
||||
- Import your private key in Gpg4win (you can use Kleopatra on your Windows host if you wish).
|
||||
- Edit the file `~/.gnupg/gpg-agent.conf` on WSL and add the following line: `pinentry-program "/mnt/c/Program Files (x86)/GnuPG/bin/pinentry-basic.exe"`
|
||||
- Restart gpg agent on your linux system: `gpg-connect-agent reloadagent /bye`
|
||||
|
||||
How is the encryption done?
|
||||
===========================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user