Attachments won't decrypt #184

Closed
opened 2025-11-07 08:30:23 -06:00 by GiteaMirror · 30 comments
Owner

Originally created by @rtloeffler on GitHub (Jan 25, 2018).

Device: Samsung Galaxy S8
Android: 7.0
App V: 1.14.1
Issue: Added attachment to Family Collection using the browser. I can download attachment in the browser, I do not see the attachment when viewing the item though (not sure if i should?). When i sync on my Mobile App, i click on the item, i also dont see any visual attachment on the item, I click on "attachments" button, and see the attachment file size, delete and the text " [error: cannot decrypt]"

Expected: I would expect to see the attachment in the item view for both browser and android.

Originally created by @rtloeffler on GitHub (Jan 25, 2018). Device: Samsung Galaxy S8 Android: 7.0 App V: 1.14.1 Issue: Added attachment to Family Collection using the browser. I can download attachment in the browser, I do not see the attachment when viewing the item though (not sure if i should?). When i sync on my Mobile App, i click on the item, i also dont see any visual attachment on the item, I click on "attachments" button, and see the attachment file size, delete and the text " [error: cannot decrypt]" Expected: I would expect to see the attachment in the item view for both browser and android.
Author
Owner

@kspearrin commented on GitHub (Jan 25, 2018):

Can you try logging out and back in on the device and try again to see if that changes anything?

@kspearrin commented on GitHub (Jan 25, 2018): Can you try logging out and back in on the device and try again to see if that changes anything?
Author
Owner

@rtloeffler commented on GitHub (Jan 25, 2018):

  • Logged out of all my devices
  • Logged back in to the browser, deleted attachments
  • Logged out, logged back into browser, uploaded PNG attachment
  • Logged out of browser, logged back in, still cant see attachment in item view.
  • Synced mobile after logging back in, Still says "cant decrypt"

Tried with spaces in PNG file name, without spaces, and also tried no-space JPG. Same results

No console error during upload.

@rtloeffler commented on GitHub (Jan 25, 2018): - Logged out of all my devices - Logged back in to the browser, deleted attachments - Logged out, logged back into browser, uploaded PNG attachment - Logged out of browser, logged back in, still cant see attachment in item view. - Synced mobile after logging back in, Still says "cant decrypt" Tried with spaces in PNG file name, without spaces, and also tried no-space JPG. Same results No console error during upload.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

So the attachment works everywhere except the mobile app?

@kspearrin commented on GitHub (Jan 26, 2018): So the attachment works everywhere except the mobile app?
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

The only thing i can do is Download the attachment in the browser/web application. On the phone I cant do anything.

Are you suppose to be able to view it in the browser?

@rtloeffler commented on GitHub (Jan 26, 2018): The only thing i can do is Download the attachment in the browser/web application. On the phone I cant do anything. Are you suppose to be able to view it in the browser?
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

No, you can only download attachments. There is no "view" option.

@kspearrin commented on GitHub (Jan 26, 2018): No, you can only download attachments. There is no "view" option.
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Okay, so then yes i can download the attachment in the Browser (hopefully one day we can view them) But i cannot download in Android, says cant Decrypt.

@rtloeffler commented on GitHub (Jan 26, 2018): Okay, so then yes i can download the attachment in the Browser (hopefully one day we can view them) But i cannot download in Android, says cant Decrypt.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

Are you able to decrypt other information about the shared item that the attachments belongs to or does everything about that item show "cannot decrypt"?

@kspearrin commented on GitHub (Jan 26, 2018): Are you able to decrypt other information about the shared item that the attachments belongs to or does everything about that item show "cannot decrypt"?
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

All other fields decrypt as expected. I just checked my wifes account too and hers also shows "cant decrypt"

@rtloeffler commented on GitHub (Jan 26, 2018): All other fields decrypt as expected. I just checked my wifes account too and hers also shows "cant decrypt"
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

What app did you use to upload it?

@kspearrin commented on GitHub (Jan 26, 2018): What app did you use to upload it?
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

web application on both Brave browser and Chrome browser. (not the extension)
I didnt see any console errors after the upload.

