Giter Site home page Giter Site logo

puppet-wireguard's Introduction

puppet-wireguard

Build Status

This module manages wireguard tunnels

Supported distributions

  • Debian (Jessie and later)
  • Ubuntu (Trusty, Xenial and later)
  • Archlinux

puppet-wireguard's People

Contributors

flokli avatar runejuhl avatar

Stargazers

krobin avatar Martin Simon avatar Maximilian R. avatar Philip Porto Schiffer avatar

Watchers

James Cloos avatar  avatar

puppet-wireguard's Issues

security vulnerability with private key parameter

The private key is passed directly to the template without any kind of encryption. This exposes the key in hiera, catalogs, and log files which could be used in spoofing a tunnel.

You could pass the path to the private key if the key was made via puppet or existed previously. Additionally you could also read with the file function `$private_key_hash = file('/etc/wireguard/privateKey'). Then use the variable in the template as you are doing. However, this method only works when puppet apply is used.

Alternatively you can use https://forge.puppet.com/binford2k/node_encrypt to encrypt the content all the way to the node.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.