-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to add resources to Quick Access due to decryption error #535
Comments
Looked into it, and it looks like we're getting a bad decryption error when trying to read saved Quick Access data (we encrypt the data when in production mode). It's not clear why this is happening, though. |
Hi, I'm seeing Add to Quick Access not adding anything on Windows 1.4.0 20180803.3. The GUI/tree blinks and an expand icon to the left of Quick Access appears briefly than disappears. |
Does refreshing the tree help at all? |
Thanks, @craxal, refreshing didn't make a difference. |
@kfasick I'm not sure if the error you're encountering is the same error as on Linux. I want to make sure your connections are decrypting properly. First, do you get any error messages in the F12 dev console? If you launch Storage Explorer from the command line, do you get any error messages there as well? Next, please follow these steps:
|
|
That's what I was afraid of... Definitely an issue with decrypting connection info. OK, looks like we need to get to the bottom of this. Thank you for bringing this issue to us! |
@v-xuanzh, @kfasick, I think I may have found the problem, but I'd like you to check something for me to be sure: On Windows
On Linux
Did you find the key? If not, my fix should solve the problem, and we'll have it out in the next release. If the key is in there...well, can you drop a breakpoint in the TextEncrypter.js file somewhere in the |
@craxal I do not find a key in Windows Credentials with anything starting with "Microsoft_StorageExplorer*" - I think it should be after Microsoft.SqlTools* and before Microsoft_VS_LiveShare/* which are right next to each other. btw, further down I do have StorageExplorer_AddExternalCosmos* and StorageExplorer_CustomConnections* items. |
I also didn't find the the key named 'Micrososft_StorageExplorer/app' on Windows and Linux. |
Cool, thanks! So, there was an issue in the function that generates a new encryption key if an existing one isn't found. It should be fixed and out soon. |
@JoranDox, yes that's what I meant. We found the issue in TextEncrypter.js and should have the fix out in the next version very soon. The problem was the function used to generate the encryption key returns a |
@JoranDox, we've also encountered this on Linux, but I'm not sure if we were able to determine the cause and address it. I, in particular, struggled with it several times until, for some unknown reason, it magically worked. I also know that the authentication folks we've been in touch with are working on a lot of issues. Since this doesn't have anything to do with the posted issue here, if this continues to be a problem, please search for a matching issue or open a new one. |
I opened an issue where they referred me to this one and then they closed
mine, so idk what to do now.
…On Mon, 10 Sep 2018, 6:00 pm Craig, ***@***.***> wrote:
@JoranDox <https://github.com/JoranDox>, we've also encountered this on
Linux, but I'm not sure if we were able to determine the cause and address
it. I, in particular, struggled with it several times until, for some
unknown reason, it magically worked. I also know that the authentication
folks we've been in touch with are working on a lot of issues.
Since this doesn't have anything to do with the posted issue here, if this
continues to be a problem, please search for a matching issue or open a new
one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#535 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG0kXbUnwvta-hlNsN8ab2tllHJVO6gyks5uZoyjgaJpZM4Vr-p7>
.
|
#583? Let's continue the discussion from there. |
Storage Explorer Version: 1.4.0
Platform/OS Version: Linux Ubuntu 16.04
Architecture: x64
Build Number: 20180802.6
Commit: e9fc436c
Regression From: Previous release 1.3.1(20180711.1)
Steps to Reproduce:
Expected Experience:
The selected account can be added to Quick Access successfully.
Actual Experience:
Fail to add the account to Quick Access.
The text was updated successfully, but these errors were encountered: