dpt-github-oauth(1)
β¨ dpt-github-oauth β¨
okay so bestie, this is a page from the Debian Perl packaging Tools manual β it's dpt-github-oauth(1), and it's literally just here to hand you a GitHub OAuth2 token π
π NAME π
dpt-github-oauth β Generate GitHub OAuth2 token π¦
πΈ SYNOPSIS πΈ
dpt github-oauth [note-text]
π DESCRIPTION π
dpt github-oauth is your girl for getting an OAuth2 token so you can authenticate to GitHub services without typing your password on every single request π (imagine). The whole reason this script exists is to let you populate the "DPT_GITHUB_OAUTH" setting in dpt.conf or ~/.config/dpt.conf easily. no cap, that's the vibe π
β οΈ Important bestie: you cannot get an OAuth2 token with this script if you have two-factor authentication (2FA) enabled on GitHub. it's giving blocked. periodt π
An alternative method for scoring the token is using the GitHub web interface, Applications->Personal Access Tokens π
The token you get with this program is authorized only for reporting issues. that's it, that's the whole scope π«Ά
The only supported argument, note-text, is a short note associated with the token. It's literally just there so you can easily tell your different tokens and their purposes apart π·οΈ If you don't specify it, the string "pkg-perl-tools on host $HOSTNAME" is used, where $HOSTNAME is obtained via Sys::Hostname. iconic default behavior, fr fr β¨
The GitHub user name and password are prompted for, and they can't be supplied as command-line options. no passing them in secret, sorry bestie π
π LICENSE AND COPYRIGHT π
Copyright 2014 Damyan Ivanov. Copyright 2016 Alex Muntada.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information π
and that's the whole page, bestie π this was dpt-github-oauth(1) from pkg-perl-tools 0.88, dated 2026-04-01 β go forth and slay your tokens ππ
π¦ where this page comes from
- ubuntu stonking: pkg-perl-tools 0.88 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms