Skip Menu |

This queue is for tickets about the Crypt-Password CPAN distribution.

Report information
The Basics
Id: 75004
Status: open
Priority: 0/
Queue: Crypt-Password

People
Owner: Nobody in particular
Requestors: kpires [...] csc.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.25
Fixed in: (no value)



Subject: Fails tests on Solaris 10 using gcc 3.4.2
I'm using gcc 3.4.2 to build Crypt::Password on Solaris 10 with Perl 5.14.2 and receiving the test errors shown below. I noticed that all Solaris (10 or 11) compiles (and several other OS builds and versions of Perl) have this problem, but on other systems this test is reporting success instead of fail. Is there a problem with the test? ======== 18: /CSC/3rd_party/perl/bin/perl Makefile.PL Writing Makefile for Crypt::Password Writing MYMETA.yml and MYMETA.json 19: make cp lib/Crypt/Password.pm blib/lib/Crypt/Password.pm Manifying blib/man3/Crypt::Password.3 20: make test PERL_DL_NONLAZY=1 /CSC/3rd_party/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01-crypt-password.t .. Name "Crypt::Password::TESTMODE" used only once: possible typo at t/01-crypt-password.t line 9. Reformatting page. Please Wait... done t/01-crypt-password.t .. 1/? # testing Crypt::Password (crypt_flav='glib') # os is 'solaris' Reformatting page. Please Wait... done # bottom line of man crypt: ' ' # generate salt # hello $5$G7UCXR3l = $5$G7UCXR3l$JaVg5astlnodDI9tkD8OjahQezXSkcxaIwNkVpxY2H3 # hello $5$n6.7JGoa = $5$n6.7JGoa$JlzMDn1UCOr5VxOLCjONcUI3DG5ujNmr.QiFt04Ya4C # hello $5$lkxNG22T = $5$lkxNG22T$TArWJnSpwYakExn..R4tmTDUTpc5CtCoGEmoFTn9vO/ # hello $5$WDz7OIVt = $5$WDz7OIVt$ypJMETI8sAvyuGJw4OAIt2OT2EMZrhPy1skc0CU3Mk. # hello $5$lWbMOMBx = $5$lWbMOMBx$qMtjZmeRA3BtGW1EHLXK7AA.TtwmtVw/srgzumUWPu4 # hello $5$6iKuok6E = $5$6iKuok6E$kpcnffSTmJ0gmHU5N3J8JDNI4LNFHLEuHkyCS04Vis9 # hello $5$5Iyibqhe = $5$5Iyibqhe$ZMeV5h9XijKLA7FBRMZEyvR6Gv/4WzTd/cZyswDLSD4 # hello $5$uBDhKNFE = $5$uBDhKNFE$N1cG0p2i4auQEM946eZhx7sRFC3ntA84S0HoLjJu2qB # hello $5$TUHB/IS5 = $5$TUHB/IS5$YILmIqfZ8oIS4Xb7kHBgqpJKHHGcG9p4yUiItWvWeD7 # hello $5$0wnrgRff = $5$0wnrgRff$.wNxI0p5MA0aI1IiDemm/7JsyCiIjD3y48pRayos.c5 # hello $5$DhuB1RqG = $5$DhuB1RqG$1e77ujE9QvQI49Ud5qZV/sLj6lVXVwrbWsISozpPdy/ # hello $5$tJF7Fsyd = $5$tJF7Fsyd$8ZCAH8KiDhZCt0QlZO6zgvsu/6Er0c7.cy5T3gLkkl5 # hello $5$WdMnGlC5 = $5$WdMnGlC5$wZappJHbQei7L.zChvogeHiAZ1aZu4IilM2Fna9JEJ/ # hello $5$ZeOMlUCj = $5$ZeOMlUCj$.536DnBPVPtv42k/Zl7ai4Tt5bn3XwCTrFIqg.tJF54 # hello $5$.0//jzIb = $5$.0//jzIb$WTtwGOEhrPGzXDyD5PP3kCGcPV3FyxoZxQvjJmsPbk4 # hello $5$0tmko8dG = $5$0tmko8dG$v/eKzVkb9FzwLkWpTmG/lFvbM7Og.ngElok9MK4La56 # hello $5$7sFy1EN2 = $5$7sFy1EN2$Nmdp7m54wAPTzCOrf9ciUOGzHsZRaHrFEZ.CYKF4MC9 # hello $5$5AQidKke = $5$5AQidKke$bEK4tcPdpR.O.ug2XQluoV4aSbA8jiKydgrUAb5tukD # hello $5$8iVPvtTO = $5$8iVPvtTO$xr4rFeaGise2lA/XUowumCLMDSnOtYTrclerTSJSpB4 t/01-crypt-password.t .. 3/? # hello $5$3zHbPvd. = $5$3zHbPvd.$8cbAXGWyHmy7Bl4OQSlQqCsuGapx8z5hKB4OnbpMn49 # random salts # hello $5$L2398M8S = $5$L2398M8S$PeZ7SiwVSqAaMBZdCc0fcoklrwmZNnz0BjcqnKCKYH2 # hello $5$3sXAfpHP = $5$3sXAfpHP$rLyYL4N2jusDMOOZF6UJY4hlDJ3ncPPvgjpsv89A1P9 # set salts # hello $5$1234abcd = $5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd. # hello $5$1234abcd = $5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd. # pass crypted as salt # etcetc $5$XwNbef4a = $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 # etcetc $5$Os2MuInl = $5$Os2MuInl$R0CZ6r7jCgFv009Ny2cduGcMf4XJ0GCJZ1INR.Xnib. # etcetc $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 = $5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 # Failed test 'hash passed as salt, regenerates the same hash' # at t/01-crypt-password.t line 126. # got: '$5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1' # expected: '$5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1' # cant just pass crypted stuff into check_password # etcetc $5$blahblah = $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 # $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 = $5$blahblah$fc.omQd$hqxFuLMiy5Abu3l1tOsMRAvmCv90mBMKW.ZiA1UulyD # modular special # hello0 $5$7.RWvGSl = $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B # hello0 $5$Egwiays5 = $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA # hello0 $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B = $5$7.RWvGSl$Oa7lOt3$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B # Failed test 'check passed' # at t/01-crypt-password.t line 97. # hello0 $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA = $5$Egwiays5$V.fQOfA$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA # Failed test 'check passed' # at t/01-crypt-password.t line 98. # helu $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B = $5$7.RWvGSl$Oa7lOt3$d.eDC5YqB2idrhPM1jNGELp1Oa25.7RJGjfQTsrkED8 # modular special argumentative # password $5$salt = $5$salt$Gcm6FsVtF/Qa77ZKD.iwsJlCVPY0XSMgLJL0Hnww/c1 # password $1$ = $1$$I2o9Z7NcvQAKp7wyCTlia0 # password $6$/rLPbeWV = $6$/rLPbeWV$YzXgGunbe8SAK6lAGM9Ecz/kDBp1sr0fzQ6RkiURVYqB9F3KlUKhgB53llVx RU3LqbWpZam/7zI7.akGAiqcl. # modular special embodiment # $5$%RK2BU%L$aFZd1/4Gpko/sJZ8Oh.ZHg9UvxCjkH1YYoLZI6tw7K8 $5$OqhIFVPd = $5$OqhIFVPd$XsfKTfZ98XYNje0WvfeWjACdlCP7dF7R7VJ4PH2LMx9 # experimenting in extended with freesec... # extended special # 007 _blahblah = $_b$zqZtvoP.TMI # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts # 007 _blahblah = $_b$zqZtvoP.TMI # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts # 007 _blahblah = $_b$zqZtvoP.TMI # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts # 007 _BLAHblah = $_B$HwN6C6VZGoI # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with different salt # 007 _BLAHblah = $_B$HwN6C6VZGoI # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with different salt # 007 _BLAHblah = $_B$HwN6C6VZGoI # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with different salt # 123 _12341234 = $_1$f2NoTU7bAAQ # '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with _ # 123 _12341234 = $_1$f2NoTU7bAAQ # '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with _ # a cc = $cc$IxmriBVsviU # a cc = $cc$IxmriBVsviU # a cc = $cc$IxmriBVsviU # hello0 _DADAdada = $_D$i9zFpRrcF/c # ok FAIL check_password # hello1 _DADAdada = $_D$eYEW/pSsykY # hello0 _zzzzzzzz = $_z$UEwGGpBwi6g # remake some known crypts # ambiente _12345555 = $_1$n4lOMa1oImE # '$_1$n4lOMa1oImE' eq '$_12345555$V4oENXvTMYk' FAIL test ambiente salt=8 # ambiente gi = $gi$CZewZaJV4pk # lampshade _12345555 = $_1$ji7IGBPetkw # '$_1$ji7IGBPetkw' eq '$_12345555$JacsOKd1xTo' FAIL test lampshade salt=8 # lampshade gi = $gi$zi7R25ah3Zw # guitar _12345555 = $_1$OTPuu27USFQ # '$_1$OTPuu27USFQ' eq '$_12345555$2yFp.wqJEF.' FAIL test guitar salt=8 # guitar gi = $gi$4tl8fx6Anh. # various salt inputs # a _bbbbbbbb = $_b$tA1XKx5mNoc # '$_b$tA1XKx5mNoc' eq '$_bbbbbbbb$DJEHexiq9NI' FAIL salt=8 crypt # Looks like you failed 3 tests of 19. t/01-crypt-password.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/19 subtests t/90-pod-syntax.t ...... skipped: set TEST_POD or TEST_ALL to enable this test t/92-license.t ......... skipped: set TEST_LICENSE or TEST_ALL to enable this test t/93-perltidy.t ........ skipped: set TEST_TIDY or TEST_ALL to enable this test Test Summary Report ------------------- t/01-crypt-password.t (Wstat: 768 Tests: 19 Failed: 3) Failed tests: 7, 12-13 Non-zero exit status: 3 Files=4, Tests=19, 3 wallclock secs ( 0.18 usr 0.12 sys + 1.62 cusr 0.28 csys = 2.20 CPU) Result: FAIL Failed 1/4 test programs. 3/19 subtests failed. make: *** [test_dynamic] Error 255
Subject: Re: [rt.cpan.org #75004] Fails tests on Solaris 10 using gcc 3.4.2
Date: Wed, 15 Feb 2012 19:46:10 +1300
To: bug-Crypt-Password [...] rt.cpan.org
From: Steevo Wymzelico <nostrasteve [...] gmail.com>
Aha, looks like solaris eats 16 characters in a row, even if it's into the hash part of the crypted. I have pushed a fix to mangle the crypted before passing it in. Apologies for not getting around to them failing tests, I've been at art school etc, but it turned out to be a an easy one. On Wed, Feb 15, 2012 at 6:55 AM, https://www.google.com/accounts/o8/id?id=AItOawm2DfX3fm5V-tobUuHSmymiqa3nsT8zbZIvia RT <bug-Crypt-Password@rt.cpan.org> wrote: Show quoted text
> Tue Feb 14 12:55:50 2012: Request 75004 was acted upon. > Transaction: Ticket created by > https://www.google.com/accounts/o8/id?id=AItOawm2DfX3fm5V-tobUuHSmymiqa3nsT8zbZI > Queue: Crypt-Password > Subject: Fails tests on Solaris 10 using gcc 3.4.2 > Broken in: 0.25 > Severity: Critical > Owner: Nobody > Requestors: kpires@csc.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75004 > > > > I'm using gcc 3.4.2 to build Crypt::Password on Solaris 10 with Perl > 5.14.2 and receiving the test errors shown below. I noticed that all > Solaris (10 or 11) compiles (and several other OS builds and versions of > Perl) have this problem, but on other systems this test is reporting > success instead of fail. Is there a problem with the test? > > ======== > > 18: /CSC/3rd_party/perl/bin/perl Makefile.PL > Writing Makefile for Crypt::Password > Writing MYMETA.yml and MYMETA.json > > 19: make > cp lib/Crypt/Password.pm blib/lib/Crypt/Password.pm > Manifying blib/man3/Crypt::Password.3 > > 20: make test > PERL_DL_NONLAZY=1 /CSC/3rd_party/perl/bin/perl "-MExtUtils::Command::MM" > "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/01-crypt-password.t .. Name "Crypt::Password::TESTMODE" used only > once: possible typo at t/01-crypt-password.t line 9. > Reformatting page. Please Wait... done > t/01-crypt-password.t .. 1/? # testing Crypt::Password > (crypt_flav='glib') > # os is 'solaris' > Reformatting page. Please Wait... done > # bottom line of man crypt: ' ' > # generate salt > # hello $5$G7UCXR3l = > $5$G7UCXR3l$JaVg5astlnodDI9tkD8OjahQezXSkcxaIwNkVpxY2H3 > # hello $5$n6.7JGoa = > $5$n6.7JGoa$JlzMDn1UCOr5VxOLCjONcUI3DG5ujNmr.QiFt04Ya4C > # hello $5$lkxNG22T = > $5$lkxNG22T$TArWJnSpwYakExn..R4tmTDUTpc5CtCoGEmoFTn9vO/ > # hello $5$WDz7OIVt = > $5$WDz7OIVt$ypJMETI8sAvyuGJw4OAIt2OT2EMZrhPy1skc0CU3Mk. > # hello $5$lWbMOMBx = > $5$lWbMOMBx$qMtjZmeRA3BtGW1EHLXK7AA.TtwmtVw/srgzumUWPu4 > # hello $5$6iKuok6E = > $5$6iKuok6E$kpcnffSTmJ0gmHU5N3J8JDNI4LNFHLEuHkyCS04Vis9 > # hello $5$5Iyibqhe = > $5$5Iyibqhe$ZMeV5h9XijKLA7FBRMZEyvR6Gv/4WzTd/cZyswDLSD4 > # hello $5$uBDhKNFE = > $5$uBDhKNFE$N1cG0p2i4auQEM946eZhx7sRFC3ntA84S0HoLjJu2qB > # hello $5$TUHB/IS5 = > $5$TUHB/IS5$YILmIqfZ8oIS4Xb7kHBgqpJKHHGcG9p4yUiItWvWeD7 > # hello $5$0wnrgRff = > $5$0wnrgRff$.wNxI0p5MA0aI1IiDemm/7JsyCiIjD3y48pRayos.c5 > # hello $5$DhuB1RqG = > $5$DhuB1RqG$1e77ujE9QvQI49Ud5qZV/sLj6lVXVwrbWsISozpPdy/ > # hello $5$tJF7Fsyd = > $5$tJF7Fsyd$8ZCAH8KiDhZCt0QlZO6zgvsu/6Er0c7.cy5T3gLkkl5 > # hello $5$WdMnGlC5 = > $5$WdMnGlC5$wZappJHbQei7L.zChvogeHiAZ1aZu4IilM2Fna9JEJ/ > # hello $5$ZeOMlUCj = > $5$ZeOMlUCj$.536DnBPVPtv42k/Zl7ai4Tt5bn3XwCTrFIqg.tJF54 > # hello $5$.0//jzIb = > $5$.0//jzIb$WTtwGOEhrPGzXDyD5PP3kCGcPV3FyxoZxQvjJmsPbk4 > # hello $5$0tmko8dG = > $5$0tmko8dG$v/eKzVkb9FzwLkWpTmG/lFvbM7Og.ngElok9MK4La56 > # hello $5$7sFy1EN2 = > $5$7sFy1EN2$Nmdp7m54wAPTzCOrf9ciUOGzHsZRaHrFEZ.CYKF4MC9 > # hello $5$5AQidKke = > $5$5AQidKke$bEK4tcPdpR.O.ug2XQluoV4aSbA8jiKydgrUAb5tukD > # hello $5$8iVPvtTO = > $5$8iVPvtTO$xr4rFeaGise2lA/XUowumCLMDSnOtYTrclerTSJSpB4 > t/01-crypt-password.t .. 3/? # hello $5$3zHbPvd. = > $5$3zHbPvd.$8cbAXGWyHmy7Bl4OQSlQqCsuGapx8z5hKB4OnbpMn49 > # random salts > # hello $5$L2398M8S = > $5$L2398M8S$PeZ7SiwVSqAaMBZdCc0fcoklrwmZNnz0BjcqnKCKYH2 > # hello $5$3sXAfpHP = > $5$3sXAfpHP$rLyYL4N2jusDMOOZF6UJY4hlDJ3ncPPvgjpsv89A1P9 > # set salts > # hello $5$1234abcd = > $5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd. > # hello $5$1234abcd = > $5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd. > # pass crypted as salt > # etcetc $5$XwNbef4a = > $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 > # etcetc $5$Os2MuInl = > $5$Os2MuInl$R0CZ6r7jCgFv009Ny2cduGcMf4XJ0GCJZ1INR.Xnib. > # etcetc $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 = > $5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 > > # Failed test 'hash passed as salt, regenerates the same hash' > # at t/01-crypt-password.t line 126. > # got: > '$5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1' > # expected: > '$5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1' > # cant just pass crypted stuff into check_password > # etcetc $5$blahblah = > $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 > # $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 > $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 = > $5$blahblah$fc.omQd$hqxFuLMiy5Abu3l1tOsMRAvmCv90mBMKW.ZiA1UulyD > # modular special > # hello0 $5$7.RWvGSl = > $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B > # hello0 $5$Egwiays5 = > $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA > # hello0 $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B = > $5$7.RWvGSl$Oa7lOt3$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B > > # Failed test 'check passed' > # at t/01-crypt-password.t line 97. > # hello0 $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA = > $5$Egwiays5$V.fQOfA$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA > > # Failed test 'check passed' > # at t/01-crypt-password.t line 98. > # helu $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B = > $5$7.RWvGSl$Oa7lOt3$d.eDC5YqB2idrhPM1jNGELp1Oa25.7RJGjfQTsrkED8 > # modular special argumentative > # password $5$salt = $5$salt$Gcm6FsVtF/Qa77ZKD.iwsJlCVPY0XSMgLJL0Hnww/c1 > # password $1$ = $1$$I2o9Z7NcvQAKp7wyCTlia0 > # password $6$/rLPbeWV = > $6$/rLPbeWV$YzXgGunbe8SAK6lAGM9Ecz/kDBp1sr0fzQ6RkiURVYqB9F3KlUKhgB53llVx > RU3LqbWpZam/7zI7.akGAiqcl. > # modular special embodiment > # $5$%RK2BU%L$aFZd1/4Gpko/sJZ8Oh.ZHg9UvxCjkH1YYoLZI6tw7K8 $5$OqhIFVPd = > $5$OqhIFVPd$XsfKTfZ98XYNje0WvfeWjACdlCP7dF7R7VJ4PH2LMx9 > # experimenting in extended with freesec... > # extended special > # 007 _blahblah = $_b$zqZtvoP.TMI > # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts > # 007 _blahblah = $_b$zqZtvoP.TMI > # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts > # 007 _blahblah = $_b$zqZtvoP.TMI > # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts > # 007 _BLAHblah = $_B$HwN6C6VZGoI > # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with > different salt > # 007 _BLAHblah = $_B$HwN6C6VZGoI > # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with > different salt > # 007 _BLAHblah = $_B$HwN6C6VZGoI > # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with > different salt > # 123 _12341234 = $_1$f2NoTU7bAAQ > # '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with > _ > # 123 _12341234 = $_1$f2NoTU7bAAQ > # '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with > _ > # a cc = $cc$IxmriBVsviU > # a cc = $cc$IxmriBVsviU > # a cc = $cc$IxmriBVsviU > # hello0 _DADAdada = $_D$i9zFpRrcF/c > # ok FAIL check_password > # hello1 _DADAdada = $_D$eYEW/pSsykY > # hello0 _zzzzzzzz = $_z$UEwGGpBwi6g > # remake some known crypts > # ambiente _12345555 = $_1$n4lOMa1oImE > # '$_1$n4lOMa1oImE' eq '$_12345555$V4oENXvTMYk' FAIL test ambiente > salt=8 > # ambiente gi = $gi$CZewZaJV4pk > # lampshade _12345555 = $_1$ji7IGBPetkw > # '$_1$ji7IGBPetkw' eq '$_12345555$JacsOKd1xTo' FAIL test lampshade > salt=8 > # lampshade gi = $gi$zi7R25ah3Zw > # guitar _12345555 = $_1$OTPuu27USFQ > # '$_1$OTPuu27USFQ' eq '$_12345555$2yFp.wqJEF.' FAIL test guitar salt=8 > # guitar gi = $gi$4tl8fx6Anh. > # various salt inputs > # a _bbbbbbbb = $_b$tA1XKx5mNoc > # '$_b$tA1XKx5mNoc' eq '$_bbbbbbbb$DJEHexiq9NI' FAIL salt=8 crypt > # Looks like you failed 3 tests of 19. > t/01-crypt-password.t .. Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/19 subtests > t/90-pod-syntax.t ...... skipped: set TEST_POD or TEST_ALL to enable > this test > t/92-license.t ......... skipped: set TEST_LICENSE or TEST_ALL to enable > this test > t/93-perltidy.t ........ skipped: set TEST_TIDY or TEST_ALL to enable > this test > > Test Summary Report > ------------------- > t/01-crypt-password.t (Wstat: 768 Tests: 19 Failed: 3) > Failed tests: 7, 12-13 > Non-zero exit status: 3 > Files=4, Tests=19, 3 wallclock secs ( 0.18 usr 0.12 sys + 1.62 cusr > 0.28 csys = 2.20 CPU) > Result: FAIL > Failed 1/4 test programs. 3/19 subtests failed. > make: *** [test_dynamic] Error 255 > >
Subject: Re: [rt.cpan.org #75004] Fails tests on Solaris 10 using gcc 3.4.2
Date: Thu, 16 Feb 2012 11:51:20 -0800
To: bug-Crypt-Password [...] rt.cpan.org
From: Kurt J Pires <kpires [...] csc.com>
Excellent! Thank you. If you need any help testing this fix on Solaris 10 (or 8, 9 and 11), just send me the package. I also have access to AIX 5.3 and AIX 6.1 (as well as CentOS, RHEL and FreeBSD, but you probably have access to those). KURT PIRES CheckVision I&T CSC 1111 Broadway, 13th Floor, Oakland, CA 94607 Financial Services Sector | office 510.645.3061 | fax 510.465.3141 | kpires@csc.com | www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From: "Steve Eirium via RT" <bug-Crypt-Password@rt.cpan.org> To: Kurt J Pires/USA/CSC@CSC Date: 02/14/2012 10:46 PM Subject: Re: [rt.cpan.org #75004] Fails tests on Solaris 10 using gcc 3.4.2 <URL: https://rt.cpan.org/Ticket/Display.html?id=75004 > Aha, looks like solaris eats 16 characters in a row, even if it's into the hash part of the crypted. I have pushed a fix to mangle the crypted before passing it in. Apologies for not getting around to them failing tests, I've been at art school etc, but it turned out to be a an easy one. On Wed, Feb 15, 2012 at 6:55 AM, https://www.google.com/accounts/o8/id?id=AItOawm2DfX3fm5V-tobUuHSmymiqa3nsT8zbZIvia RT <bug-Crypt-Password@rt.cpan.org> wrote: Show quoted text
> Tue Feb 14 12:55:50 2012: Request 75004 was acted upon. > Transaction: Ticket created by >
https://www.google.com/accounts/o8/id?id=AItOawm2DfX3fm5V-tobUuHSmymiqa3nsT8zbZI Show quoted text
> Queue: Crypt-Password > Subject: Fails tests on Solaris 10 using gcc 3.4.2 > Broken in: 0.25 > Severity: Critical > Owner: Nobody > Requestors: kpires@csc.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75004 > > > > I'm using gcc 3.4.2 to build Crypt::Password on Solaris 10 with Perl > 5.14.2 and receiving the test errors shown below. I noticed that all > Solaris (10 or 11) compiles (and several other OS builds and versions of > Perl) have this problem, but on other systems this test is reporting > success instead of fail. Is there a problem with the test? > > ======== > > 18: /CSC/3rd_party/perl/bin/perl Makefile.PL > Writing Makefile for Crypt::Password > Writing MYMETA.yml and MYMETA.json > > 19: make > cp lib/Crypt/Password.pm blib/lib/Crypt/Password.pm > Manifying blib/man3/Crypt::Password.3 > > 20: make test > PERL_DL_NONLAZY=1 /CSC/3rd_party/perl/bin/perl "-MExtUtils::Command::MM" > "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/01-crypt-password.t .. Name "Crypt::Password::TESTMODE" used only > once: possible typo at t/01-crypt-password.t line 9. > Reformatting page. Please Wait... done > t/01-crypt-password.t .. 1/? # testing Crypt::Password > (crypt_flav='glib') > # os is 'solaris' > Reformatting page. Please Wait... done > # bottom line of man crypt: ' ' > # generate salt > # hello $5$G7UCXR3l = > $5$G7UCXR3l$JaVg5astlnodDI9tkD8OjahQezXSkcxaIwNkVpxY2H3 > # hello $5$n6.7JGoa = > $5$n6.7JGoa$JlzMDn1UCOr5VxOLCjONcUI3DG5ujNmr.QiFt04Ya4C > # hello $5$lkxNG22T = > $5$lkxNG22T$TArWJnSpwYakExn..R4tmTDUTpc5CtCoGEmoFTn9vO/ > # hello $5$WDz7OIVt = > $5$WDz7OIVt$ypJMETI8sAvyuGJw4OAIt2OT2EMZrhPy1skc0CU3Mk. > # hello $5$lWbMOMBx = > $5$lWbMOMBx$qMtjZmeRA3BtGW1EHLXK7AA.TtwmtVw/srgzumUWPu4 > # hello $5$6iKuok6E = > $5$6iKuok6E$kpcnffSTmJ0gmHU5N3J8JDNI4LNFHLEuHkyCS04Vis9 > # hello $5$5Iyibqhe = > $5$5Iyibqhe$ZMeV5h9XijKLA7FBRMZEyvR6Gv/4WzTd/cZyswDLSD4 > # hello $5$uBDhKNFE = > $5$uBDhKNFE$N1cG0p2i4auQEM946eZhx7sRFC3ntA84S0HoLjJu2qB > # hello $5$TUHB/IS5 = > $5$TUHB/IS5$YILmIqfZ8oIS4Xb7kHBgqpJKHHGcG9p4yUiItWvWeD7 > # hello $5$0wnrgRff = > $5$0wnrgRff$.wNxI0p5MA0aI1IiDemm/7JsyCiIjD3y48pRayos.c5 > # hello $5$DhuB1RqG = > $5$DhuB1RqG$1e77ujE9QvQI49Ud5qZV/sLj6lVXVwrbWsISozpPdy/ > # hello $5$tJF7Fsyd = > $5$tJF7Fsyd$8ZCAH8KiDhZCt0QlZO6zgvsu/6Er0c7.cy5T3gLkkl5 > # hello $5$WdMnGlC5 = > $5$WdMnGlC5$wZappJHbQei7L.zChvogeHiAZ1aZu4IilM2Fna9JEJ/ > # hello $5$ZeOMlUCj = > $5$ZeOMlUCj$.536DnBPVPtv42k/Zl7ai4Tt5bn3XwCTrFIqg.tJF54 > # hello $5$.0//jzIb = > $5$.0//jzIb$WTtwGOEhrPGzXDyD5PP3kCGcPV3FyxoZxQvjJmsPbk4 > # hello $5$0tmko8dG = > $5$0tmko8dG$v/eKzVkb9FzwLkWpTmG/lFvbM7Og.ngElok9MK4La56 > # hello $5$7sFy1EN2 = > $5$7sFy1EN2$Nmdp7m54wAPTzCOrf9ciUOGzHsZRaHrFEZ.CYKF4MC9 > # hello $5$5AQidKke = > $5$5AQidKke$bEK4tcPdpR.O.ug2XQluoV4aSbA8jiKydgrUAb5tukD > # hello $5$8iVPvtTO = > $5$8iVPvtTO$xr4rFeaGise2lA/XUowumCLMDSnOtYTrclerTSJSpB4 > t/01-crypt-password.t .. 3/? # hello $5$3zHbPvd. = > $5$3zHbPvd.$8cbAXGWyHmy7Bl4OQSlQqCsuGapx8z5hKB4OnbpMn49 > # random salts > # hello $5$L2398M8S = > $5$L2398M8S$PeZ7SiwVSqAaMBZdCc0fcoklrwmZNnz0BjcqnKCKYH2 > # hello $5$3sXAfpHP = > $5$3sXAfpHP$rLyYL4N2jusDMOOZF6UJY4hlDJ3ncPPvgjpsv89A1P9 > # set salts > # hello $5$1234abcd = > $5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd. > # hello $5$1234abcd = > $5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd. > # pass crypted as salt > # etcetc $5$XwNbef4a = > $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 > # etcetc $5$Os2MuInl = > $5$Os2MuInl$R0CZ6r7jCgFv009Ny2cduGcMf4XJ0GCJZ1INR.Xnib. > # etcetc $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 = > $5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 > > # Failed test 'hash passed as salt, regenerates the same hash' > # at t/01-crypt-password.t line 126. > # got: > '$5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1' > # expected: > '$5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1' > # cant just pass crypted stuff into check_password > # etcetc $5$blahblah = > $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 > # $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 > $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 = > $5$blahblah$fc.omQd$hqxFuLMiy5Abu3l1tOsMRAvmCv90mBMKW.ZiA1UulyD > # modular special > # hello0 $5$7.RWvGSl = > $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B > # hello0 $5$Egwiays5 = > $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA > # hello0 $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B = > $5$7.RWvGSl$Oa7lOt3$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B > > # Failed test 'check passed' > # at t/01-crypt-password.t line 97. > # hello0 $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA = > $5$Egwiays5$V.fQOfA$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA > > # Failed test 'check passed' > # at t/01-crypt-password.t line 98. > # helu $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B = > $5$7.RWvGSl$Oa7lOt3$d.eDC5YqB2idrhPM1jNGELp1Oa25.7RJGjfQTsrkED8 > # modular special argumentative > # password $5$salt = $5$salt$Gcm6FsVtF/Qa77ZKD.iwsJlCVPY0XSMgLJL0Hnww/c1 > # password $1$ = $1$$I2o9Z7NcvQAKp7wyCTlia0 > # password $6$/rLPbeWV = > $6$/rLPbeWV$YzXgGunbe8SAK6lAGM9Ecz/kDBp1sr0fzQ6RkiURVYqB9F3KlUKhgB53llVx > RU3LqbWpZam/7zI7.akGAiqcl. > # modular special embodiment > # $5$%RK2BU%L$aFZd1/4Gpko/sJZ8Oh.ZHg9UvxCjkH1YYoLZI6tw7K8 $5$OqhIFVPd = > $5$OqhIFVPd$XsfKTfZ98XYNje0WvfeWjACdlCP7dF7R7VJ4PH2LMx9 > # experimenting in extended with freesec... > # extended special > # 007 _blahblah = $_b$zqZtvoP.TMI > # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts > # 007 _blahblah = $_b$zqZtvoP.TMI > # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts > # 007 _blahblah = $_b$zqZtvoP.TMI > # '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts > # 007 _BLAHblah = $_B$HwN6C6VZGoI > # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with > different salt > # 007 _BLAHblah = $_B$HwN6C6VZGoI > # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with > different salt > # 007 _BLAHblah = $_B$HwN6C6VZGoI > # '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with > different salt > # 123 _12341234 = $_1$f2NoTU7bAAQ > # '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with > _ > # 123 _12341234 = $_1$f2NoTU7bAAQ > # '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with > _ > # a cc = $cc$IxmriBVsviU > # a cc = $cc$IxmriBVsviU > # a cc = $cc$IxmriBVsviU > # hello0 _DADAdada = $_D$i9zFpRrcF/c > # ok FAIL check_password > # hello1 _DADAdada = $_D$eYEW/pSsykY > # hello0 _zzzzzzzz = $_z$UEwGGpBwi6g > # remake some known crypts > # ambiente _12345555 = $_1$n4lOMa1oImE > # '$_1$n4lOMa1oImE' eq '$_12345555$V4oENXvTMYk' FAIL test ambiente > salt=8 > # ambiente gi = $gi$CZewZaJV4pk > # lampshade _12345555 = $_1$ji7IGBPetkw > # '$_1$ji7IGBPetkw' eq '$_12345555$JacsOKd1xTo' FAIL test lampshade > salt=8 > # lampshade gi = $gi$zi7R25ah3Zw > # guitar _12345555 = $_1$OTPuu27USFQ > # '$_1$OTPuu27USFQ' eq '$_12345555$2yFp.wqJEF.' FAIL test guitar salt=8 > # guitar gi = $gi$4tl8fx6Anh. > # various salt inputs > # a _bbbbbbbb = $_b$tA1XKx5mNoc > # '$_b$tA1XKx5mNoc' eq '$_bbbbbbbb$DJEHexiq9NI' FAIL salt=8 crypt > # Looks like you failed 3 tests of 19. > t/01-crypt-password.t .. Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/19 subtests > t/90-pod-syntax.t ...... skipped: set TEST_POD or TEST_ALL to enable > this test > t/92-license.t ......... skipped: set TEST_LICENSE or TEST_ALL to enable > this test > t/93-perltidy.t ........ skipped: set TEST_TIDY or TEST_ALL to enable > this test > > Test Summary Report > ------------------- > t/01-crypt-password.t (Wstat: 768 Tests: 19 Failed: 3) > Failed tests: 7, 12-13 > Non-zero exit status: 3 > Files=4, Tests=19, 3 wallclock secs ( 0.18 usr 0.12 sys + 1.62 cusr > 0.28 csys = 2.20 CPU) > Result: FAIL > Failed 1/4 test programs. 3/19 subtests failed. > make: *** [test_dynamic] Error 255 > >

Message body is not shown because it is too large.