Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Mayorov
30ff7527ae
TD-222: Sync with valitydev/erlang-templates@da1971c (#1)
* Get rid of proprietary CI bits
* Update sys.config
* Add appsec team as CODEOWNERS
* Add CI through GH Actions workflows
* Switch to valitydev upstreams
2022-07-11 14:29:55 +03:00
Yaroslav Rogov
f8deaa2502
ED-226/deps: Add woody_api_hay (#35)
* ED-226/deps: Add woody_api_hay

* ED-226/fmt: Partially return author format of */sys.config
2021-08-24 14:44:45 +03:00
Yaroslav Rogov
4452606bb4
ED-226/feat: Add the rest of monitoring tools (#34)
* ED-226/feat: Add the rest of monitoring tools

- how_are_you for metrics
- also fix formatting on configs and app.src

* ED-226/refactor: Fix formatting
2021-08-23 15:03:16 +03:00
Sergey Yelin
df8a550af1
Add prometeus (#27)
* Add prometeus

* Move metrics to management point

* Revert image upgrade

* Add missing rebar.lock
2020-10-26 16:52:55 +03:00
Andrey Fadeev
0045e98757
Update woody to rbkmoney/woody_erlang@b563bbb (#25) 2020-07-28 12:54:48 +03:00
Andrew Mayorov
10778637e6
Bump to rbkmoney/erlang-health@3a80bb4 (#13) 2019-09-02 14:58:28 +03:00
ndiezel0
bc05d3dd63
CDS-92: Filter sensitive meta in logs (#7)
* CDS-92: Filter logs from sensitive meta

* CDS-92: Make filter content dependant

* CDS-92: Bump cds_proto and doc

* CDS-92: Add GetKeyring filtering

* CDS-92: Make filter whitelist instead of whitelist

* CDS-92: Move filter_keys to filter

* CDS-92: Skip filtering for internal woody errors

* CDS-92: Update JOSE regex

* CDS-92: Upgrade cds_proto

* CDS-92: Add system errors to whitelist

* CDS-92: Add try catch to thrift handlers

* CDS-92: Review fix

* CDS-92: Review fixes
2019-07-16 17:13:26 +03:00
ndiezel0
a92c0a6687
CDS-88: Add security parameters to keyring meta (#5)
* CDS-88: Add security parameters to keyring meta

* CDS-88: Rename security_parameters in config to new_key_security_parameters

* CDS-88: Refactor security_parameters encoding/decoding

* CDS-88: Rename
2019-07-05 17:26:04 +03:00
ndiezel0
6114ce6a0e
CDS-79: Adds keyring meta (#2)
* CDS-79: Add keyring meta

* CDS-79: Fix tests and specs

* CDS-79: fixes to tests

* CDS-79: encode binary in base64 in order to store in json

* CDS-79: implement cds_proto Meta methods

* CDS-79: Ensure that meta isn't overwritten by FSMs

* CDS-79: Add backward compatibility storage tests

* CDS-79: Fix dialyzer

* CDS-79: Update keyring_path usage in test

* CDS-79: Add meta tests

* CDS-79: Add rotation meta collision test

* CDS-79: Fix exception for update_meta during not_initialized

* CDS-79: Move kds_keyring_storage_file specific function to module

* CDS-79: spec fix

* CDS-79: replace dumb copy with symlink

* CDS-89: Add GetKeyring method with SSL (#3)

* CDS-89: Add ability to get keyring from storage

* CDS-89: replace dumb copy with symlink

* CDS-89: Add ssl support for keyring storage api

* Update apps/kds/test/kds_keyring_storage_api_tests_SUITE.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* Update apps/kds/test/kds_keyring_storage_api_tests_SUITE.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* Update apps/kds/test/kds_keyring_client.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* Update apps/kds/test/kds_keyring_client.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* CDS-89: Review fix

* CDS-89: sys.config update

* CDS-79: Review fix

* CDS-79: Review fix

* CDS-79: Review fix

* CDS-79: Refactor meta validation

* CDS-79: Add error if UpdateKeyringMeta doesn't make changes

* CDS-79: Fix initializer returning actual keyring instead of diff.

* CDS-79: spec fix

* CDS-79: fix rotator and kds_keyring specs

* CDS-79: remove ability to make meta updates if not_initialized

* Update apps/kds/src/kds_keyring_management_thrift_handler.erl

Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com>

* CDS-79: remove useless slash in string

* CDS-79: fix storage file decoding

* CDS-79: bump handler version and move same meta check to manager

* CDS-79: add format version to keyring storage for decoding

* CDS-79: Add version to keyring meta

* CDS-79: Remove diffs for keyring

* CDS-79: type fix

* CDS-79: Move keyring_meta types to it's module

* CDS-79: replace string generation with converting Reason to binary

* CDS-79: Update encrypted keyring format and rename current_key to max_key_id

* CDS-79: Refactor

* CDS-79: Update doc

* CDS-79: Remove validation failed and bump cds_proto version

* CDS-79: Add ability to change current_key_id in meta

* CDS-79: Fix missing exceptions in handler
2019-07-03 15:29:48 +03:00
ndiezel0
6c4d623cca
CDS-65: Move CDS Keyring to it's own service (#1)
* CDS-65: Move CDS Keyring to it's own service

* CDS-65: Add libdecaf to app.src and recon

* CDS-65: remove unneeded deps

* CDS-65: fix services order, remove .sp and fix README

* CDS-65: change log printing style for stacktrace and remove raising woody error with term()

* CDS-65: doc fix

* CDS-65: fix rebar.config

* CDS-65: review fixes

* CDS-65: fix tests

* CDS-65: fix format and woody raise error types

* CDS-65: move kds_keyring_client to test/ folder and introduce cipher macro

* CDS-65: move private keys to files in tests

* CDS-65: remove reverse list from tests and make convert_to_map/1 to convert_to_map/2

* CDS-65: Review fixes

* CDS-65: Compile fix

* CDS-65: Remove keyring storage env

* CDS-65: Make kds_keyring_storage_file stateful

* CDS-65: Add comments on why we can't catch exact shamir errors

* CDS-65: Rename service_code to service_name

Co-Authored-By: Andrew Mayorov <encube.ul@gmail.com>

* CDS-65: Review fixes

* CDS-65: Add stacktrace to keysharing error logging

* CDS-65: Lint fix

* CDS-65: app start fix

* CDS-65: fix dialyzer

* CDS-65: Introduce generic keyring_storage_opts in config
2019-06-21 11:46:13 +03:00