Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading a wireguard conf on mobile makes the file end with .txt instead of .conf #600

Open
Sleuth56 opened this issue Mar 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Sleuth56
Copy link

Describe the bug
When you create a new wireguard VPN device on an android device using either Chrome or Firefox and download the wireguard conf file it ends with .txt instead of .conf like it does when downloaded on a desktop operating system. This causes issues with the wireguard android app which wants the file to end with .conf

To Reproduce
Steps to reproduce the behavior:

  1. Login to your defguard account on an android device
  2. Create a new device
  3. Select it to be a Wireguard client
  4. Get to the page with the QR Code
  5. Download the wireguard conf

Expected behavior
For the file to end with .conf like it does when downloaded on a desktop PC OS.

Version information

  • Defguard Core version: v0.9.1
  • Defguard Gateway version:
    • Android (Probably IOS to but can't test)
  • Mobile Chrome or Firefox
@Sleuth56 Sleuth56 added the bug Something isn't working label Mar 26, 2024
@t-aleksander
Copy link

This seems to be an issue with the browser itself (1, 2, 3). A possible workaround for it would be to change the MIME type of the config file from text/plain to something like application/octet-stream (which may make it impossible to open with some built-in text viewers) or some custom type, like text/conf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Testing
Development

No branches or pull requests

2 participants