lneely / pcloudcc-lneely

pcloudcc-lneely is an independent fork of the inactive pcloudcom/console-client
0 stars 0 forks source link

Let's talk about authentification process #4

Open egeorgio3000 opened 6 days ago

egeorgio3000 commented 6 days ago

Hello ! I think opening a ticket here is more relevant than in the previous repo. So you told me about 2FA, this is an option that you can enable on your pCloud account. But I'm pretty sure this is not what i talk about. In your pCloud settings, there are a list a devices well-known by pCloud, and if you try to register with a new device pCloud send a verification email with a 8 digit code. This cause two issues. - Even if the console is stuck on status is CONNECTING, there is no confirmation mail sent to the user.

lneely commented 5 days ago

Hi @egeorgio3000, thanks for the explanation. Since I don't have the same thing happen when I log in with pcloudcc, would like to see if there is anything obviously different. Can you please send me the following from your settings?

Thanks much! :beers:

egeorgio3000 commented 5 days ago

about security, both are not enabled. I have this listed in my devices: "Laptop, Linux, pCloud CC v3.0.0 6/24/2024 6/24/2025" But this is from my computer. However, i can't connect from my VPS server and it does not appear in my devices.

It works on my computer because i did the email verification check on the web so my laptop is recognized, but i can't do the same thing on the server (this is why in need pcloudcc :) )

lneely commented 4 days ago

Good, thanks! I have a VPS too, so I might be able to reproduce. Will try it soon.

lneely commented 3 days ago

@egeorgio3000 It ends up my "VPS" isn't exactly a VPS. It's more like a pubnix, but lacks the libs I need to compile and run the code, and I lack the needed privileges to install them. I'm not sure I can actually try this without paying for a VPS myself, which I am reluctant to do since I don't really need one, but I do need to be able to reproduce to know what to do next.

EDIT: maybe a VM will work... i'll try that soon...

lneely commented 2 days ago

@egeorgio3000 I'm running pcloudcc now in a virtual machine and my host simultaneously, and still did not manage to reproduce the problem you describe.

Perhaps I can figure out how to get a debug log from you. ~(I'm still not clear on where the debug messages are written...)~ If you can please send a REDACTED dump of /tmp/psync_err.log, would appreciate it. (If you are not careful, you may publish your crypto password by mistake.)

EDIT: If you pull the latest version of this code, your crypto password will no longer be published to the debug logs (replaced by string "REDACTED"). Not promising I fixed every case where that might happen so still a good idea to check.