How to Install and Uninstall golang-github-cli-oauth-dev Package on Kali Linux

Last updated: November 22,2024

1. Install "golang-github-cli-oauth-dev" package

Here is a brief guide to show you how to install golang-github-cli-oauth-dev on Kali Linux

$ sudo apt update $ sudo apt install golang-github-cli-oauth-dev

2. Uninstall "golang-github-cli-oauth-dev" package

This is a short guide on how to uninstall golang-github-cli-oauth-dev on Kali Linux:

$ sudo apt remove golang-github-cli-oauth-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-cli-oauth-dev package on Kali Linux

Package: golang-github-cli-oauth-dev
Source: golang-github-cli-oauth
Version: 1.0.1-1
Installed-Size: 72
Maintainer: Debian Go Packaging Team
Architecture: all
Depends: golang-github-cli-browser-dev (>= 1.0.0)
Size: 14208
SHA256: 02ff00718bfee92788140c5c8fee691d0ef3e540e9148ace54d66d122857e3de
SHA1: 9cc89e8488ab00f0860a2947774c1ee7f84f772a
MD5sum: 3f022f78d6d2aa7974ec680255200167
Description: perform OAuth Device flow and Web application flow (Go library)
github.com/cli/oauth is a library for Go client applications that need to
perform OAuth authorization against a server, typically GitHub.com.
.
Traditionally, OAuth for web applications involves redirecting to
a URI after the user authorizes an app. While web apps (and some native
client apps) can receive a browser redirect, client apps such as CLI
applications do not have such an option.
.
To accommodate client apps, this library implements the OAuth Device
Authorization Grant (https://oauth.net/2/device-flow/) which GitHub.com
now supports. With Device flow, the user is presented with a one-time code
that they will have to enter in a web browser while authorizing the app on
the server. Device flow is suitable for cases where the web browser may be
running on a separate device than the client app itself; for example
a CLI application could run within a headless, containerized instance,
but the user may complete authorization using a browser on their phone.
.
To transparently enable OAuth authorization on any GitHub host
(e.g. GHES instances without OAuth "Device flow" support), this library
also bundles an implementation of OAuth web application flow in which
the client app starts a local server at http://127.0.0.1:/
that acts as a receiver for the browser redirect. First, Device flow
is attempted, and the localhost server is used as fallback. With
the localhost server, the user's web browser must be running on the
same machine as the client application itself.
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/cli/oauth
Section: golang
Priority: optional
Filename: pool/main/g/golang-github-cli-oauth/golang-github-cli-oauth-dev_1.0.1-1_all.deb