Error message installing a paid snap as unauthenticated user

Bug #1763071 reported by Matias Bordese
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
Unassigned

Bug Description

In the following scenario:

$ sudo snap logout
error: not logged in # Now I'm not logged in
$ sudo snap install the-commercial-snap
error: cannot perform the following tasks:
- Download snap "the-commercial-snap" (16) from channel "stable" (received an unexpected http response code (401) when trying to download https://api.snapcraft.io/api/v1/snaps/download/FS9z7XoU6cqERr2VxT6ZIIdpVj9goLefP_16.snap)

Could snapd check the snap to be installed is a paid snap and confirm the user is authenticated before trying the download (which fails because there is no user for the store to verify the purchase)?

Revision history for this message
John Lenton (chipaca) wrote :
Zygmunt Krynicki (zyga)
affects: snappy → snapd
Changed in snapd:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.