Skip to content
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

[Bug] Storeman asks a device code after launch #513

Open
BohdanKoles opened this issue Dec 22, 2024 · 1 comment
Open

[Bug] Storeman asks a device code after launch #513

BohdanKoles opened this issue Dec 22, 2024 · 1 comment
Labels
bug This is indeed a bug help wanted Support is needed to proceed Jolla caused this Issue is caused by changes in SailfishOS regression Was working fine before

Comments

@BohdanKoles
Copy link

BohdanKoles commented Dec 22, 2024

SailfishOS VERSION (Settings → About product → Build): 5.0.0.43

HARDWARE (Settings → About product → Manufacturer & Product name): Jolla C2

Storeman VERSION (Storeman → <Top pulley> → About Storeman): 0.7.2

BUG DESCRIPTION

Every time Storeman is opening it asks a device code two times:

Screenshot

It doesn't matter if OpenRepos account was added or user logged out before

STEPS TO REPRODUCE

Opening the app

ADDITIONAL INFORMATION

This behaviour started after update to a new version of Storeman available (sorry, can't remember which version).
I usually logged in with my OpenRepos account, I use username to log in (with email log in does not work).

@BohdanKoles BohdanKoles added the bug This is indeed a bug label Dec 22, 2024
@BohdanKoles BohdanKoles changed the title [Bug] [Bug] Storeman asks a device code after launch Dec 22, 2024
@Olf0 Olf0 added help wanted Support is needed to proceed regression Was working fine before Jolla caused this Issue is caused by changes in SailfishOS labels Dec 22, 2024
@Olf0
Copy link
Member

Olf0 commented Dec 22, 2024

@BohdanKoles, thank you for your comprehensive bug report!

Some quick remarks after glancing over the corresponding code segments:

  • AFICS, this is not a dialogue emitted by Storeman, but by Jolla's Sailfish-Secrets component.
  • None of this code was altered in the past few years: The code using Sailfish-Secrets was created 2020-06-29 and slightly altered once on 2020-08-18.
    Consequently, on a Jolla C2 with SailfishOS 5.0.0, there sure was no change in Storeman'S corresponding code.
  • Hence I assume it was a SailfishOS update which brought this change of behaviour: Maybe the one from 5.0.0.29 to 5.0.0.43 (released 2024-12-17), or 5.0.0.215.0.0.29 (released 2024-11-14), or 5.0.0.55.0.0.21 (released 2024-10-24).
    It would be really helpful to know which of these SailfishOS updates could have caused this, then one can go through the corresponding changelog(s) to see if a Sailfish-Secrets related change was introduced. Ultimately the task is to gather sufficient information and evidence for filing a comprehensive bug report at FSO, so it has a real chance to be taken care of by Jolla.

P.S. and off-topic

I usually logged in with my OpenRepos account,

Yes, this i why you see this dialogue, because Storeman uses Sailfish-Secrets to store your OpenRepos credentials, if Sailfish-Secrets is available. Without Sailfish-Secrets Storeman has to store your OpenRepos credentials in plain text.

OTOH, if you do not configure Storeman to log in to OpenRepos, the dialogue discussed here should not appear (see also Storeman's changelog).

I use username to log in (with email log in does not work).

Mmmh, issue #47 was about this, too, but closed on Nov 11, 2018 as working. IIRC this was a bug in OpenRepos' API, but the most apparent bug now is, that OpenRepos' API documentation has become inaccessible at https://openrepos.net/content/basil/api-docs. If you are interested in contributing to resolve this, please write a message to Basil via OpenRepos' feedback form which kindly addresses both points: "OpenRepos' API documentation has become inaccessible" and "logging in using an email address does not work". Then please share here, how the conversation with Basil (@custodian) concluded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is indeed a bug help wanted Support is needed to proceed Jolla caused this Issue is caused by changes in SailfishOS regression Was working fine before
Projects
None yet
Development

No branches or pull requests

2 participants