Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activation Code cannot be parsed correctly when the OID is empty #153

Open
ShiinaSekiu opened this issue Sep 7, 2024 · 0 comments
Open

Comments

@ShiinaSekiu
Copy link
Contributor

The required confirmation code flag cannot be parsed correctly if the OID is empty, while executing lpac profile download -a.
Example error:

.\lpac.exe profile download -a 'LPA:1$huk.prod.ondemandconnectivity.com$LBHWREN8ASCLTOTF$$1'
{"type":"progress","payload":{"code":0,"message":"es10b_get_euicc_challenge_and_info","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"progress","payload":{"code":0,"message":"es9p_initiate_authentication","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"progress","payload":{"code":0,"message":"es10b_authenticate_server","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"progress","payload":{"code":0,"message":"es9p_authenticate_client","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"progress","payload":{"code":0,"message":"es10b_cancel_session","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"progress","payload":{"code":0,"message":"es9p_cancel_session","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"lpa","payload":{"code":-1,"message":"es9p_authenticate_client","data":"Bad profile state [expected=Released or Error_DownloadFailed or Downloaded] [actual=Error_InstallFailed]"}}

Expected behavior:

.\lpac.exe profile download -a 'LPA:1$huk.prod.ondemandconnectivity.com$LBHWREN8ASCLTOTF$x$1'
{"type":"progress","payload":{"code":0,"message":"es10b_cancel_session","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"progress","payload":{"code":0,"message":"es9p_cancel_session","data":"huk.prod.ondemandconnectivity.com"}}
{"type":"lpa","payload":{"code":-1,"message":"confirmation_code","data":"required"}}
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

No branches or pull requests

1 participant