[GH-ISSUE #33] Doesn't support a separate store for keys. #11

Open
opened 2026-10-13 21:02:18 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @dmierm on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/33

Doesn't support a separate store for keys.
Like a PrivateKeyFile=, PresharedKeyFile= and PublicKeyFile=

Oct 08 14:49:09 ubuntu-4gb-hel1-2 awg-quick[912551]: Line unrecognized: `PrivateKeyFile=/etc/amnezia/amneziawg/awg0.key'
Oct 08 14:49:09 ubuntu-4gb-hel1-2 awg-quick[912551]: Configuration parsing error
Oct 08 14:49:09 ubuntu-4gb-hel1-2 awg-quick[912550]: /usr/bin/awg-quick: line 251: echo: write error: Broken pipe
Originally created by @dmierm on GitHub (Oct 8, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/33 Doesn't support a separate store for keys. Like a PrivateKeyFile=, PresharedKeyFile= and PublicKeyFile= ``` Oct 08 14:49:09 ubuntu-4gb-hel1-2 awg-quick[912551]: Line unrecognized: `PrivateKeyFile=/etc/amnezia/amneziawg/awg0.key' Oct 08 14:49:09 ubuntu-4gb-hel1-2 awg-quick[912551]: Configuration parsing error Oct 08 14:49:09 ubuntu-4gb-hel1-2 awg-quick[912550]: /usr/bin/awg-quick: line 251: echo: write error: Broken pipe ```
Author
Owner

@ygurov commented on GitHub (Oct 19, 2025):

Hi @dmierm,
Is it a feature request or is it an actual issue?
I don't recall if original wireguard-tools has the special handlers for files, if it does please let me know

<!-- gh-comment-id:3419606510 --> @ygurov commented on GitHub (Oct 19, 2025): Hi @dmierm, Is it a feature request or is it an actual issue? I don't recall if original wireguard-tools has the special handlers for files, if it does please let me know
Author
Owner

@dmierm commented on GitHub (Oct 21, 2025):

Hi @ygurov . You are right, original wireguard-tools don't have special handlers for files. I was wrong, only systemd-network for wireguard config supports a separate store for keys. This issue may be closed.

<!-- gh-comment-id:3426630311 --> @dmierm commented on GitHub (Oct 21, 2025): Hi @ygurov . You are right, original wireguard-tools don't have special handlers for files. I was wrong, only systemd-network for wireguard config supports a separate store for keys. This issue may be closed.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-tools#11
No description provided.