My company had begun using the LastPass integrated authentication. It was working perfectly up until sometime today. It was working this morning but now whenever we try to use the integrated authentication, we get the following error message. We've verified the credentials used to access the LastPass DB are valid. Any help is much appreciated.
CryptographicException - Padding is invalid and cannot be removed.
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Stream.Dispose()
at LastPassManagement.ParserHelper.DecryptAes256(Byte[] data, Byte[] encryptionKey, CipherMode mode, Byte[] iv)
at LastPassManagement.ParserHelper.DecryptAes256(Byte[] data, Byte[] encryptionKey)
at LastPassManagement.ParserHelper.<>c__DisplayClass5.<Parse_ACCT>b__1(BinaryReader reader)
at LastPassManagement.ParserHelper.WithBytes[TResult](Byte[] bytes, Func`2 action)
at LastPassManagement.ParserHelper.Parse_ACCT(Chunk chunk, Byte[] encryptionKey, SharedFolder folder)
at LastPassManagement.Vault.<>c__DisplayClass3.<.ctor>b__0(BinaryReader reader)
at LastPassManagement.ParserHelper.<>c__DisplayClass1e.<WithBytes>b__1d(BinaryReader reader)
at LastPassManagement.ParserHelper.WithBytes[TResult](Byte[] bytes, Func`2 action)
at LastPassManagement.ParserHelper.WithBytes(Byte[] bytes, Action`1 action)
at LastPassManagement.Vault..ctor(Blob blob, Byte[] encryptionKey)
at LastPassManagement.Vault.Create(String username, String password, String mobilePortalUUID, String multifactorPassword)
at Devolutions.RemoteDesktopManager.Managers.LastPassManager.ProcessWithoutTwoFactor(CredentialsConnection credentialsConnection)
at Devolutions.RemoteDesktopManager.Managers.LastPassManager.GetVault(CredentialsConnection credentialsConnection)
at Devolutions.RemoteDesktopManager.Managers.LastPassManager.Init(CredentialsConnection credentialsConnection)
at Devolutions.RemoteDesktopManager.Frames.CredentialSettings.FreCredentialResolverLastPassSettings.InitVault()
at Devolutions.RemoteDesktopManager.Frames.CredentialSettings.FreCredentialResolverLastPassSettings.butBrowse_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
CryptographicException - Padding is invalid and cannot be removed.
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Stream.Dispose()
at LastPassManagement.ParserHelper.DecryptAes256(Byte[] data, Byte[] encryptionKey, CipherMode mode, Byte[] iv)
at LastPassManagement.ParserHelper.DecryptAes256(Byte[] data, Byte[] encryptionKey)
at LastPassManagement.ParserHelper.<>c__DisplayClass5.<Parse_ACCT>b__1(BinaryReader reader)
at LastPassManagement.ParserHelper.WithBytes[TResult](Byte[] bytes, Func`2 action)
at LastPassManagement.ParserHelper.Parse_ACCT(Chunk chunk, Byte[] encryptionKey, SharedFolder folder)
at LastPassManagement.Vault.<>c__DisplayClass3.<.ctor>b__0(BinaryReader reader)
at LastPassManagement.ParserHelper.<>c__DisplayClass1e.<WithBytes>b__1d(BinaryReader reader)
at LastPassManagement.ParserHelper.WithBytes[TResult](Byte[] bytes, Func`2 action)
at LastPassManagement.ParserHelper.WithBytes(Byte[] bytes, Action`1 action)
at LastPassManagement.Vault..ctor(Blob blob, Byte[] encryptionKey)
at LastPassManagement.Vault.Create(String username, String password, String mobilePortalUUID, String multifactorPassword)
at Devolutions.RemoteDesktopManager.Managers.LastPassManager.ProcessWithoutTwoFactor(CredentialsConnection credentialsConnection)
at Devolutions.RemoteDesktopManager.Managers.LastPassManager.GetVault(CredentialsConnection credentialsConnection)
at Devolutions.RemoteDesktopManager.Managers.LastPassManager.Init(CredentialsConnection credentialsConnection)
at Devolutions.RemoteDesktopManager.Frames.CredentialSettings.FreCredentialResolverLastPassSettings.InitVault()
at Devolutions.RemoteDesktopManager.Frames.CredentialSettings.FreCredentialResolverLastPassSettings.butBrowse_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)