Commit Graph

13 Commits

Author SHA1 Message Date
Andrew Mayorov
10778637e6
Bump to rbkmoney/erlang-health@3a80bb4 (#13) 2019-09-02 14:58:28 +03:00
Andrey Fadeev
83fbfef475
Fix errors filtering from events (#12)
Port changes from rbkmoney/cds#94
And update woody to fix errors handing in woody
2019-08-27 14:33:36 +03:00
Andrey Fadeev
866073c3bb
Remove record names escaping (#11) 2019-08-26 16:51:05 +03:00
Andrey Fadeev
b2dd69cd30
Allow to show safe errors (#10)
Port changes from rbkmoney/cds#92
2019-08-26 15:50:59 +03:00
ndiezel0
c022cceb1c
CDS-94: Fix old keyring compatibility (#9)
* CDS-94: Fix old keyring compatibility

* CDS-94: Hide error from logs
2019-07-26 17:59:31 +03:00
ndiezel0
bbbf99db96
CDS-93: Enable dialyzer rule (#8)
* CDS-93: Enable dialyzer rule

* CDS-93: Type fix
2019-07-16 19:55:35 +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
2e8698bbf3
CDS-77: Add logging to all keyring management service calls and add logging to all FSMs (#6)
* CDS-77: Add logging to all keyring management service calls and add logging to all FSMs

* CDS-77: Add logging of successful working of automats

* CDS-77: Fix automats

* CDS-77: Remove thrift handler logging
2019-07-10 18:21:13 +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
5290f88d44
CDS-91: Update erlang to version 21.3.8.4 (#4) 2019-07-03 14:06:41 +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
Rustem Shaydullin
5513d91377 Initial commit 2019-06-06 12:42:55 +03:00