Skip to content

Feat/add insecure grpc connection - #130

Merged
jadiaconu merged 4 commits into
mainfrom
feat/add-insecure-grpc-connection
Aug 29, 2025
Merged

Feat/add insecure grpc connection#130
jadiaconu merged 4 commits into
mainfrom
feat/add-insecure-grpc-connection

Conversation

@jadiaconu

Copy link
Copy Markdown
Contributor

Description

Added a possibility to connect over a local insecure channel for the gRPC SDK connection.

Type of Change

  • Bugfix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
@github-actions

github-actions Bot commented Aug 29, 2025

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@jadiaconu
jadiaconu requested a review from Copilot August 29, 2025 07:40

This comment was marked as outdated.

copasseron
copasseron previously approved these changes Aug 29, 2025
Signed-off-by: jdiaconu <jdiaconu@cisco.com>

This comment was marked as outdated.

Signed-off-by: jdiaconu <jdiaconu@cisco.com>
@jadiaconu
jadiaconu requested a review from Copilot August 29, 2025 07:48
@jadiaconu
jadiaconu merged commit 9223934 into main Aug 29, 2025
6 checks passed
@jadiaconu
jadiaconu deleted the feat/add-insecure-grpc-connection branch August 29, 2025 07:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for insecure gRPC connections to the Identity SDK, allowing developers to connect to local gRPC services without SSL/TLS encryption. This is useful for development and testing scenarios where secure connections are not required.

  • Introduces IDENTITY_NODE_USE_SSL_INSECURE environment variable to control SSL behavior
  • Refactors connection logic to support both secure and insecure gRPC channels
  • Updates SDK version from 0.0.17 to 0.0.18

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sdk/python/pyproject.toml Bumps version to 0.0.18 and adds new contributor
sdk/python/agntcyidentity/client.py Refactors gRPC connection logic to support insecure channels and renames environment variables

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +52 to +53
channel_credentials = None

Copilot AI Aug 29, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] Setting channel_credentials = None and then conditionally overriding it creates unnecessary complexity. Consider initializing it directly in the conditional blocks or using a more explicit default value.

Suggested change
channel_credentials = None

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants