Bug 13833 - IPsec PSK broken when editing a connection
Summary: IPsec PSK broken when editing a connection
Status: ASSIGNED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: Will affect an average number of users Crash
Assignee: Adolf Belka
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 16:32 UTC by Michael Tremer
Modified: 2025-03-21 21:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tremer 2025-03-21 16:32:16 UTC
This problem was introduced in bug 13029.

When I create a N2N IPsec connection that uses a PSK and edit the connection, after hitting the Save button, the PSK is being replaced by a base64-encoded version of itself which in return breaks the connection.

Could you have a look at this? I think there is a line missing that decodes the entered data again. Maybe we should not even send it back to the user to not leak the secret?

Let me know if you need my help.