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

multi factor authentication for ssh #1037

Open
wants to merge 25 commits into
base: devel
Choose a base branch
from

Commits on Jan 21, 2020

  1. Add ncp app for setting up multi factor authentication for ssh

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    168e0b3 View commit details
    Browse the repository at this point in the history
  2. Properly restore default pam configuration if totp was not enabled.

    - Fix misspelled variable names
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    6fa0ef4 View commit details
    Browse the repository at this point in the history
  3. Add configuration for multi factor authentication app

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    71042da View commit details
    Browse the repository at this point in the history
  4. Add cleanup() function to multi-factor-authentication.sh

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    35d7f04 View commit details
    Browse the repository at this point in the history
  5. multi-factor-authentication: use apt in non-interactive mode

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    07a642d View commit details
    Browse the repository at this point in the history
  6. multi-factor-authentication: Simplify is-active function

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    8f2ec46 View commit details
    Browse the repository at this point in the history
  7. multi-factor-authentication: Use jq in 'raw' mode (to avoid additiona…

    …l quotes)
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    48622bb View commit details
    Browse the repository at this point in the history
  8. multi-factor-authentication: Implement public key setup

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    938499e View commit details
    Browse the repository at this point in the history
  9. multi-factor-authentication: Fix improper check whether or not SSH us…

    …er was retrieved correctly.
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    386129a View commit details
    Browse the repository at this point in the history
  10. Implement escaping of spaces in ncp-app parameters

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    2caaaf6 View commit details
    Browse the repository at this point in the history
  11. multi-factor-authentication: Prevent enabling of totp+pw and other pa…

    …ssword reliant methods (not possible due to limitations of sshd configuration)
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    f98f21f View commit details
    Browse the repository at this point in the history
  12. multi-factor-authentication: Only enable the "UsePAM" setting, if tot…

    …p is enabled
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    97c9df4 View commit details
    Browse the repository at this point in the history
  13. multi-factor-authentication: Remove obsolete "ACTIVE" parameter

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    ed0d597 View commit details
    Browse the repository at this point in the history
  14. multi-factor-authentication: Improve description

    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    76465c8 View commit details
    Browse the repository at this point in the history
  15. multi-factor-authentication: Remove existing authorized ssh pubkeys i…

    …f none was given
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    a71071d View commit details
    Browse the repository at this point in the history
  16. multi-factor-authentication: Ensure we have permissions to delete goo…

    …gle authenticator configuration when resetting it
    
    Signed-off-by: Tobias K <[email protected]>
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    dbea3bc View commit details
    Browse the repository at this point in the history
  17. Use <pre> tags and UTF8 mode to show qr code in browser

    Signed-off-by: Tobias Knöppler <[email protected]>
    Tobias Knöppler authored and theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    9c1b253 View commit details
    Browse the repository at this point in the history
  18. Revert "Use <pre> tags and UTF8 mode to show qr code in browser"

    This reverts commit cfe094c
    
    Signed-off-by: Tobias Knöppler <[email protected]>
    Tobias Knöppler authored and theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    58a6c1f View commit details
    Browse the repository at this point in the history
  19. multi-factor-authentication.sh: Remove mention of qr code since it is…

    … not working
    
    multi-factor-authentication.cfg: Add Keepass2Android as compatible OTP app
    
    Signed-off-by: Tobias Knöppler <[email protected]>
    Tobias Knöppler authored and theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    e487dcd View commit details
    Browse the repository at this point in the history
  20. multi-factor-authentication.cfg: Fix typos and improve concision.

    Signed-off-by: Tobias Knöppler <[email protected]>
    Tobias Knöppler authored and theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    500e9dc View commit details
    Browse the repository at this point in the history
  21. multi-factor-authentication.*: Provide 5 fields for SSH pub keys

    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    4fc85ce View commit details
    Browse the repository at this point in the history
  22. library.sh: Support parameters with 'allow_unsafe'

    elements.php: Replace '%SPACE%' with ' ' for parameters with 'allow_unsafe'
    
    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    cbbf624 View commit details
    Browse the repository at this point in the history
  23. multi-factor-authentication.sh: Remove debug output

    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    5083978 View commit details
    Browse the repository at this point in the history
  24. multi-factor-authentication.sh: Fix typo in variable name

    Signed-off-by: Tobias Knöppler <[email protected]>
    theCalcaholic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    c482983 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Configuration menu
    Copy the full SHA
    586297a View commit details
    Browse the repository at this point in the history