GithubHelp home page GithubHelp logo

ixe013 / benigma Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 168 KB

An Enigma machine as a custom Vault backend. Intented to be a small, self-contained but complete project to bootstrap your Hashicorp Vault plugin development.

Home Page: https://paralint.com/projects/benigma/

License: Mozilla Public License 2.0

Makefile 6.92% Go 75.96% Shell 17.11%
vault-plugins enigma cryptography montreal-hug custom-vault-backend enigma-machine

benigma's People

Contributors

denismaggior8 avatar dependabot[bot] avatar ixe013 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

denismaggior8

benigma's Issues

The plugin does not work if Vault is running on a container, based on official HashiCorp image hashicorp/vault:1.12.1 (which is derived by Alpine Linux)

After having copied the plugin on the Vault's plugin directory and having registered it (everything worked so far), when you enable the secret engine an error occurs:

$ vault secrets enable enigma

Error enabling: Error making API request.

URL: POST http://localhost:8200/v1/sys/mounts/enigma
Code: 400. Errors:

* invalid backend version: 2 errors occurred:
        * fork/exec /usr/local/libexec/vault/enigma.1.0.0: no such file or directory
        * fork/exec /usr/local/libexec/vault/enigma.1.0.0: no such file or directory

Please don't get confused by the "no such file or directory" error, the plugin is there named correctly enigma.1.0.0

$ kubectl exec -ti vault-0 -n vault -- ls -l /usr/local/libexec/vault/enigma.1.0.0
-rwxr-xr-x    1 vault    vault     15803651 Feb 21 08:51 /usr/local/libexec/vault/enigma.1.0.0

I supposed this is related to the fact that Alpine Linux relies on MUSL LIBC instead of the GNU LIBC.

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.