mirror of
https://github.com/warmbly/warmbly.git
synced 2026-11-25 00:07:07 +00:00
feat: seal integration inbound URL secrets with the organization DEK in integration_connections.inbound_secret_encrypted, resolve Calendly, Cal.com and Clay deliveries by a SHA-256 digest with a dual-written clear column for the rollback window, seal remaining rows with a paced leader sweep, and carry the secret in workspace archives only as a passphrase-sealed value, and fold the import's reconnect step into one pass that names each integration once for its missing credentials or inbound URL and clears the inbound secret's clear, sealed and digest columns together
This commit is contained in:
@@ -466,6 +466,18 @@ jobs:
|
||||
grep -q "^--- PASS: $test " workspace-isolation.log
|
||||
done
|
||||
|
||||
- name: Integration inbound secret sealing (PostgreSQL)
|
||||
if: matrix.suite == 'live-3'
|
||||
env:
|
||||
WARMBLY_TEST_DB: postgres://warmbly:warmbly@127.0.0.1:5432/warmbly_test?sslmode=disable
|
||||
run: |
|
||||
set -o pipefail
|
||||
go test -race -v -p 1 ./internal/app/integration ./internal/app/orgtransfer -run '^TestLive(InboundSecretSealedAcrossWriteBackfillAndRead|InboundSecretUnsealedRowStillResolves|ArchiveCarriesInboundSecretsOnlySealed|ImportFlagsEachIntegrationOnceAndClosesItsInboundURL|ReconnectFlagClearsSealedInboundSecret)$' -count=1 | tee inbound-secret.log
|
||||
if grep -q -- '--- SKIP:' inbound-secret.log; then exit 1; fi
|
||||
for test in TestLiveInboundSecretSealedAcrossWriteBackfillAndRead TestLiveInboundSecretUnsealedRowStillResolves TestLiveArchiveCarriesInboundSecretsOnlySealed TestLiveImportFlagsEachIntegrationOnceAndClosesItsInboundURL TestLiveReconnectFlagClearsSealedInboundSecret; do
|
||||
grep -q "^--- PASS: $test " inbound-secret.log
|
||||
done
|
||||
|
||||
- name: Monitoring database observation regressions (PostgreSQL)
|
||||
if: matrix.suite == 'live-2'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user