Skip to content

Update openvpn_otp_auth_sample.py#2

Open
heil wants to merge 1 commit into
roman-vynar:mainfrom
heil:heil-patch-1
Open

Update openvpn_otp_auth_sample.py#2
heil wants to merge 1 commit into
roman-vynar:mainfrom
heil:heil-patch-1

Conversation

@heil

@heil heil commented Feb 15, 2024

Copy link
Copy Markdown

what do you think about the following changes:

  • move to bcrypt hashes instead of plain password
  • be aware that sessions has only four rows and not five
  • add command line parameter --genkey to password hashes and otp serials.

- move to bcrypt hashes instead of plain password
- be aware that sessions has only four rows and not five
- add command line parameter --genkey <username>
  to password hashes and otp serials.
@roman-vynar

Copy link
Copy Markdown
Owner

Hello,

This script is just a sample. Feel free to modify and use it as you wish.

You are right there are 4 columns, not 5. I was modifying the script from my working copy which contained some extra columns and forgot to adjust.

@heil

heil commented Feb 15, 2024

Copy link
Copy Markdown
Author

Okay, thanks, will do so.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants