Git Product home page Git Product logo

secure_yaml's People

Contributors

aduffeck avatar dim avatar huwtl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

secure_yaml's Issues

Where to decrypt the encrypted database.yml

I was trying to encrypt the username and password in the database.yml file.I was able to encrypt using the secret key.But I am not aware ,where should i decrypt it.The documentation says "Within your app",but I don't know where to do it.

Publish new gem version

Hello. Would you be so kind to update the gem version and publish it on Rubygems.org, like the previous version? It'll be cool to update the gem the regular way, without sticking to the github master branch.

Could it be possible to add support for new OpenSSL versions like on RHEL9 or UBUNTU 22

Encryption/Decription doesn't work in new platforms.

Probably due to some old ciphers removed (not supported).

Failed ti decrypt on Ubuntu 22 with Ruby 3.1.2

admin1@ubuntu22:~/connector_rspec/config$ encrypt_property_for_yaml decrypt 'key' "value="
/usr/share/rvm/gems/ruby-3.1.2/gems/secure_yaml-2.0.2/lib/secure_yaml/cipher.rb:18:in `update': key not set (OpenSSL::Cipher::CipherError)
	from /usr/share/rvm/gems/ruby-3.1.2/gems/secure_yaml-2.0.2/lib/secure_yaml/cipher.rb:18:in `decrypt'
	from /usr/share/rvm/gems/ruby-3.1.2/gems/secure_yaml-2.0.2/lib/secure_yaml/cli/property_encryption_application.rb:18:in `execute'
	from /usr/share/rvm/gems/ruby-3.1.2/gems/secure_yaml-2.0.2/bin/encrypt_property_for_yaml:5:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-3.1.2/bin/encrypt_property_for_yaml:25:in `load'
	from /usr/share/rvm/gems/ruby-3.1.2/bin/encrypt_property_for_yaml:25:in `<main>'
	from /usr/share/rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `eval'
	from /usr/share/rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `<main>'
ad 

Make API YAML compatible

SecureYaml.load should really accept string arguments. Files should be loaded via SecureYaml.load_file instead.

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.