-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Describe the bug
The AadhaarSecureQr
class in the pyaadhaar
library fails to decode or return incorrect results when provided with Aadhaar secure QR code data.
To Reproduce
Steps to reproduce the behavior:
- Install the
pyaadhaar
library usingpip install pyaadhaar
. - Import the
AadhaarSecureQr
class from thepyaadhaar.decode
module. - Pass valid Aadhaar QR code data into the
AadhaarSecureQr
class. - Call
obj.decodeddata()
to decode the data. - Observe that the decoding process either throws an error or returns incorrect data.
Expected behavior
The AadhaarSecureQr
class should correctly decode the Aadhaar QR code data and return the expected information without errors.
Screenshots
(Optional) Include any relevant screenshots if the decoding process results in an error message or an unexpected output.
Desktop (please complete the following information):
- OS: Windows 10 (or your OS version)
- Browser: N/A (This issue occurs in Python, not a browser)
- Version: Python 3.9.6 (or your Python version)
Smartphone (please complete the following information):
- Device: N/A
- OS: N/A
- Browser: N/A
- Version: N/A
Additional context
The issue may be related to incorrect handling of QR data or potential incompatibilities in the pyaadhaar
library when decoding certain Aadhaar QR codes. Additional debugging or review of the library's handling of QR data might be necessary.