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

Private key on Ubuntu is created as world-readable file #528

Open
smarnach opened this issue Mar 22, 2025 · 0 comments
Open

Private key on Ubuntu is created as world-readable file #528

smarnach opened this issue Mar 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@smarnach
Copy link

Describe the bug
The private key of the hbbs server is created as world-readable file.

Describe the environment

Debian package on Ubuntu 20.04, version 1.1.14

How to Reproduce the bug
Steps to reproduce the behavior:

  1. Install the package.
  2. The file /var/lib/rustdesk-server/id_ed25519 is now readable by any user on the system, i.e. it has mode 0644.

Expected behavior
The private key should only be readable by the user the servers are running as, i.e. it should have mode 0600 and owned by the correct user.

@smarnach smarnach added the bug Something isn't working label Mar 22, 2025
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
None yet
Development

No branches or pull requests

1 participant