Skip to content

Conversation

@adecaro
Copy link
Contributor

@adecaro adecaro commented Jul 29, 2025

This PR does the following: It introduces the KeyStoreDB to replace the FSC's KVS as keystore for the BCCSP.
This way, we can better control the behaviour of this component.

@adecaro adecaro added this to the Q3/25 milestone Jul 29, 2025
@adecaro adecaro self-assigned this Jul 29, 2025
@adecaro adecaro linked an issue Jul 29, 2025 that may be closed by this pull request
@adecaro adecaro force-pushed the 1167-rework-tokenservicesdbsqlcommonidentitygo branch 2 times, most recently from c3917f3 to b823b49 Compare July 30, 2025 14:30
@adecaro adecaro requested a review from alexandrosfilios July 30, 2025 14:55
Format()
logger.Debug(query, args)

_, err = db.writeDB.Exec(query, args...)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot pass it because who is receive this struct doesn't have a context :(

From(q.Table(db.table.KeyStore)).
Where(cond.Eq("key", key)).
Format(db.ci)
raw, err := common.QueryUnique[[]byte](db.readDB, query, args...)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same issue.

Copy link
Contributor

@alexandrosfilios alexandrosfilios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo comments

adecaro added 13 commits July 31, 2025 11:24
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro adecaro force-pushed the 1167-rework-tokenservicesdbsqlcommonidentitygo branch from 433f606 to 2a94f7a Compare July 31, 2025 09:24
@adecaro adecaro merged commit 3d81881 into main Jul 31, 2025
52 checks passed
@adecaro adecaro deleted the 1167-rework-tokenservicesdbsqlcommonidentitygo branch July 31, 2025 12:41
@adecaro adecaro linked an issue Aug 1, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rework token/services/db/sql/common/identity.go identitydb service: introduce support for a KVS

3 participants