🤹♂️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# Taken from https://blog.crunchydata.com/blog/how-to-upgrade-postgresql-passwords-to-scram | |
help= \ | |
""" | |
Generate scram-sha-256 password hashes / verifiers for PostgreSQL 10+ | |
Usage: | |
scram_postgres_password Username1 Password1 [, ... UsernameN PasswordN ] |