skorotkiewicz / Google-TOTP-Export

Get the TOTP secrets exported by Google Authenticator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimalistic version of:

https://github.com/krissrex/google-authenticator-exporter

Usage

yarn
# or
npm install

Edit index.js and paste data to console.log(decode("<HERE_DATA>"));

// otpauth-migration://offline?data=<DATA>
console.log(decode("<HERE_DATA>"));

Run index.js.

node index.js
[
  {
    secret: "XXXXXXXXX",
    name: "example@example.com",
    issuer: "Exampler",
    algorithm: "ALGO_SHA1",
    digits: 1,
    type: "OTP_TOTP",
    totpSecret: "XYZXYZXYZXYZ", // <== This is what we want to use in other password managers.
  },
];

About

Get the TOTP secrets exported by Google Authenticator


Languages

Language:JavaScript 100.0%