Skip to content

feature: use database to hold secret instead of file #274

Description

@flowers9

So, I already have a modified version of google-authenticator.c, pam_google_authenticator.c, and pam_google_authenticator_unittest.c that can connect to a postgres database (and have a working case with a database on one machine and ssh login with 2fa on another). I've written some documentation on how to compile them, and on how to set up a postgres database for them to access.

If I were to write a PR to add this to, say, /contrib/postgres, (that is, the three modified files and related documentation) is that something you would be interested in adding to the repository?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions