Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

NOISSUE - Add ability to revoke all certs for a given entity#107

Merged
dborovcanin merged 6 commits into
absmach:mainfrom
SammyOina:revoke-certs-entity
May 13, 2025
Merged

NOISSUE - Add ability to revoke all certs for a given entity#107
dborovcanin merged 6 commits into
absmach:mainfrom
SammyOina:revoke-certs-entity

Conversation

@SammyOina

@SammyOina SammyOina commented May 7, 2025

Copy link
Copy Markdown
Contributor

What type of PR is this?

This is a feature

What does this do?

Revoke certs for a given entity, required during removal of the entity

  • Implemented RevokeCerts method in the CertsService interface.
  • Added gRPC client and server methods for RevokeCerts.
  • Created request and response message types for RevokeCerts in the protobuf definition.
  • Updated service implementation to revoke all certificates for a given entity ID.
  • Enhanced logging and metrics middleware to track RevokeCerts operations.
  • Added mock implementations for RevokeCerts in the service and client mocks.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Did you document any new/modified features?

Notes

- Implemented RevokeCerts method in the CertsService interface.
- Added gRPC client and server methods for RevokeCerts.
- Created request and response message types for RevokeCerts in the protobuf definition.
- Updated service implementation to revoke all certificates for a given entity ID.
- Enhanced logging and metrics middleware to track RevokeCerts operations.
- Added mock implementations for RevokeCerts in the service and client mocks.

Signed-off-by: Sammy Oina <sammyoina@gmail.com>
@SammyOina SammyOina requested a review from nyagamunene May 7, 2025 10:10
SammyOina added 3 commits May 7, 2025 17:39
Signed-off-by: Sammy Oina <sammyoina@gmail.com>
Signed-off-by: Sammy Oina <sammyoina@gmail.com>
Signed-off-by: Sammy Oina <sammyoina@gmail.com>
nyagamunene
nyagamunene previously approved these changes May 9, 2025

@nyagamunene nyagamunene left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@SammyOina SammyOina requested a review from drasko May 9, 2025 10:27
Comment thread service.go
Signed-off-by: Sammy Oina <sammyoina@gmail.com>
WashingtonKK
WashingtonKK previously approved these changes May 13, 2025
Comment thread postgres/certs/certs.go Outdated
Signed-off-by: Sammy Oina <sammyoina@gmail.com>
@dborovcanin dborovcanin merged commit 0e46703 into absmach:main May 13, 2025
@SammyOina SammyOina deleted the revoke-certs-entity branch May 13, 2025 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants