Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rust/rbac-registration): refactoring #127

Merged
merged 94 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
6ad8cdc
Introduce Cip0134UriSet type (#119)
stanislav-tkach Dec 30, 2024
0b680c7
Store x509 certificates (Cip509RbacMetadata::x509_certs) in the decod…
stanislav-tkach Dec 31, 2024
c94f142
Store and update certificate URIs in the registration chain (#130)
stanislav-tkach Jan 2, 2025
8298dff
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 2, 2025
78df433
Merge branch 'main' into rbac-registration-improvements
stevenj Jan 3, 2025
927da38
Check for presense of purpose and txn_inputs_hash fields
stanislav-tkach Jan 3, 2025
84137d9
Use Blake2b256Hash type
stanislav-tkach Jan 3, 2025
a5af8a8
Make Cip509 field private
stanislav-tkach Jan 3, 2025
012601e
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 7, 2025
800ee5c
Use problem report
stanislav-tkach Jan 8, 2025
ec483f2
More problem report usage in Cip509RbacMetadata
stanislav-tkach Jan 8, 2025
d9cd7b9
Cip0134Uri::try_from(&[u8])
stanislav-tkach Jan 8, 2025
b3be9b0
Move addresses extraction to a function
stanislav-tkach Jan 8, 2025
2afd1ff
Move Cip0134Uri to the cardano-blockchain-types crate
stanislav-tkach Jan 8, 2025
de667b7
role data as map
stanislav-tkach Jan 8, 2025
fccfe4f
Role0 constant
stanislav-tkach Jan 8, 2025
154d1da
Member functions
stanislav-tkach Jan 8, 2025
a7a5251
Cip509 constructors
stanislav-tkach Jan 8, 2025
822f057
Merge branch 'main' into rbac-registration-improvements
stevenj Jan 9, 2025
f832ec1
Validation
stanislav-tkach Jan 10, 2025
847c6dc
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 10, 2025
60a0dba
Fix after merge
stanislav-tkach Jan 10, 2025
20e731e
Validation tests
stanislav-tkach Jan 10, 2025
1ce2bf0
Registration chain
stanislav-tkach Jan 10, 2025
5750462
Fix clippy warnings and some tests
stanislav-tkach Jan 10, 2025
45e9786
Test decremented_index
stanislav-tkach Jan 11, 2025
4044a84
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 13, 2025
fb7d600
decode context
stanislav-tkach Jan 13, 2025
5832e8a
Role data conversion
stanislav-tkach Jan 14, 2025
cf8937a
Fix clippy lints
stanislav-tkach Jan 14, 2025
df6fef9
Update the validation tests
stanislav-tkach Jan 14, 2025
7a31b92
Update chunks decoding tests
stanislav-tkach Jan 14, 2025
56609ef
Move payment history types
stanislav-tkach Jan 14, 2025
d129ea1
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 14, 2025
551acae
Move payment history to Cip509
stanislav-tkach Jan 14, 2025
d852869
Add TODO comments
stanislav-tkach Jan 14, 2025
b9ad9cf
Use TxnWitness from cardano-blockchain-types
stanislav-tkach Jan 14, 2025
31c8df5
Clippy
stanislav-tkach Jan 14, 2025
7432ec1
Use (more) types from the 'cardano-blockchain-types' crate
stanislav-tkach Jan 14, 2025
13362d0
Update the registration chain tests
stanislav-tkach Jan 14, 2025
92556e2
Fix clippy (again)
stanislav-tkach Jan 14, 2025
e2c163c
Fix warnings in the tests
stanislav-tkach Jan 14, 2025
7b0befe
Use the 'cbork-utils' crate
stanislav-tkach Jan 15, 2025
1ea6d16
Remove MultiEraBlock::new_block
stanislav-tkach Jan 15, 2025
068cbdf
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 15, 2025
bf843d4
Fix the 'decode_any' usage
stanislav-tkach Jan 15, 2025
6c71c5a
Split certificates into multiple files
stanislav-tkach Jan 15, 2025
36d7c45
Fix some review comments
stanislav-tkach Jan 16, 2025
aac3103
Remove duplicated hash helpers
stanislav-tkach Jan 16, 2025
ea67b47
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 16, 2025
5934fd4
Fix after merge
stanislav-tkach Jan 16, 2025
b51687f
Update the payment key logic
stanislav-tkach Jan 16, 2025
d47695e
Remove unused dependencies
stanislav-tkach Jan 16, 2025
4bce78c
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 16, 2025
06536b8
More error handling
stanislav-tkach Jan 16, 2025
3d9faf8
Improve role 0 signing key validation
stanislav-tkach Jan 17, 2025
c787b27
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 17, 2025
5247896
Error handling
stanislav-tkach Jan 17, 2025
372b59b
More error handling
stanislav-tkach Jan 17, 2025
b6d4519
Fix Clippy
stanislav-tkach Jan 17, 2025
aa1aaec
Improve error handling once again
stanislav-tkach Jan 17, 2025
3eb7126
update decode_revocation_list
stanislav-tkach Jan 17, 2025
d8adc38
test(rust/rbac-registration): Fix test in CIP509 (#160)
bkioshn Jan 20, 2025
369b43b
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 20, 2025
cad6c62
Fix after merge
stanislav-tkach Jan 20, 2025
8909b59
Add the 'assert_valid' function for the test data
stanislav-tkach Jan 20, 2025
05ac75e
test(rust/rbac-registration): RBAC None role0 key reference (#163)
bkioshn Jan 21, 2025
1819264
Add/fix certificates/role checks
stanislav-tkach Jan 21, 2025
bd283e0
Check the encryption key for non-0 roles
stanislav-tkach Jan 21, 2025
ff4d433
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 21, 2025
d5e9e27
Check for role 0 certificates for other roles
stanislav-tkach Jan 21, 2025
9c56ed5
test(rust/rbac-registration): Fix test data + undefined bug (#168)
bkioshn Jan 22, 2025
8bff419
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 22, 2025
98ef6dd
Remove the 'raw_aux_module' because it was moved to cardano-blockchai…
stanislav-tkach Jan 22, 2025
9df7c30
Use block.txn_metadata function
stanislav-tkach Jan 22, 2025
5c53373
Remove removed params from the documentation
stanislav-tkach Jan 22, 2025
bd804fe
One more update for the role data validation
stanislav-tkach Jan 22, 2025
5dd995d
Remove unused dependency
stanislav-tkach Jan 22, 2025
2add588
Ensure that there is no encryption key for the role 0
stanislav-tkach Jan 23, 2025
a4335f4
Use the encryption key value in the message
stanislav-tkach Jan 23, 2025
7214cdc
Use UuidV4
stanislav-tkach Jan 23, 2025
c7d1aa1
Remove duplicated check
stanislav-tkach Jan 23, 2025
8287bc0
Revert UUID changes (temporary)
stanislav-tkach Jan 23, 2025
596b47d
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 23, 2025
fecdd65
Update UUID names
stanislav-tkach Jan 23, 2025
81eec3d
Use revision for cbork-utils
stanislav-tkach Jan 23, 2025
5d67b68
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 23, 2025
925b539
Use revisions instead of paths for dependencies
stanislav-tkach Jan 23, 2025
3371497
Merge remote-tracking branch 'origin/rbac-registration-improvements' …
stanislav-tkach Jan 23, 2025
1ca1e49
test(rust/rbac-registration): Fix RBAC test data (#175)
bkioshn Jan 24, 2025
21e6bfc
Use tag for dependencies
stanislav-tkach Jan 24, 2025
a43d6ec
Update public key at 0 index error message
stanislav-tkach Jan 24, 2025
7c81843
Merge branch 'main' into rbac-registration-improvements
stevenj Jan 24, 2025
3823a9c
Merge branch 'main' into rbac-registration-improvements
stanislav-tkach Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions rust/rbac-registration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ brotli = "7.0.0"
zstd = "0.13.2"
x509-cert = "0.2.5"
der-parser = "9.0.0"
dashmap = "6.1.0"
blake2b_simd = "1.0.2"
tracing = "0.1.40"
ed25519-dalek = "2.1.1"
uuid = "1.11.0"

c509-certificate = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git" , tag = "v0.0.3" }
c509-certificate = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "v0.0.3" }
pallas = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
cbork-utils = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250124-00" }
cardano-blockchain-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250124-00" }
catalyst-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250124-00" }
Loading
Loading