summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-27add SHA1 base64 encoded formatmh
2014-06-27Merge branch 'charset_option' of https://github.com/tilya/trocla into ↵mh
tilya-charset_option & simplify charset selection Conflicts: lib/trocla.rb lib/trocla/util.rb
2014-06-27Merge branch 'asquelt-safechars'mh
2014-06-27Merge branch 'safechars' of https://github.com/asquelt/trocla into ↵mh
asquelt-safechars Conflicts: lib/trocla.rb
2014-06-27Merge pull request #14 from asquelt/masterduritong
x509 format
2014-06-24adds charset option for generating plain passwordsAnna Janackova
2014-06-24puppet will convert all values to string, so we need to convert it back to ↵asq
integer for ranges ie. for this to work: $short_and_safe = { 'shellsafe' => 'true', 'length' => 6, # THIS WILL BE STRING! } $x = trocla('foo', 'plain', $short_and_safe) notify { "test: $x": }
2014-06-24add option to generate shell-safe passwordsasq
basically excludes characters that might be dangerous if used in shell. many passwords generated by trocla may end up in some sort of bash scripts (initscripts, sourced shell variables, etc) which may yeld problems with default trocla random generator. this can be now changed either in troclarc (with "shellsafe: true") or on (ie. "trocla create foo plain '{ length: 32, shellsafe: true}'").
2014-05-29Merge pull request #16 from tilya/bcrypt_renameduritong
changes bcrypt-ruby to bcrypt in gemspec
2014-05-27changes bcrypt-ruby to bcrypt in gemspecAnna Janackova
2014-04-03puppet will convert all values to string, so we need to convert it back to ↵asq
integer for ranges ie. for this to work: $short_and_safe = { 'shellsafe' => 'true', 'length' => 6, # THIS WILL BE STRING! } $x = trocla('foo', 'plain', $short_and_safe) notify { "test: $x": }
2014-04-03add option to generate shell-safe passwordsasq
basically excludes characters that might be dangerous if used in shell. many passwords generated by trocla may end up in some sort of bash scripts (initscripts, sourced shell variables, etc) which may yeld problems with default trocla random generator. this can be now changed either in troclarc (with "shellsafe: true") or on (ie. "trocla create foo plain '{ length: 32, shellsafe: true}'").
2014-04-03add option to generate shell-safe passwordsasq
basically excludes characters that might be dangerous if used in shell. many passwords generated by trocla may end up in some sort of bash scripts (initscripts, sourced shell variables, etc) which may yeld problems with default trocla random generator. this can be now changed either in troclarc (with "shellsafe: true") or on (ie. "trocla create foo plain '{ length: 32, shellsafe: true}'").
2014-02-26x509 format - fix testasq
2014-02-26x509 format - fix testasq
2014-02-26x509 format - fixesasq
2014-02-26x509 formatasq
2014-01-17fix Gemfile for 2.xmh
2014-01-17test with 2.x versionmh
2013-11-17add .gitignoremh
2013-10-03Regenerate gemspec for version 0.0.9mh
2013-10-03release 0.0.9mh
2013-10-02add documentation of the existing functionsmh
2013-10-02lintingmh
2013-10-02typomh
2013-10-02Improve the overall experience of the module.mh
- Extending the README - Add a trocla::yaml class for a simple quickstart. - Fixes issues: #4 & #5
2013-10-02remove init class, this confused ppl and better readme followsmh
2013-09-04Merge pull request #3 from justicel/masterduritong
Release of 0.0.2 module which includes template base configuration for t...
2013-09-04Merge pull request #9 from ZeroPointEnergy/masterduritong
make sure that what we get from the command line is a string
2013-09-04make sure that what we get from the command line is a stringAndreas Zuber
2013-08-20Merge remote-tracking branch 'github/master'mh
2013-08-20add ssha formatmh
2013-08-02Change to allow you to define to install rubygem requirementsJustice London
2013-07-23Release of 0.0.2 module which includes template base configuration for ↵Justice London
trocla CLI.
2013-06-27Merge pull request #8 from yath/masterduritong
[BUG] Store hashed password supplied via 'set' instead of plaintext
2013-06-27Save passwords set via 'set' as hash, if asked to.Sebastian Schmidt
Trocla doesn't save the hashed password in the data file, even if the format passed to 'set' is not 'plain': $ echo foobar | trocla set testuser sha512crypt -p $ grep -A1 testuser trocla_data.yaml testuser: sha512crypt: foobar
2013-03-20Merge pull request #2 from amfranz/masterduritong
Compatibility with latest Puppet version (v3.1.0)
2013-02-28Removing calls to Puppet.features.rubygems?Michael Franz Aigner
This makes the Gem usable in the latest Puppet versions. The handling of RubyGems got revised in Puppet 3.0.1-rc1: http://projects.puppetlabs.com/issues/16757 The new policy is that either bundler and/or rubygems are guaranteed to be loaded and initialized when the Puppet manifest is evaluated, making it unnecessary for Puppet modules to load rubygems. This new policy broke the puppet-trocla module. This is because 'Puppet.features.rubygems?' always evaluates to false now, which causes the module to abort the manifest compilation with a message informing about the necessity of RubyGems to be present.
2013-01-18make sed command more explicit so it's clear when copy/paste from rendered ↵mh
markdown
2013-01-14lintingmh
2013-01-14adapt to new moneta versionmh
2013-01-14better markupmh
2013-01-14add note about migrating yaml backendmh
2013-01-14notes about upgrading to 0.0.8mh
2013-01-14Regenerate gemspec for version 0.0.8mh
2012-12-30rearrange format checkingmh
2012-12-30check if format is valid before creating/seting/...icy
as the old code only checks if the format name is empty, we can set any kind of key/value in the database. for example, this command will work without any error reported: trocla set someuser strange_format I replace the method miss_format by check_format that should be invoked before any thing related to format.
2012-12-29improve README, get rid off obsolete --pwd-from-stdinmh
2012-12-29--pwd-from-stdin now can read from STDIN.icy
You can use pipe to provide multiple line password. Side effect: you can use trocla to store/retreive any kind of data, for example, public SSH key for your deployment tool. The former way of --pwd-from-stdin should be provided by the option --password / -p. STDIN has a different mean, IMHO.
2012-12-28build statusmh