File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 166166 $pwd_hash_sql = postgresql::postgresql_password(
167167 $username ,
168168 $password_hash ,
169- $password_hash =~ Sensitive[String] ,
169+ false ,
170170 $hash ,
171171 $salt ,
172172 )
Original file line number Diff line number Diff line change 5858
5959 it 'has alter role for "test" user with password as ****' do
6060 expect ( subject ) . to contain_postgresql_psql ( 'ALTER ROLE test ENCRYPTED PASSWORD ****' )
61- . with ( 'command' => sensitive ( %(ALTER ROLE "test" ENCRYPTED PASSWORD 'Sensitive [value redacted]') ) ,
62- # FIXME: This is obviously wrong ^^^^^^^^^^^^^^^^^^^^^^^^^^
61+ . with ( 'command' => sensitive ( %(ALTER ROLE "test" ENCRYPTED PASSWORD 'md5b6f7fcbbabb4befde4588a26c1cfd2fa') ) ,
6362 'sensitive' => 'true' ,
64- 'unless' => sensitive ( %(SELECT 1 FROM pg_shadow WHERE usename = 'test' AND passwd = 'Sensitive [value redacted]') ) ,
65- # FIXME: This is obviously wrong ^^^^^^^^^^^^^^^^^^^^^^^^^^
63+ 'unless' => sensitive ( %(SELECT 1 FROM pg_shadow WHERE usename = 'test' AND passwd = 'md5b6f7fcbbabb4befde4588a26c1cfd2fa') ) ,
6664 'port' => '5432' )
6765 end
6866 end
You can’t perform that action at this time.
0 commit comments