-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Identity v2 #5598
Merged
Merged
Identity v2 #5598
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
10 times, most recently
from
August 21, 2023 13:28
1679348
to
9154384
Compare
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
3 times, most recently
from
August 22, 2023 15:41
1ba7fb0
to
47c9ef3
Compare
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
2 times, most recently
from
August 23, 2023 10:47
83a2a6d
to
9f5e381
Compare
Updated documentation is here build-trust/ockam-documentation#57 |
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
13 times, most recently
from
August 24, 2023 12:33
8ca9734
to
0f084d2
Compare
@SanjoDeundiak Before we merge this branch let's squash the commit, otherwise we end up with really noisy changelogs. This PR is ~one logical change. |
@mrinalwadhwa ok, next time, I won't waste time on isolated commits with proper descriptions :D |
😁 we can keep everything you wrote in the description of the squashed commit |
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
5 times, most recently
from
September 18, 2023 16:19
d6369d7
to
b70ab9d
Compare
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
from
September 19, 2023 13:29
7e60501
to
346b0f3
Compare
List of commits before the big squash: - feat(rust): extend `v2` identity api - feat(rust): improve verify credential api - feat(rust): extend `Identifier` api - fix(rust): fix `Identity`-related builders - feat(rust): improve `Identifier` serialization - feat(rust): use `v2` identity in `ockam` crate - feat(rust): use `v2` identity in `ockam_abac` crate - feat(rust): use `v2` identity in `ockam_api` crate - feat(rust): use `v2` identity in `ockam_command` crate - feat(rust): replace `controller.id` with temporary value - feat(rust): remove const-time comparison for `Identifier` - chore(rust): fix clippy warnings - test(rust): replace fixture of enrollment ticket - feat(rust): add `import_private_identity` method - feat(rust): check if public key matched on private identity import - feat(rust): rewrite `Vault` - feat(rust): update `ockam_identity` to new `Vault` structure - feat(rust): disable old identity implementation to avoid updating it with new `Vault` - test(rust): delete old identity implementation tests - feat(rust): update `ockam` to new `Vault` structure - feat(rust): update `ockam_api` to new `Vault` structure - feat(rust): update `ockam_command` to new `Vault` structure - feat(rust): update `AWS` vault - fix(rust): change p256 public key length to 65 - fix(rust): fix `import_private_identity` fn - test(rust): fix compilation for aws `ockam_command` test - feat(rust): replace old identity implementation with the new one - fix(rust): fix `no_std` build - test(rust): replace all-zero test identity with a random - feat(rust): change `import_private_identity` to accept binary instead of hex - chore(rust): decrease level of logging for some messages - feat(rust): save `Identity` to the storage during import - test(rust): update kafka integration test - feat(rust): implement and use lazy purpose key creation - fix(rust): fix `expected_identifier` check during credentials verification - feat(rust): remove deprecated `PROJECT_ID` from credentials check - feat(rust): add `encoding_utils` to `ockam_identity` - feat(rust): improve display implementation for identity-related models - feat(rust): add `create` to software vaults - chore(rust): organize vault imports - feat(rust): add sync interface for `SoftwareVerifyingVault` - feat(rust): update ffi according to the new `Vault` design - feat(rust): improve `ockam/src/node.rs` - chore(rust): fix `get_started` examples - feat(rust): improve aes length checks - test(rust): fix secure_channel/vault integration test - feat(rust): remove `PurposeKeys` from `SecureChannels` - feat(rust): improve `Identity` verification - test(rust): improve `Identity` verification tests - chore(rust): clean up identities `mod.rs` - feat(rust): delete the old key during rotation - feat(rust): add persistent `Identity` rotation - feat(rust): improve `PurposeKey` and `Credential` verification - feat(rust): add `TRUST_CONTEXT_ID_UTF8` for type-safety - test(rust): fix `Identity` comparison test - chore(rust): remove `extern crate core;` from `ockam_command` - feat(rust): add key type check on identity creation with an existing key - fix(rust): rebase fixes - chore(rust): update import formats in `ockam_identity` - feat(rust): add `export_identity` and `get_identity` to `Identities` - feat(rust): add `IdentityBuilder` - test(rust): fix aws identity test - feat(rust): split `PurposeKeys` into creation and verification - feat(rust): split `Credentials` into creation and verification - feat(rust): move models conversions - feat(rust): add `PurposeKeyBuilder` - feat(rust): improve `IdentityBuilder` and `PurposeKeyBuilder` - feat(rust): better key type checks - test(rust): improve identity and purposekey tests - chore(rust): no_std fix - chore(rust): add a `FIXME` for `TrustContext` - feat(rust): split identity models into multiple files - feat(rust): split signing_vault into identity_vault and credential_vault - feat(rust): move `Vault` structure to `ockam_identity` - test(rust): update bats test to support new `Identity` - feat(rust): optimize credentials on-the-wire format - feat(rust): add ability to attest `PurposeKey` given its public key - fix(rust): remove panic from `SecretType` -> `SecretAttributes` cast - fix(rust): `no_std` build - feat(rust): remove unused vault part - feat(rust): allow 5 sec time drift during creds and pk verification
Adapts to new identity desing, get rid of the separate sidecar and vault ffi. Use rustler for rust>elixir bindings on Identity/Credentials.
SanjoDeundiak
force-pushed
the
sanjo/identity_integration
branch
from
September 19, 2023 14:03
346b0f3
to
7e2a962
Compare
polvorin
approved these changes
Sep 19, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
Sep 19, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Sep 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Identity
:PurposeKey
sVault
SigningVault
,VerifyingVault
andSecureChannelVault
AWS
Vault
:Attributes
key type to binaryIdentity
modelsNOTE
It also breaks backward compatibility:
LEGACY_ID
is removed from the credential