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

DESfire DeleteApp authenticates to wrong AID #2336

Closed
craftbyte opened this issue Mar 21, 2024 · 1 comment · Fixed by #2337
Closed

DESfire DeleteApp authenticates to wrong AID #2336

craftbyte opened this issue Mar 21, 2024 · 1 comment · Fixed by #2337

Comments

@craftbyte
Copy link
Contributor

Describe the bug
When using hf mfdes deleteapp, the client authenticates and selects the AID being deleted instead of the PICC AID, which needs to be selected to manage apps (unless they are delegated). I would suggest either adding another CLI argument for the auth AID or having the default be to have the aid parameter specify the AID being deleted instead of the AID used for authentication.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure that unauthenticated app management is disabled in the PICC config
  2. Create a DESfire app with any AID
  3. Try to delete the same app

Expected behavior
The client authenticates to the PICC AID and then deletes the app.

@iceman1001
Copy link
Collaborator

Interesting,

We don't have many developers anymore, so you are the best candidate to do it.

Feel free to make pull request with the changes.

craftbyte added a commit to craftbyte/proxmark3 that referenced this issue Mar 21, 2024
craftbyte added a commit to craftbyte/proxmark3 that referenced this issue Mar 21, 2024
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 a pull request may close this issue.

2 participants