Bug: Decrypt Function Fails Due to Incorrect Parameter Passing #120
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I raised and issue ragarding this so i am giving a pull request and please add labels to issue i am part of Gssoc
Bug: Decrypt Function Fails Due to Incorrect Parameter Passing
Description:
This PR addresses a bug in the decryption process of the password management application. The issue occurs in the
decrypt
function, where the input is not handled correctly, resulting in aTypeError
when attempting to split the input string.Issue:
TypeError: text.split is not a function or its return value is not iterable
decrypt
function is incorrectly passed as an object instead of a string.Changes Made:
decrypt
Function:decrypt
function to ensure the correct value is passed.Code Changes:
Here are the relevant sections of code for reference:
Original
decrypt
Function:Updated Usage in the Password Fetching Route:
Testing:
Conclusion:
This fix ensures that the decryption process functions correctly and enhances the stability of the application.
Feel free to modify any part of this template to better suit your style or to include any additional information you think might be relevant.