scito / extract_otp_secrets

Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.
https://scito.ch/content/extract-secret-keys-google-authenticator-qr-export
GNU General Public License v3.0
1.16k stars 138 forks source link

Decode QR codes from Google Authenticator's export function #33

Closed sssudame closed 1 year ago

sssudame commented 1 year ago

Add the ability so provide an image file as the infile. If the file contains a QR code generated by Google Authenticator's "Transfer Accounts" function, it will be decoded directly in a single step. This is meant to help users who need to access their secrets from Google Authenticator but don't have a QR code decoder and don't want to use an online one due to security concerns.

scito commented 1 year ago

Hi Shreerang, thanks for your PR. This seems to be really a useful enhancement! Why did you close this PR? I'd like to integrate this functionality. Will you resubmit your code?

scito commented 1 year ago

I'll work on this PR myself and do the refactoring. I really like this functionality. I was not aware of these Python modules. Thanks for your contribution.

sssudame commented 1 year ago

Hey Roland

Thanks for your email, so sorry about the delay in responding, I was caught up in some personal business.

Did you actually complete the refactoring yourself? Do you need any help from me?

Thanks for taking this on!

Shreerang

On Fri, Dec 23, 2022 at 3:10 AM Roland Kurmann @.***> wrote:

I'll work on this PR myself and do the refactoring. I really like this functionality. I was not aware of these Python modules. Thanks for your contribution.

— Reply to this email directly, view it on GitHub https://github.com/scito/extract_otp_secret_keys/pull/33#issuecomment-1363859070, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV4II3V2ALK64HYLVU3MP3WOWCCBANCNFSM6AAAAAATGFUHKA . You are receiving this because you modified the open/close state.Message ID: @.***>

scito commented 1 year ago

Hi Shreerang

I've done the refactoring and much more. This Python script can now capture QR codes itself, see https://github.com/scito/extract_otp_secrets/releases/tag/v2.0.0

This work is based on your input!

If you see anything to improve, your welcome to submit a PR.

Thanks again for your contribution!

Best regards, Roland (scito)

------- Original Message ------- Shreerang Sudame @.***> schrieb am Donnerstag, 19. Januar 2023 um 23:53:

Hey Roland

Thanks for your email, so sorry about the delay in responding, I was caught up in some personal business.

Did you actually complete the refactoring yourself? Do you need any help from me?

Thanks for taking this on!

Shreerang

On Fri, Dec 23, 2022 at 3:10 AM Roland Kurmann @.***> wrote:

I'll work on this PR myself and do the refactoring. I really like this functionality. I was not aware of these Python modules. Thanks for your contribution.

— Reply to this email directly, view it on GitHub https://github.com/scito/extract_otp_secret_keys/pull/33#issuecomment-1363859070, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV4II3V2ALK64HYLVU3MP3WOWCCBANCNFSM6AAAAAATGFUHKA . You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

sssudame commented 1 year ago

Great, thank you!

On Fri, Jan 20, 2023 at 12:49 PM Roland Kurmann @.***> wrote:

Hi Shreerang

I've done the refactoring and much more. This Python script can now capture QR codes itself, see https://github.com/scito/extract_otp_secrets/releases/tag/v2.0.0

This work is based on your input!

If you see anything to improve, your welcome to submit a PR.

Thanks again for your contribution!

Best regards, Roland (scito)

------- Original Message ------- Shreerang Sudame @.***> schrieb am Donnerstag, 19. Januar 2023 um 23:53:

Hey Roland

Thanks for your email, so sorry about the delay in responding, I was caught up in some personal business.

Did you actually complete the refactoring yourself? Do you need any help from me?

Thanks for taking this on!

Shreerang

On Fri, Dec 23, 2022 at 3:10 AM Roland Kurmann @.***> wrote:

I'll work on this PR myself and do the refactoring. I really like this functionality. I was not aware of these Python modules. Thanks for your contribution.

— Reply to this email directly, view it on GitHub < https://github.com/scito/extract_otp_secret_keys/pull/33#issuecomment-1363859070 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABV4II3V2ALK64HYLVU3MP3WOWCCBANCNFSM6AAAAAATGFUHKA

. You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/scito/extract_otp_secrets/pull/33#issuecomment-1398917227, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV4IIYYSTH3N4AB76RKFEDWTL23XANCNFSM6AAAAAATGFUHKA . You are receiving this because you modified the open/close state.Message ID: @.***>