Skip to main content

Create TOTP authentication code for 2FA and copy it to the clipboard

Project description

TOTP-CLIP

Generate TOTP authentication code for 2FA from a configuration stored in a YAML file with secrets in netrc format and copy it to the clipboard.

Configuration (YAML)

Defaults to ~/totp.yml.

service_name:
  remote_name: machine item in netrc
  window_title: title of the window showing the OTP
  store_clipboard: Boolean option to either store the OTP in the clipboard

Secret storage (netrc).

Defaults to ~/.netrc.

machine remote_name in corresponding YAML
	login username as show by the TOTP provider
	password secret key provided during the setup of the two-factor authentication

Please assure that only the local user may read this file.

Installation

pipx install totp-clip

Usage

totp-clip service_name

A shortcut may be manually created to launch the command mentioned.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

totp_clip-0.9.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

totp_clip-0.9.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file totp_clip-0.9.5.tar.gz.

File metadata

  • Download URL: totp_clip-0.9.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for totp_clip-0.9.5.tar.gz
Algorithm Hash digest
SHA256 78232d87226c7fb2c526b3801b9752ade4720eb09d5950dae574810139e54023
MD5 b8541b50c9143d06a193ac891eaa842e
BLAKE2b-256 9732e22891fcf47558c6f94263ec2f87d7b095f092d5a3316ae19534101ae981

See more details on using hashes here.

Provenance

The following attestation bundles were made for totp_clip-0.9.5.tar.gz:

Publisher: pypi.yml on alberto743/totp-clip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file totp_clip-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: totp_clip-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for totp_clip-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 204e539ac1b9b0da007e2c7018521aa5d9373be7a121fded3067a05a52f79425
MD5 7044eb478546f7596e5a9c2b97eb5a5b
BLAKE2b-256 7b245d35e027bee07de60b63f9aa2c8200a9932aa8c499f33a63819315796b1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for totp_clip-0.9.5-py3-none-any.whl:

Publisher: pypi.yml on alberto743/totp-clip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page