Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for YubiKey OTP codes during release #43863

Merged
merged 1 commit into from
Dec 14, 2021
Merged

Commits on Dec 14, 2021

  1. Add support for YubiKey OTP codes during release

    This patch adds support for automatically getting OTP codes from your
    YubiKey during release.  You must have the `ykman` commandline tool
    installed, and have two accounts setup with the names `rubygems.org` and
    `npmjs.com`.  For example, the output from `ykman oath accounts list` on
    my machine is this:
    
    ```
    $ ykman oath accounts list
    npmjs.com:aaron.patterson@gmail.com
    rubygems.org:aaron.patterson@gmail.com
    ```
    
    If you meet these conditions, you can do `rake release` without typing
    an OTP code for every gem.
    
    If no `ykman` tool is found on your system, this will just fall back to
    asking for an OTP code.
    tenderlove committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    8f83351 View commit details
    Browse the repository at this point in the history