@rtloeffler commented on GitHub (Jan 26, 2018): web application on both Brave browser and Chrome browser. (not the extension) I didnt see any console errors after the upload.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

If you upload another attachment now, does it also fail on mobile too?

@kspearrin commented on GitHub (Jan 26, 2018): If you upload another attachment now, does it also fail on mobile too?
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Just tried on a new Item, created in the web app (not imported like the other attempts), under a shared organization, it works in the browser but in the android app it still says "cant decrypt"

@rtloeffler commented on GitHub (Jan 26, 2018): Just tried on a new Item, created in the web app (not imported like the other attempts), under a shared organization, it works in the browser but in the android app it still says "cant decrypt"
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

What if you try to add an attachment from the android app itself?

@kspearrin commented on GitHub (Jan 26, 2018): What if you try to add an attachment from the android app itself?
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Uninstalled android app, reinstalled. Attached img using camera, saved item. Then it acted like it was going to show an attachment then disappears. No attachment visible on Item or attachment page. DIdnt work.

EDIT: permission are all turned to ON as well.

@rtloeffler commented on GitHub (Jan 26, 2018): Uninstalled android app, reinstalled. Attached img using camera, saved item. Then it acted like it was going to show an attachment then disappears. No attachment visible on Item or attachment page. DIdnt work. EDIT: permission are all turned to ON as well.
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

If i try to attach by clicking on Documents (the two options are documents or camera) then i select a document ( i tried PDF and JPG), i select it and it just returns me to the Choose File page with no attachment selected. Doesnt work either.

@rtloeffler commented on GitHub (Jan 26, 2018): If i try to attach by clicking on Documents (the two options are documents or camera) then i select a document ( i tried PDF and JPG), i select it and it just returns me to the Choose File page with no attachment selected. Doesnt work either.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

I'm having a hard time reproducing this. Could we do a test and invite me to your organization to see if I can download an attachment? Feel free to send an email to support@bitwarden.com and we can exchange information.

@kspearrin commented on GitHub (Jan 26, 2018): I'm having a hard time reproducing this. Could we do a test and invite me to your organization to see if I can download an attachment? Feel free to send an email to support@bitwarden.com and we can exchange information.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

@rtloeffler So I just tested the jpg that you shared with me and it all works as expected on my Nexus 5X. Filename is shown properly and I can download and view the photo of your vehicle. 🤷‍♂️

You don't happen to have another device available to try out do you?

@kspearrin commented on GitHub (Jan 26, 2018): @rtloeffler So I just tested the jpg that you shared with me and it all works as expected on my Nexus 5X. Filename is shown properly and I can download and view the photo of your vehicle. 🤷‍♂️ You don't happen to have another device available to try out do you?
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

I tried on my wife's Nexus 6P. Let me dig up my old Nexus 5 and Nexus 6.

On Thu, Jan 25, 2018, 8:19 PM Kyle Spearrin notifications@github.com
wrote:

@rtloeffler https://github.com/rtloeffler So I just tested the jpg that
you shared with me and it all works as expected on my Nexus 5X. Filename is
shown properly and I can download and view the photo of your vehicle.
🤷‍♂️

You don't happen to have another device available to try out do you?


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/bitwarden/mobile/issues/266#issuecomment-360680452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIYVCZfUitnD1KGwYxnKY8vW_-mxEonVks5tOVJfgaJpZM4RtazF
.

--

Ryan Loeffler
Lead Systems Engineer, Axene HP LLC
41923 2nd St. Suite 203, Temecula, CA 92590
t: 951-239-3132 | c: 760.707.7284
e: ryan.loeffler@axenehp.com | w: axenehp.com
http://axenehp.com/it-development/
http://facebook.com/DynamicVisionInc?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature
http://twitter.com/dynamicvision?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature

