Project

General

Profile

Actions

Bug #11341

closed

PresharedKey is not sanitized from status_output config file

Added by Viktor Gurov almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
WireGuard
Target version:
Start date:
01/30/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:

Description

PresharedKey is not sanitized from config file

WireGuard-Configuration File wg0.conf:

# This WireGuard config file has been created automatically. Do not edit!
# Description: WG0

[Interface]
PrivateKey = <redacted>
ListenPort = 51820

# Peer: WG42
[Peer]
PublicKey = Xja7ORQcgzifnwXg9xAR3wVef53yj10fx65dtZZYcTM=
AllowedIPs = 10.2.2.2/24
PresharedKey = XU2RlgQOzMqKh1qDA7d2jQRJjuIGgDRpQPR1DYeQiTc=

Actions #2

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0
Actions #3

Updated by Renato Botelho almost 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov almost 4 years ago

  • % Done changed from 0 to 100
Actions #5

Updated by Viktor Gurov almost 4 years ago

  • Status changed from Feedback to Resolved

2.5.0.a.20210201.1628 works as expected:

WireGuard-Configuration File wg0.conf

# This WireGuard config file has been created automatically. Do not edit!
# Description: WG0

[Interface]
PrivateKey = <redacted>
ListenPort = 51820

# Peer: WG42
[Peer]
PublicKey = Xja7ORQcgzifnwXg9xAR3wVef53yj10fx65dtZZYcTM=
AllowedIPs = 10.2.2.2/24
PresharedKey = <redacted>

Actions

Also available in: Atom PDF