{"id":17244618,"url":"https://github.com/kost/remmina-ruby","last_synced_at":"2025-03-26T04:42:34.626Z","repository":{"id":56891722,"uuid":"158647537","full_name":"kost/remmina-ruby","owner":"kost","description":"Ruby support classes for Remmina","archived":false,"fork":false,"pushed_at":"2018-11-22T05:42:47.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T09:17:03.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T05:39:19.000Z","updated_at":"2018-11-22T22:01:05.000Z","dependencies_parsed_at":"2022-08-20T15:20:55.621Z","dependency_job_id":null,"html_url":"https://github.com/kost/remmina-ruby","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fremmina-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fremmina-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fremmina-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fremmina-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kost","download_url":"https://codeload.github.com/kost/remmina-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591617,"owners_count":20640692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T06:26:16.846Z","updated_at":"2025-03-26T04:42:34.602Z","avatar_url":"https://github.com/kost.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remmina\n\nRuby support classes for Remmina. You can encrypt and decrypt password, dump passwords and \nread config files.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'remmina'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install remmina\n\n## Usage command line\n\nIf you just need to dumo the password after gem installation, just type:\n```\nremmina-dump\n```\n\n## Usage in Ruby\n\n\nBasic decryption example:\n\n```ruby\nrequire \"remmina\"\n\nsecretstr='FeIQ1I6+cs5dpS2yvHruae3KKiE8YXKMBs2yFiN0Yjg='\npass=Remmina::Password.new('secret'=\u003esecretstr)\nenchash=pass.encrypt_password('test')\nputs enchash\n```\n\nBasic encryption example:\n\n```ruby\nrequire \"remmina\"\n\nsecretstr='FeIQ1I6+cs5dpS2yvHruae3KKiE8YXKMBs2yFiN0Yjg='\npass=Remmina::Password.new('secret'=\u003esecretstr)\nplain=pass.decrypt_password('kl7zf+xc7g4=')\nputs plain\n```\n\nBasic decryption example (reading secret from default configuration location):\n\n```ruby\nrequire \"remmina\"\n\nconfig=Remmina::Config.new\nsecretstr=config.readsecret(config.deflocation)\n\npass=Remmina::Password.new('secret'=\u003esecretstr)\nencrypted=\"kl7zf+xc7g4=\"\nplain = pass.decrypt_password(encrypted)\nputs plain\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/remmina. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Fremmina-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkost%2Fremmina-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Fremmina-ruby/lists"}