@rtloeffler commented on GitHub (Jan 26, 2018): I tried on my wife's Nexus 6P. Let me dig up my old Nexus 5 and Nexus 6. On Thu, Jan 25, 2018, 8:19 PM Kyle Spearrin <notifications@github.com> wrote: > @rtloeffler <https://github.com/rtloeffler> So I just tested the jpg that > you shared with me and it all works as expected on my Nexus 5X. Filename is > shown properly and I can download and view the photo of your vehicle. > 🤷‍♂️ > > You don't happen to have another device available to try out do you? > > — > You are receiving this because you were mentioned. > > > Reply to this email directly, view it on GitHub > <https://github.com/bitwarden/mobile/issues/266#issuecomment-360680452>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AIYVCZfUitnD1KGwYxnKY8vW_-mxEonVks5tOVJfgaJpZM4RtazF> > . > -- *Ryan Loeffler* Lead Systems Engineer, Axene HP LLC 41923 2nd St. Suite 203, Temecula, CA 92590 t: 951-239-3132 | c: 760.707.7284 e: ryan.loeffler@axenehp.com | w: axenehp.com <http://axenehp.com/it-development/> <http://facebook.com/DynamicVisionInc?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature> <http://twitter.com/dynamicvision?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Nexus 6 and 5, same result. Waiting for my iPhone to charge up, I'm wondering if it's account based and not mobile software?

*Update with image:
20180125_202428

@rtloeffler commented on GitHub (Jan 26, 2018): Nexus 6 and 5, same result. Waiting for my iPhone to charge up, I'm wondering if it's account based and not mobile software? *Update with image: ![20180125_202428](https://user-images.githubusercontent.com/8787209/35425809-e1607626-0212-11e8-9192-2080f273590a.jpg)
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

same result on the iphone

@rtloeffler commented on GitHub (Jan 26, 2018): same result on the iphone
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

Has to be something with the account then. Will have to look a bit more.

@kspearrin commented on GitHub (Jan 26, 2018): Has to be something with the account then. Will have to look a bit more.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

@rtloeffler Ok, I see now with your screenshot. You are in the add/edit page for attachments, not the attachments download area (seen from the page regular view page). I can reproduce that now.

@kspearrin commented on GitHub (Jan 26, 2018): @rtloeffler Ok, I see now with your screenshot. You are in the add/edit page for attachments, not the attachments download area (seen from the page regular view page). I can reproduce that now.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

This is fixed for next version. Thanks. You can download the latest beta for the fix if you like.

@kspearrin commented on GitHub (Jan 26, 2018): This is fixed for next version. Thanks. You can download the latest beta for the fix if you like.
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Where can I view the attachment on the mobile then? That's the only place it appears.

@rtloeffler commented on GitHub (Jan 26, 2018): Where can I view the attachment on the mobile then? That's the only place it appears.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

You download attachments from the bottom of the "View Item" page.

@kspearrin commented on GitHub (Jan 26, 2018): You download attachments from the bottom of the "View Item" page.
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

I dont have that option on any of my devices.

download_20180126_075149

@rtloeffler commented on GitHub (Jan 26, 2018): I dont have that option on any of my devices. ![download_20180126_075149](https://user-images.githubusercontent.com/8787209/35448064-24fd0380-026e-11e8-9f94-074085383cf0.jpg)
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Including web application version.

screen shot 2018-01-26 at 7 55 21 am

@rtloeffler commented on GitHub (Jan 26, 2018): Including web application version. ![screen shot 2018-01-26 at 7 55 21 am](https://user-images.githubusercontent.com/8787209/35448110-4a1857c8-026e-11e8-9e9b-9d9ffebfa720.png)
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

I see now. We have several gaps on mobile for attachments within an organization. Most areas are just checking for if the user has premium before showing attachments.

@kspearrin commented on GitHub (Jan 26, 2018): I see now. We have several gaps on mobile for attachments within an organization. Most areas are just checking for if the user has premium before showing attachments.
Author
Owner

@kspearrin commented on GitHub (Jan 26, 2018):

Can you try the latest beta version on Google Play (build 1308+). It has some fixes for all of this.

@kspearrin commented on GitHub (Jan 26, 2018): Can you try the latest beta version on Google Play (build 1308+). It has some fixes for all of this.
Author
Owner

@rtloeffler commented on GitHub (Jan 26, 2018):

Beta now shows the image! Thanks.

@rtloeffler commented on GitHub (Jan 26, 2018): Beta now shows the image! Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#184