** Summary changed: - gist-paste command gives e-maled error message + gist-paste command is broken in this version
** Summary changed: - gist-paste command is broken in this version + gist-paste command is too old and can no longer authenticate ** Description changed: - Please update the `gist` package to the latest version in focal's - repository. The current version for focal has a `gist-paste` command - that, whenever it's used in a way that requires authentication to - GitHub, causes GitHub to send an e-mail to me complaining that I used an - outdated authentication method. + Please update the `gist` package to the latest version in the + repositories for 18.04 and 20.04. The current versions in those releases + have a `gist-paste` command that can no longer authenticate to GitHub, + making the package useless. I believe hirsute uses a fixed version. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal $ apt-cache policy gist gist: - Installed: 5.0.0-4 - Candidate: 5.0.0-4 - Version table: - *** 5.0.0-4 500 - 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages - 500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages - 100 /var/lib/dpkg/status + Installed: 5.0.0-4 + Candidate: 5.0.0-4 + Version table: + *** 5.0.0-4 500 + 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages + 500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages + 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gist 5.0.0-4 ProcVersionSignature: Ubuntu 5.4.0-77.86-generic 5.4.119 Uname: Linux 5.4.0-77-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.18 Architecture: amd64 CasperMD5CheckResult: skip Date: Tue Aug 24 04:42:58 2021 InstallationDate: Installed on 2021-05-19 (96 days ago) InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Beta amd64 (20200401) PackageArchitecture: all ProcEnviron: - TERM=tmux-256color - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=tmux-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: gist UpgradeStatus: No upgrade log present (probably fresh install) ** Description changed: Please update the `gist` package to the latest version in the repositories for 18.04 and 20.04. The current versions in those releases have a `gist-paste` command that can no longer authenticate to GitHub, making the package useless. - I believe hirsute uses a fixed version. + I believe Ubuntu 21.04 uses a working version. + + $ gist-paste -f Test.java -t java -p -d 'Fast method tester' -R Test.java + Error: Got Net::HTTPBadRequest from gist: {"message":"Must specify access token via Authorization header. ht + tps://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param","documentation_url":"htt + ps://docs.github.com/v3/#oauth2-token-sent-in-a-header"} $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal $ apt-cache policy gist gist: Installed: 5.0.0-4 Candidate: 5.0.0-4 Version table: *** 5.0.0-4 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages 500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gist 5.0.0-4 ProcVersionSignature: Ubuntu 5.4.0-77.86-generic 5.4.119 Uname: Linux 5.4.0-77-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.18 Architecture: amd64 CasperMD5CheckResult: skip Date: Tue Aug 24 04:42:58 2021 InstallationDate: Installed on 2021-05-19 (96 days ago) InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Beta amd64 (20200401) PackageArchitecture: all ProcEnviron: TERM=tmux-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gist UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940907 Title: gist-paste command is too old and can no longer authenticate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gist/+bug/1940907/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs