Skip to content

Commit 23fdf23

Browse files
authored
Merge pull request #1232 from AriaXLi/maint_str2saltedpbkdf2
2 parents 74e13c1 + 2618ce5 commit 23fdf23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet/parser/functions/str2saltedpbkdf2.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Puppet::Parser::Functions
1313
the pasword using the parameters you provide to the user resource.
1414
1515
@example Plain text password and salt
16-
$pw_info = str2saltedpbkdf2('Pa55w0rd', 'Using s0m3 s@lt', 50000)
16+
$pw_info = str2saltedpbkdf2('Pa55w0rd', 'Use a s@lt h3r3 th@t is 32 byt3s', 50000)
1717
user { 'jdoe':
1818
ensure => present,
1919
iterations => $pw_info['interations'],
@@ -23,7 +23,7 @@ module Puppet::Parser::Functions
2323
2424
@example Sensitive password and salt
2525
$pw = Sensitive.new('Pa55w0rd')
26-
$salt = Sensitive.new('Using s0m3 s@lt')
26+
$salt = Sensitive.new('Use a s@lt h3r3 th@t is 32 byt3s')
2727
$pw_info = Sensitive.new(str2saltedpbkdf2($pw, $salt, 50000))
2828
user { 'jdoe':
2929
ensure => present,

0 commit comments

Comments
 (0)