Skip to content

Fix: tag is incorrectly extracted from bundle in ShieldNote.decryptRandom#125

Merged
mesquka merged 1 commit intoRailgun-Community:mainfrom
Robert-MacWha:main
Feb 5, 2026
Merged

Fix: tag is incorrectly extracted from bundle in ShieldNote.decryptRandom#125
mesquka merged 1 commit intoRailgun-Community:mainfrom
Robert-MacWha:main

Conversation

@Robert-MacWha
Copy link
Copy Markdown
Contributor

No description provided.

The tag occupies bytes 32-64 in bundle[0].  This bug doesn't result in any broken behavior since inside `decryptGCM` you trim the data with `ByteUtils.trim`.
@Robert-MacWha
Copy link
Copy Markdown
Contributor Author

Robert-MacWha commented Feb 3, 2026

fix: #126

Copy link
Copy Markdown
Collaborator

@mesquka mesquka left a comment

Choose a reason for hiding this comment

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

good fix

@mesquka mesquka merged commit 98b69b8 into Railgun-Community:main Feb 5, 2026
5 of 6 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.

2 participants