shomei-postgres: PostgreSQL adapters for Shōmei's store/publisher/signing-key ports
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.
Modules
[Index] [Quick Jump]
- Shomei
- Account
- Credential
- Password
- PasswordReset
- User
- Verification
- Audit
- Publisher
- Reader
- Authorization
- Mfa
- RecoveryCode
- Totp
- OAuth
- AuthorizationCode
- Client
- Passkey
- Persistence
- ServiceAccount
- Session
- LoginAttempt
- Shomei.Session.Postgres
- RefreshToken
- UnitOfWork
- SigningKey
- Time
- Account
Downloads
- shomei-postgres-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 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.2.0.0 && <0.3), 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] |
| Tested with | ghc ==9.12.4 |
| License | MIT |
| Copyright | 2026 Nadeem Bitar |
| Author | Nadeem Bitar |
| Maintainer | nadeem@gmail.com |
| Uploaded | by shinzui at 2026-08-28T04:47:24Z |
| 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 |
| Distributions | |
| Downloads | 0 total (0 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |