Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…notification.
  • 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
View
1  CHANGELOG.TXT
@@ -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
View
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.