[Mono-bugs] [Bug 538406] Bad PKCS7 padding exception is thrown when trying to login or recover password under ASP.NET using encrypted passwords and AspSQLProvider.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 11 13:11:34 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=538406

User spouliot at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=538406#c6


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mhabersack at novell.com       |spouliot at novell.com




--- Comment #6 from Sebastien Pouliot <spouliot at novell.com>  2009-09-11 11:11:34 MDT ---
wrt comment #4 this is expected - the last block is the one that is padded (to
block size) so its normal that the first part (complete, unpadded) block is ok

wrt comment #5 (and like I already told you and Daniel separately) this is
likely the best[1] solution for *any* provider. Since Mono and MS uses a
different algorithm it means depending on the base class (protected methods) to
encrypt/decrypt is a bad idea[2] in any case.

[1] sadly incompatible with earlier versions (not that earlier version works
with mono ;-)

[2] because you can't mix MS and Mono servers using the same DB, nor can you
upgrade to Mono (or downgrade to MS ;-) without resetting every members
password

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list