duritong / trocla

A password store for password creation and retrieval
Other
75 stars 18 forks source link

Add wireguard format to trocla #65

Closed hggh closed 2 years ago

hggh commented 2 years ago

add format to generate WireGuard public and private keys and store it into trocla. the wg binary needs to be present on the trocla (puppetserver) to generate a keypair. it uses YAML to store the pub and private key into trocla

duritong commented 2 years ago

Interesting, I do that slightly different: https://github.com/duritong/puppet-wireguard/tree/master/lib/puppet/functions/wireguard

But yeah I see why you like to have it in trocla.

hggh commented 2 years ago

ah, I did not know that. also a good way.

I don't know if its a good idea to require the wg binary by trocla.

duritong commented 2 years ago

The binary is only required if you want to use the format, so I think it's ok.