Restore password bug

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
6/14/2007 1:37:21 AM
Gravatar
Total Posts 18

Restore password bug

You've asked me to put linux bug reports here. Here they are:

  1. When I pressed "Restore password" link, I saw one edit box and one button without any labels.
  2. After that button pressed, some text with instructions appeared.
  3. After I put my e-mail and pressed that misterious unlabeled button, Exception was thrown. Here its text:

===========================================

Server Error in '/' Application
Bad PKCS7 padding. Invalid length 166.

Description: Error processing request.

Error Message: HTTP 500. System.Security.Cryptography.CryptographicException: Bad PKCS7 padding. Invalid length 166.

Stack Trace:

System.Security.Cryptography.CryptographicException: Bad PKCS7 padding. Invalid length 166.
at Mono.Security.Cryptography.SymmetricTransform.ThrowBadPaddingException (PaddingMode padding, Int32 length, Int32 position) [0x00000]
at Mono.Security.Cryptography.SymmetricTransform.FinalDecrypt (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) [0x00000]
at Mono.Security.Cryptography.SymmetricTransform.TransformFinalBlock (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) [0x00000]
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) [0x00000]
at System.Web.Security.MembershipProvider.DecryptPassword (System.Byte[] encodedPassword) [0x00000]
at mojoPortal.Web.mojoMembershipProvider.DecryptPassword (System.Byte[] encodedPassword) [0x00000]
at mojoPortal.Web.mojoMembershipProvider.UnEncodePassword (System.String pass, MembershipPasswordFormat passwordFormat) [0x00000]
at mojoPortal.Web.mojoMembershipProvider.GetPassword (System.String userName, System.String passwordAnswer) [0x00000]
at System.Web.UI.WebControls.PasswordRecovery.ProcessUserAnswer () [0x00000]
at System.Web.UI.WebControls.PasswordRecovery.ProcessCommand (System.Web.UI.WebControls.CommandEventArgs args) [0x00000]
at System.Web.UI.WebControls.PasswordRecovery.OnBubbleEvent (System.Object source, System.EventArgs e) [0x00000]
at System.Web.UI.Control.RaiseBubbleEvent (System.Object source, System.EventArgs args) [0x00000]
at System.Web.UI.WebControls.Button.OnCommand (System.Web.UI.WebControls.CommandEventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]

14.06.2007 6:27:22

===========================================

My portal is set up to store passwords in encripted (not hashed!) format. Preferred language -- Russian. Version 2.2.2.8 "pgsqlrelease for mono" with MySQL data layer installed.

CarGa.

6/14/2007 6:09:35 PM
Gravatar
Total Posts 18439

Re: Restore password bug

I confirm these bugs.

RecoverPassword not populating button text and not showing all the instruction text. I'm sure this one is a Mono bug.

I also get the CryptoGraphicException using MySql.

I will investigate these and report them and try to find workarounds.

Joe

8/12/2007 10:46:09 AM
Gravatar
Total Posts 18439

Re: Restore password bug

I have reported the button text problem here:

http://bugzilla.ximian.com/show_bug.cgi?id=82418

Joe

You must sign in to post in the forums. This thread is closed to new posts.