Giter Club home page Giter Club logo

ansvaultcmd's Introduction

AnsVaultCmd
===========

Introduction
------------

A .Net based tool for decrypting Ansible vault files.

Note: this tool was originally published as "VaultCmd" which happens to be the
name of a built-in Windows command line tool for managing credentials.

Credits
-------

1. This tool is essentially just a C# port of an existing Go based version
called "avtool":

https://github.com/pbthorste/avtool

My Decrypter class is a re-imagining of their code in decrypt.go. 

2. The AES CTR mode implementation was discovered via this Stack Overflow
question:

Can I use AES in CTR mode in .NET?
https://stackoverflow.com/questions/6374437/can-i-use-aes-in-ctr-mode-in-net

The answer by "quadfinity" leads to this Gist of his which I used verbatim:

https://gist.github.com/hanswolff/8809275

3. The HMAC technique comes from this Stack Overflow question:

Rfc2898 / PBKDF2 with SHA256 as digest in c#
https://stackoverflow.com/questions/18648084/rfc2898-pbkdf2-with-sha256-as-digest-in-c-sharp

The answer by "Peter O." includes a code snippet which I used almost verbatim.
(I just lifted it into a static class to keep the code separate.)

https://stackoverflow.com/a/18649357/106119

Contact Details
---------------

Email: [email protected]
Web:   http://www.chrisoldwood.com

Chris Oldwood
18th October 2018

ansvaultcmd's People

Contributors

chrisoldwood avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.