shomei-postgres: PostgreSQL adapters for Shōmei's store/publisher/signing-key ports
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Production interpreters for Shōmei's effects, written against hasql: a PostgreSQL-backed store for users, credentials, sessions, refresh tokens, OAuth clients and authorization codes, MFA secrets, recovery codes, passkeys, service accounts, roles, and signing keys, plus the audit-event publisher and reader. Also provides Argon2id password hashing and SHA-256 token hashing (crypton, ram), connection pooling, and a transactional unit-of-work. The schema itself lives in shomei-migrations.
Properties
| Versions | 0.1.0.0, 0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.1 && <2.3), base (>=4.18 && <5), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.9), contravariant-extras (>=0.3 && <0.4), crypton (>=1.1.0 && <1.2), effectful (>=2.5 && <2.8), effectful-core (>=2.5 && <2.8), hasql (>=1.10 && <1.11), hasql-pool (>=1.2 && <1.5), hasql-transaction (>=1.0 && <1.3), ram (>=0.22 && <0.23), shomei-core (>=0.1.0.0 && <0.2), stm (>=2.5 && <2.6), text (>=2.0 && <2.2), time (>=1.12 && <1.15), transformers (>=0.6 && <0.7), uuid (>=1.3 && <1.4) [details] |
| License | MIT |
| Copyright | 2026 Nadeem Bitar |
| Author | Nadeem Bitar |
| Maintainer | nadeem@gmail.com |
| Category | Database, Security |
| Home page | https://github.com/shinzui/shomei |
| Bug tracker | https://github.com/shinzui/shomei/issues |
| Source repo | head: git clone https://github.com/shinzui/shomei.git |
| Uploaded | by shinzui at 2026-08-25T04:54:16Z |
Modules
- Shomei
- Account
- Credential
- Shomei.Account.Credential.Postgres
- Password
- Hash
- Shomei.Account.Password.Hash.Postgres
- Hash
- PasswordReset
- Shomei.Account.PasswordReset.Postgres
- User
- Shomei.Account.User.Postgres
- Verification
- Shomei.Account.Verification.Postgres
- Credential
- Audit
- Publisher
- Shomei.Audit.Publisher.Postgres
- Reader
- Shomei.Audit.Reader.Postgres
- Publisher
- Authorization
- Role
- Shomei.Authorization.Role.Postgres
- Role
- Mfa
- RecoveryCode
- Shomei.Mfa.RecoveryCode.Postgres
- Totp
- Shomei.Mfa.Totp.Postgres
- RecoveryCode
- OAuth
- AuthorizationCode
- Shomei.OAuth.AuthorizationCode.Postgres
- Client
- Shomei.OAuth.Client.Postgres
- AuthorizationCode
- Passkey
- Ceremony
- Shomei.Passkey.Ceremony.Postgres
- Shomei.Passkey.Postgres
- Ceremony
- Persistence
- Codec
- Shomei.Persistence.Codec.Postgres
- Database
- Shomei.Persistence.Database.Postgres
- Maintenance
- Shomei.Persistence.Maintenance.Postgres
- Pool
- Shomei.Persistence.Pool.Postgres
- Codec
- ServiceAccount
- Shomei.ServiceAccount.Postgres
- Session
- LoginAttempt
- Shomei.Session.LoginAttempt.Postgres
- Shomei.Session.Postgres
- RefreshToken
- Shomei.Session.RefreshToken.Postgres
- UnitOfWork
- Shomei.Session.UnitOfWork.Postgres
- LoginAttempt
- SigningKey
- Shomei.SigningKey.Postgres
- Time
- Shomei.Time.Postgres
- Account
Downloads
- shomei-postgres-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees