fix: Display actual values for WireGuard site credentials #123

Closed
opened 2026-04-05 17:01:13 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Fredkiss3 on 3/12/2026

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Summary

Changes:

  • Show the actual values from the DB in wireguard site credentials
  • Also made it so that the public key in wireguard site credentials is obfuscated
  • Bug fix: When regenerating credentials for sites using wireguard, the public key shown always abc123 instead the actual generated public key

fixes #2341

Screenshots

Name Screenshots
Obfuscated wireguard credentials Screenshot 2026-03-12 at 23 40 09
Obfuscated wireguard credentials (in DB) Screenshot 2026-03-12 at 23 40 29
Regenerated public key before Screenshot 2026-03-12 at 23 46 30
Regenerated public key after Screenshot 2026-03-12 at 23 46 51
*Originally created by @Fredkiss3 on 3/12/2026* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Summary **Changes**: - Show the actual values from the DB in wireguard site credentials - Also made it so that the public key in wireguard site credentials is obfuscated - Bug fix: When regenerating credentials for sites using wireguard, the public key shown always `abc123` instead the actual generated public key fixes #2341 ## Screenshots | Name | Screenshots | | :----------------: | :-----------: | | Obfuscated wireguard credentials | <img width="1475" height="1061" alt="Screenshot 2026-03-12 at 23 40 09" src="https://github.com/user-attachments/assets/96e78e1c-205b-40b4-b66b-e30e56e2e1f8" /> | | Obfuscated wireguard credentials (in DB) | <img width="1475" height="1061" alt="Screenshot 2026-03-12 at 23 40 29" src="https://github.com/user-attachments/assets/d468a595-817c-4c54-bf13-93692325f3f5" /> | | Regenerated public key before | <img width="1028" height="524" alt="Screenshot 2026-03-12 at 23 46 30" src="https://github.com/user-attachments/assets/cdbe8691-44de-4124-89a7-b23b2cfeec3a" /> | | Regenerated public key after | <img width="1035" height="575" alt="Screenshot 2026-03-12 at 23 46 51" src="https://github.com/user-attachments/assets/6f351de7-9085-4984-9e10-027791dd9d57" /> |
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#123