easy-wireguard icon indicating copy to clipboard operation
easy-wireguard copied to clipboard

Concatenation of PSK when emitting config

Open Carlotronics opened this issue 4 years ago • 3 comments

Hello,

I would like to know what is the benefits of concatenating PSKs (function gen_psk) when generating the configuration, if any? Indeed, on my side, wireguard-tools (v1.0.20200827) tells me not to recognize this key format so I had to remove the server PSK from it to work.

Carlotronics avatar Nov 03 '20 18:11 Carlotronics

I saw that too. It appears that this is not a valid base64. I think my intent was to create a PSK that contains both parties.

On Tue, Nov 3, 2020 at 7:27 PM Carlotronics [email protected] wrote:

Hello,

I would like to know what is the benefits of concatenating PSKs (function gen_psk) when generating the configuration, if any? Indeed, on my side, wireguard-tools (v1.0.20200827) tells me not to recognize this key format so I had to remove the server PSK from it to work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ayufan/easy-wireguard/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQJHLMR3BLXIDBKP4B3SOBDPJANCNFSM4TJC6HOQ .

ayufan avatar Nov 03 '20 18:11 ayufan

Maybe I should always use a client one?

On Tue, Nov 3, 2020 at 7:27 PM Kamil Trzciński [email protected] wrote:

I saw that too. It appears that this is not a valid base64. I think my intent was to create a PSK that contains both parties.

On Tue, Nov 3, 2020 at 7:27 PM Carlotronics [email protected] wrote:

Hello,

I would like to know what is the benefits of concatenating PSKs (function gen_psk) when generating the configuration, if any? Indeed, on my side, wireguard-tools (v1.0.20200827) tells me not to recognize this key format so I had to remove the server PSK from it to work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ayufan/easy-wireguard/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQJHLMR3BLXIDBKP4B3SOBDPJANCNFSM4TJC6HOQ .

ayufan avatar Nov 03 '20 18:11 ayufan

I think you should. I'm no expert on the subject, but it makes the most sense to me - and works well in my configurations.

Carlotronics avatar Nov 03 '20 18:11 Carlotronics