shacrypt

Implements SHA256-CRYPT and SHA512-CRYPT password encryption schemes

Overview

PIGSTY 3rd Party Extension: shacrypt : Implements SHA256-CRYPT and SHA512-CRYPT password encryption schemes

Information

Metadata

  • Latest Version: 1.1
  • Postgres Support: 17,16,15,14,13
  • Need Load: Shared library do not need explicit loading
  • Need DDL: Need CREATE EXTENSION DDL
  • Relocatable: Can not install to arbitrary schema
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: postgres_shacrypt_$v*
  • RPM Ver : 1.1
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-shacrypt
  • DEB Ver : 1.1
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgres_shacrypt_17
PIGSTY 1.1
postgres_shacrypt_16
PIGSTY 1.1
postgres_shacrypt_15
PIGSTY 1.1
postgres_shacrypt_14
PIGSTY 1.1
postgres_shacrypt_13
PIGSTY 1.1
el8 aarch64 postgres_shacrypt_17
PIGSTY 1.1
postgres_shacrypt_16
PIGSTY 1.1
postgres_shacrypt_15
PIGSTY 1.1
postgres_shacrypt_14
PIGSTY 1.1
postgres_shacrypt_13
PIGSTY 1.1
el9 x86_64 postgres_shacrypt_17
PIGSTY 1.1
postgres_shacrypt_16
PIGSTY 1.1
postgres_shacrypt_15
PIGSTY 1.1
postgres_shacrypt_14
PIGSTY 1.1
postgres_shacrypt_13
PIGSTY 1.1
el9 aarch64 postgres_shacrypt_17
PIGSTY 1.1
postgres_shacrypt_16
PIGSTY 1.1
postgres_shacrypt_15
PIGSTY 1.1
postgres_shacrypt_14
PIGSTY 1.1
postgres_shacrypt_13
PIGSTY 1.1
d12 x86_64 postgresql-17-shacrypt
PIGSTY 1.1
postgresql-16-shacrypt
PIGSTY 1.1
postgresql-15-shacrypt
PIGSTY 1.1
postgresql-14-shacrypt
PIGSTY 1.1
postgresql-13-shacrypt
PIGSTY 1.1
d12 aarch64 postgresql-17-shacrypt
PIGSTY 1.1
postgresql-16-shacrypt
PIGSTY 1.1
postgresql-15-shacrypt
PIGSTY 1.1
postgresql-14-shacrypt
PIGSTY 1.1
postgresql-13-shacrypt
PIGSTY 1.1
u22 x86_64 postgresql-17-shacrypt
PIGSTY 1.1
postgresql-16-shacrypt
PIGSTY 1.1
postgresql-15-shacrypt
PIGSTY 1.1
postgresql-14-shacrypt
PIGSTY 1.1
postgresql-13-shacrypt
PIGSTY 1.1
u22 aarch64 postgresql-17-shacrypt
PIGSTY 1.1
postgresql-16-shacrypt
PIGSTY 1.1
postgresql-15-shacrypt
PIGSTY 1.1
postgresql-14-shacrypt
PIGSTY 1.1
postgresql-13-shacrypt
PIGSTY 1.1
u24 x86_64 postgresql-17-shacrypt
PIGSTY 1.1
postgresql-16-shacrypt
PIGSTY 1.1
postgresql-15-shacrypt
PIGSTY 1.1
postgresql-14-shacrypt
PIGSTY 1.1
postgresql-13-shacrypt
PIGSTY 1.1
u24 aarch64 postgresql-17-shacrypt
PIGSTY 1.1
postgresql-16-shacrypt
PIGSTY 1.1
postgresql-15-shacrypt
PIGSTY 1.1
postgresql-14-shacrypt
PIGSTY 1.1
postgresql-13-shacrypt
PIGSTY 1.1

Installation

Install shacrypt via the pig CLI tool:

pig ext install shacrypt

Install shacrypt via Pigsty playbook:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["shacrypt"]}' # -l <cls>

Install shacrypt RPM from YUM repo directly:

dnf install postgres_shacrypt_17*;
dnf install postgres_shacrypt_16*;
dnf install postgres_shacrypt_15*;
dnf install postgres_shacrypt_14*;
dnf install postgres_shacrypt_13*;

Install shacrypt DEB from APT repo directly:

apt install postgresql-17-shacrypt;
apt install postgresql-16-shacrypt;
apt install postgresql-15-shacrypt;
apt install postgresql-14-shacrypt;
apt install postgresql-13-shacrypt;

Enable shacrypt extension on PostgreSQL cluster:

CREATE EXTENSION shacrypt;




Last modified 2025-02-17: add extension part (cfa504b)