https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162021-01-25T23:04:59ZpfSense bugtrackerpfSense - Bug #11312: Unable to edit or add WireGuard peershttps://redmine.pfsense.org/issues/11312?journal_id=505372021-01-25T23:04:59ZRED SKULL
<ul></ul><p>Ability to edit wireguard peers was regained by editing /cf/conf/config.xml and removing values from the following variables</p>
<p>-- <descr></descr></p>
<p>-- <persistentkeepalive></persistentkeepalive></p>
<p>It seems as though certain strings/characters I entered for those variables caused the issue.</p> pfSense - Bug #11312: Unable to edit or add WireGuard peershttps://redmine.pfsense.org/issues/11312?journal_id=505432021-01-26T07:15:55ZJim Pingle
<ul><li><strong>Subject</strong> changed from <i>Unable to edit or add peers - Build 2.5.0.a.20210125.0856 (01/25/21)</i> to <i>Unable to edit or add WireGuard peers</i></li><li><strong>Assignee</strong> set to <i>Jim Pingle</i></li></ul><p>What did you have in those fields?</p>
<p>The keepalive value is numeric so it's unlikely to be that. Description is CDATA encoded so also unlikely to be a source of problems, but perhaps depending on the contents it may have triggered something. Without knowing what that was, it's difficult to say.</p> pfSense - Bug #11312: Unable to edit or add WireGuard peershttps://redmine.pfsense.org/issues/11312?journal_id=505462021-01-26T08:25:00ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>I found a couple issues on the page that could be a problem if the description contained a single quote (<code>'</code>) which could explain the behavior you observed. I pushed some fixes, which should make it into snapshots later today/overnight.</p> pfSense - Bug #11312: Unable to edit or add WireGuard peershttps://redmine.pfsense.org/issues/11312?journal_id=505482021-01-26T09:20:20ZRED SKULL
<ul></ul><p>I had an string that included a single quote encased by the <descr></descr> variable so it lines up perfectly with your observation. Thank you.</p> pfSense - Bug #11312: Unable to edit or add WireGuard peershttps://redmine.pfsense.org/issues/11312?journal_id=506642021-01-29T17:34:52ZMarcos M
<ul></ul><p>Tested on Jan 29 build. Looks good.</p> pfSense - Bug #11312: Unable to edit or add WireGuard peershttps://redmine.pfsense.org/issues/11312?journal_id=506652021-01-29T17:36:45ZMarcos M
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>