Commit Graph

20 Commits

Author SHA1 Message Date
Aleksey Kashapov
f0344821ce
TD-686: Adopts opentelemetry API (#7)
* Creates home directory for dynamic cookie on docker build
* Creates directory for default file storage path
2023-10-27 12:43:02 +03:00
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
Sergey Yelin
e37c7bbc0e
ED-242: Update erlang and deps (#36) 2021-09-14 11:45:37 +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
Sergey Yelin
2f62c8b8e6
Ft/update images 2 (#29)
* Update images

* Upgrade jose

* +bump images

* +otp 23 support

* +build utils

* bump images

* +drop loading libdecaf

* Remove recon

Co-authored-by: dinama <dinama@users.noreply.github.com>
2021-01-13 12:30:28 +03:00
Sergey Yelin
2d23c339d2
Update images (#28)
* Update images

* Fix build image
2020-11-16 19:02:03 +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
Sergey Yelin
52bdbfca58
MSPF-532: Remove rfc3339 (#22)
* MSPF-532: Remove rfc3339

* Fix CI
2020-04-13 23:01:10 +03:00
Sergey Yelin
9261714a40
Upgrade woody for k8s (#21) 2020-04-02 20:57:17 +03:00
Andrew Mayorov
bcd7372697
Bump to rbkmoney/woody_erlang@ed644d7 (#18)
* Bump to rbkmoney/erlang-health@406fdd36
2020-02-07 19:44:08 +03:00
ndiezel0
dbb819a74f
MSPF-525: Upgrade woody (#17) 2020-01-29 16:27:23 +03:00
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
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
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