Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed "Decryption failed. Padding is invalid and cannot be removed." …

  • Loading branch information...
commit 8cce811ce5d8ea32e807cb3a84c333500432d3f7 1 parent adb45ce
@rmcardle authored
Showing with 5 additions and 1 deletion.
  1. +1 −0  CHANGELOG.TXT
  2. +4 −1 mRemoteV1/Security/Security.Crypt.vb
@@ -4,6 +4,7 @@
Fix issue MR-318 - Wrong tab gets selected when tab names overflow on the tab bar
Fix issue MR-321 - New connection panel doesn't get panel header if its the only one or is moved
Added option to always show panel tabs
+ Fixed "Decryption failed. Padding is invalid and cannot be removed." notification.
1.70 Beta 2 (2013-02-18):
Fix issue MR-47 - Silent Installation Prompts for Language
5 mRemoteV1/Security/Security.Crypt.vb
@@ -74,7 +74,10 @@ Namespace Security
Return System.Text.Encoding.UTF8.GetString(data, 0, i)
Catch ex As Exception
- MessageCollector.AddMessage(Messages.MessageClass.ErrorMsg, String.Format(My.Language.strErrorDecryptionFailed, ex.Message))
+ ' Ignore CryptographicException "Padding is invalid and cannot be removed." when password is incorrect.
+ If Not TypeOf ex Is CryptographicException Then
+ MessageCollector.AddMessage(Messages.MessageClass.ErrorMsg, String.Format(My.Language.strErrorDecryptionFailed, ex.Message))
+ End If
End Try
Return StrToDecrypt
Please sign in to comment.
Something went wrong with that request. Please try again.