Adding an Bitwarden entry results in the following error message: "Unable to retrieve Bitwarden credentials!"
RDM version: 14.1.0.0. RDM log entry:
Devolutions.BitwardenManagement.ClientException: Decryption failed ---> System.Security.Cryptography.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 A.c14c640202294b47b9fc1f504f711c9c8.c0c5f6d8def7921f4d43601ad370a1c4b(Byte[] c78abdea59c706bba55425e574fe5e167, Byte[] cfc2303882919b4e87539c56808e7283a, Byte[] cd8a0778a3399215c5b6a993e0e0d0600) --- End of inner exception stack trace --- at A.c14c640202294b47b9fc1f504f711c9c8.c0c5f6d8def7921f4d43601ad370a1c4b(Byte[] c78abdea59c706bba55425e574fe5e167, Byte[] cfc2303882919b4e87539c56808e7283a, Byte[] cd8a0778a3399215c5b6a993e0e0d0600) at A.c5b1df15f4540c7f0a07f792e5ec69829.cc5570139905dbfbb52f67486b37e7f7d(Byte[] cd8a0778a3399215c5b6a993e0e0d0600) at A.c5b1df15f4540c7f0a07f792e5ec69829.cbf53436a17b5cc39a8793189055eaf64(Byte[] cd8a0778a3399215c5b6a993e0e0d0600) at A.c0c9b4376a95c83cda5c8aaa674f0a770.ce7f413198261915d84779c3b03e59d02(String c3c52eaff7cf03934e02176c9f0e01f66, Byte[] cd8a0778a3399215c5b6a993e0e0d0600) at A.c0c9b4376a95c83cda5c8aaa674f0a770.c043c569f7c6ac566ab6733a9e1f76df1(String c3c52eaff7cf03934e02176c9f0e01f66, Byte[] cd8a0778a3399215c5b6a993e0e0d0600) at A.c0c9b4376a95c83cda5c8aaa674f0a770.c334304e6edccc81b2c92d5c1a88fdbfc(Item c1f7aeb8324e90a6d1f0749d0d3b34cee, Byte[] cd8a0778a3399215c5b6a993e0e0d0600, Dictionary`2 cf3992c6b0de352ffe57499da83977edb) at A.c0c9b4376a95c83cda5c8aaa674f0a770.c4b220d06e34eb23eab39ea3ca59c2d36.caca6bd1d5a82622a893e06a0a8763595(Item caf75e73eb548082abeeb625761844b91) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at A.c0c9b4376a95c83cda5c8aaa674f0a770.cb40d79723bd5d006e6ebe314738bf764(Vault c44eef07b7b0caf67b7e6880fd2d0c96e, Byte[] cd8a0778a3399215c5b6a993e0e0d0600) at A.c0c9b4376a95c83cda5c8aaa674f0a770.c77435cee3d84f42b6bcb99578b7887e2(String c4c707ece3170514f8504b161d5b38c17, String ceb81d1ee93f91e0bc57f34876c263863, IHttpClient c7db9ccbcc9e363b4afa5482d2e2b187a) at Devolutions.BitwardenManagement.Vault.Open(String username, String password) at Devolutions.RemoteDesktopManager.Managers.BitwardenManager.Initialize(String username, String password)
Regards,
Markus
EDIT: (Not related to this issue!)
Correct me if I'm wrong, but RDM currently only supports Bitwarden hosted in the Bitwarden-cloud? Is there an way of changing the internal Bitwarden-URL, so selfhosted instances would be possible as well?
Hello,
We'll take a look at what we can do for the error, we seem to be encountering something weird too. Maybe Bitwarden changed their API.
For the custom URL I assume it should be possible too, and if it is possible without changing any of the API routes it shouldn't take much time to do.
I'll keep you updated for both.
Regards,
Hubert Mireault
To help with resolving the bug, could you tell us if you have organizations and shared items within Bitwarden?
Regards,
Hubert Mireault
To help with resolving the bug, could you tell us if you have organizations and shared items within Bitwarden?
Regards,
We've tried to use both: personal items in private vault as well as a shared "company" with shared entries.
But we can't even login to see any entries :-\
Thank you for letting us know. We've made some changes for RDM 14.1.3.0 and while they fix other issues with retrieving credentials, I don't think they will if you're using shared items and organizations within your vault. We're still looking for a fix to this issue, I'll let you know once we have something.
Regards,
Hubert Mireault