Bug#1029661: Cannot authenticate with Google

2023-01-26 Thread Unit 193

Howdy,



Google no longer allows gcalcli to authenticate. Upstream recommends
manually creating a developer account and registering gcalcli as your
own app. This is a *much* more cumbersome setup process, and the simple
oauth2 workflow that gcalcli uses by default doesn't work with no
indication of why.


While it's certainly more complicated than it used to be, I switched 
auth methods back when gcalcli ran into API quota issues and it's been 
working fine ever since.


I've seen others have issues where they have to re-authenticate after 7 
days, but I haven't personally run into that problem.  Then again I also 
have gcalcli run in conky so it may be run often enough to refresh the 
key.



At a minimum, this should be documented and the flow for not having
authenticated yet should give better guidance to the user and not try an
authentication that won't work.


Sure, I can nab the upstream commit[0] that documents the changes.  This 
close to freeze I don't think upstream is going to find an ideal solution 
to the problem.



[0]: 
https://github.com/insanum/gcalcli/commit/8c812e3da68ae6cbd220182517a64939df0c1b38


https://github.com/insanum/gcalcli/issues/580


~Unit 193
Unit193 @ Libera
Unit193 @ OFTC



Bug#1029661: Cannot authenticate with Google

2023-01-25 Thread Josh Triplett
Package: gcalcli
Version: 4.3.0-1
Severity: grave
Tags: upstream
X-Debbugs-Cc: j...@joshtriplett.org

Google no longer allows gcalcli to authenticate. Upstream recommends
manually creating a developer account and registering gcalcli as your
own app. This is a *much* more cumbersome setup process, and the simple
oauth2 workflow that gcalcli uses by default doesn't work with no
indication of why.

At a minimum, this should be documented and the flow for not having
authenticated yet should give better guidance to the user and not try an
authentication that won't work.

https://github.com/insanum/gcalcli/issues/580


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.1.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcalcli depends on:
ii  python33.11.1-1
ii  python3-dateutil   2.8.2-1
ii  python3-googleapi  1.7.12-1
ii  python3-httplib2   0.20.4-3
ii  python3-oauth2client   4.1.3-3
ii  python3-parsedatetime  2.6-3
ii  python3-six1.16.0-4

Versions of packages gcalcli recommends:
pn  python3-vobject  

gcalcli suggests no packages.

-- no debconf information