pomerium/pkg/cryptutil
Caleb Doxsey 5d60cff21e
databroker: refactor databroker to sync all changes (#1879)
* refactor backend, implement encrypted store

* refactor in-memory store

* wip

* wip

* wip

* add syncer test

* fix redis expiry

* fix linting issues

* fix test by skipping non-config records

* fix backoff import

* fix init issues

* fix query

* wait for initial sync before starting directory sync

* add type to SyncLatest

* add more log messages, fix deadlock in in-memory store, always return server version from SyncLatest

* update sync types and tests

* add redis tests

* skip macos in github actions

* add comments to proto

* split getBackend into separate methods

* handle errors in initVersion

* return different error for not found vs other errors in get

* use exponential backoff for redis transaction retry

* rename raw to result

* use context instead of close channel

* store type urls as constants in databroker

* use timestampb instead of ptypes

* fix group merging not waiting

* change locked names

* update GetAll to return latest record version

* add method to grpcutil to get the type url for a protobuf type
2021-02-18 15:24:33 -07:00
..
testdata cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
certificates.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
certificates_test.go dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
doc.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
encrypt.go cryptutil: more explicit decryption error (#1607) 2020-11-23 07:57:30 -08:00
encrypt_test.go cryptutil: more explicit decryption error (#1607) 2020-11-23 07:57:30 -08:00
hash.go use incremental API for envoy xDS (#1732) 2021-01-05 12:45:55 -07:00
hash_test.go use incremental API for envoy xDS (#1732) 2021-01-05 12:45:55 -07:00
helpers.go databroker: refactor databroker to sync all changes (#1879) 2021-02-18 15:24:33 -07:00
helpers_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
hmac.go dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
hmac_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
jose.go authorize: add signature algo support (RSA / EdDSA) (#1631) 2020-11-30 17:14:41 -08:00
jose_test.go dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
sign.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
sign_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
tls.go dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
tls_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
token.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00
token_test.go cryptutil: move to pkg dir, add token generator (#1029) 2020-06-30 15:55:33 -06:00