Skip to content

password signing utility #11 - #53

Open
Collo006 wants to merge 7 commits into
Flying-Tea-Squad:mainfrom
Collo006:feat/password-signing-utility
Open

Collo006 wants to merge 7 commits into
Flying-Tea-Squad:mainfrom
Collo006:feat/password-signing-utility

Conversation

@Collo006

Copy link
Copy Markdown

Description
This pull request addresses issue #11 by implementing password generation logic and setting up the foundations for the KCB Buni API integration.

Key Changes
Security/Utility: Implemented generatePassword() function with Base64 encoding.
Architecture: Initialized the kcb-buni-api folder structure.
Current Progress & Next Steps
Currently implementing the authentication mechanism for the newly added KCB Buni API module.

@Collo006 Collo006 changed the title Feat/password signing utility password signing utility #11 Jul 29, 2026
Comment thread mpesa/signing_test.go
got := generatePassword(
"174379",
"abc123",
"202607211103045",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The M-Pesa timestamp format is YYYYMMDDHHmmss which has 14 digits, this string has 15 digits which might cause the test to generate an invalid token.

Comment thread mpesa/signing_test.go
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.

2 participants