Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

feat(network-communication)!: More secure internal communication #342

Merged
merged 9 commits into from
Jan 25, 2024

Conversation

JumpLink
Copy link
Contributor

@JumpLink JumpLink commented Jan 24, 2024

Implement JWT for internal communication to make it more secure.

This is currently untested because we need to implement the verification for the other services first and then we need to test this on Portainer.

Breaking Changes

  • A new environment variable BEABEE_SERVICE_SECRET is required

@JumpLink JumpLink requested a review from wpf500 January 24, 2024 14:32
@JumpLink JumpLink changed the title More secure internal communication [Draft] More secure internal communication Jan 24, 2024
Copy link
Member

@wpf500 wpf500 left a comment

Choose a reason for hiding this comment

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

Good stuff, you always do lovely little tidy ups when adding things :)

@JumpLink JumpLink changed the title [Draft] More secure internal communication More secure internal communication Jan 25, 2024
@JumpLink
Copy link
Contributor Author

JumpLink commented Jan 25, 2024

I will merge the PR into #341, which will make it easier to implement the review changes. As long as the other services ignore the token, they should continue to work despite this change

@JumpLink JumpLink merged commit bd26f9e into notify-telegram-client Jan 25, 2024
4 checks passed
@JumpLink JumpLink deleted the secure-internal-communication branch January 25, 2024 07:59
@JumpLink JumpLink changed the title More secure internal communication eat(network-communication)!: More secure internal communication Jan 25, 2024
@JumpLink JumpLink changed the title eat(network-communication)!: More secure internal communication feat(network-communication)!: More secure internal communication Feb 7, 2024
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.

2 participants