Comments (4)
Interesting Point. We could have this functionality to generate the private & public keys on the browser (or even ask user to input the public key) and send only the public key part to the server.
Its helpful in case this is deployed in an environment where everyone has access to the Dashboard and you don't want other users to connect to the server using your profile. But of course you lose the QR code generating functionality and also the onus falls on the user to manage the conf file.
from wg-gen-web.
Hi @stefanoco. IMHO if you want to connect to the server you basically trust the server, even if your point is completely legitimate I think it’s a overkill to ask to a no technical user to provide a public key, download the configuration and put his own private key in order to be able to connect. Plus to be able to generate a QR code the user need to provide the private key or edited configuration file, too complicated I believe.
I can always add the option to delete client private key after the initial download. Letting the issue open if more users are concerned
from wg-gen-web.
I think there should be an option to get rid of the clients private key after generating a new peer config. Aside from keeping the ability to generate the QR there is no need to keep it.
The workflow as i imagine:
- add peer (ideally with an IP from a certain range, like .100 and upwards or just type in the exact IP)
- conf file (and QR if needed) is generated and either put in a directory or directly downloaded
- send conf file to customer/client
If the config gets lost, just regenerate the peer config with a new keypair.
Anything I missed?
from wg-gen-web.
Interesting.
I'm also thinking about adding a option to let client provide their public only as an option.
In this situation, maybe it can generate an QRcode without PrivateKey=
and due to the client using this option, they may know how to fill in the blank.
from wg-gen-web.
Related Issues (20)
- Please upgrade your tool
- [improvement] Passport authentication HOT 2
- Error: 500 - Internal Server Error: HOT 1
- is it able to setup AllowedIPs server side only
- Impossible to disconnect / add / revoke users from the server without restarting it. Statistics on users are also not synchronized without restarting the server HOT 1
- Can not build docker-compose over SSH HOT 1
- Problems with stats API HOT 2
- README.md has 2 broken links
- Tutorial on YouTube
- ReferenceError: Buffer is not defined HOT 5
- Logout with github oauth2 not working
- Add to Unraid app community
- Error failed to launch wire-guard in LXC Proxmox Server HOT 1
- [QUESTION} Is this project still being maintained? HOT 2
- I cannot access Synology at http://172.17.0.1:5000
- migrate from https://github.com/adrianmihalko/wg_config HOT 1
- oauth2oidc issue HOT 1
- I need some help! Backend and Frontend url is 404 not found!
- Problem send emails
- 登录增加授权 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wg-gen-web.