Commit Graph

40 Commits

Author SHA1 Message Date
undefined
e064d08c1b 🔄 Synced local '.github/settings.yml' with remote 'erlang/.github/settings.yml' 2023-02-13 01:19:40 +00:00
undefined
d2fd4bfcb5 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml' 2023-02-13 01:19:39 +00:00
undefined
90dd8f40c0 🔄 Synced local 'LICENSE' with remote 'LICENSE' 2023-02-13 01:19:39 +00:00
undefined
31934e6890 🔄 Created local '.github/workflows/basic-linters.yml' from remote 'workflows/base/basic-linters.yml' 2023-02-13 01:19:39 +00: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
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
c4a94f72e2
Use https for build utils (#33) 2021-06-29 14:46:33 +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
281462a3a9
Cleanup release (#31) 2020-12-02 20:20:44 +03:00
Sergey Yelin
2eba263c86
Make KDS suitable for tests (#30) 2020-11-17 16:47:11 +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
9393b58856
Add formatter (#26)
* Add erlfmt
* Apply erlfmt
* Make elvis stricter
* Update build-utils
2020-10-14 13:05:42 +03:00
Andrey Fadeev
0045e98757
Update woody to rbkmoney/woody_erlang@b563bbb (#25) 2020-07-28 12:54:48 +03:00
Sergey Yelin
8c02949fcc
update build utils security (#24)
* IS-964: Add security pipeline

* IS-964: Add secirity tools to pipeline

* Switch to Erlang service pipe

* Fix tests
2020-07-07 19:40:28 +03:00
Sergey Yelin
908c248d28
Update build_utils (#23) 2020-05-21 18:43:13 +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
ndiezel0
c51af554e7
CDS-101: Add filter for stacktrace (#20) 2020-02-25 18:38:58 +03:00
Sergey Yelin
fa90b71efe
Erlang 22 (#19) 2020-02-11 18:41:51 +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
Sergey Yelin
1d071eeab3
Update Erlang to 21.3.8.7 (#16) 2019-11-20 15:25:00 +03:00
Anton Kuranda
22bff56494
Let's make it opensource (#15) 2019-09-20 00:12:35 +03:00
Sergey Yelin
54456772ff
CDS-65: Add missing port to docker configuration (#14)
* CDS-65: Add missing port to docker configuration

* Fix comment
2019-09-04 17:03:03 +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
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