mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #965] Create Barrier.pem also with cmdline barriers script #776
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#776
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wummel on GitHub (Dec 3, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/965
After starting barriers 2.3.3 on Debian Linux with --enable-crypt I get this error:
But after starting the GUI "barrier", Barrier.pem is automatically generated. I detected this feature after searching the source code.
I expected Barrier.pem to be generated when starting barriers --enable-crypto.
Also, it would be nice to see some documentation about the automatic .pem-file generation in the .man pages.
thanks
@albertony commented on GitHub (Dec 6, 2020):
For information: I did actually include some documentation for how to generate the certificate and fingerprint manually in my recent wiki pull request https://github.com/debauchee/barrier-wiki/pull/5. See https://github.com/albertony/barrier-wiki/blob/local_config/Command-Line.md.
I included an example for Windows only, but I think for linux something like this should be equivalent:
If your os setup uses XDG_DATA_HOME, i think the path prefix
~/.local/share/barrier/SSLshould be replaced with$XDG_DATA_HOME/barrier/SSL.Found the openssl arguments to use from https://github.com/debauchee/barrier/blob/master/src/gui/src/SslCertificate.cpp.