Skip to content

Fix resync and sequence number logic in authentication procedure. - #34

Merged
ak2btvm merged 1 commit into
cdacmasterfrom
udm-auth-resync
Apr 23, 2026
Merged

Fix resync and sequence number logic in authentication procedure.#34
ak2btvm merged 1 commit into
cdacmasterfrom
udm-auth-resync

Conversation

@bhagathkrishnacdac

Copy link
Copy Markdown

What type of PR is this?

/kind bug fix

What this PR does / why we need it:
This PR refactors the GenerateAuthDataProcedure in UDM to improve code maintainability and resolve SonarQube code quality issues. It modularizes the authentication logic into distinct functions for credential derivation, sequence number management, and vector building. Crucially, it ensures cryptographic synchronization of the SQN and RAND variables across these modules to fix a regression where AUTN verification failed during resynchronization and standard authentication flows.

Which issue(s) this PR fixes:

Fixes #32

Test Report Added?:

/kind TESTED

Test Report:

NA

Special notes for your reviewer:
NIL

@ak2btvm ak2btvm 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.

Approved

@ak2btvm
ak2btvm merged commit 4d178e2 into cdacmaster Apr 23, 2026
14 checks passed
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.

Refactor: Code Quality Improvements and Method Simplification for UDM Service

2 participants