In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

Read only mode

JavaCard Applet Development Related Questions and Answers.
User avatar
javacardbr
Posts: 22
Joined: Mon Aug 10, 2015 9:38 am
Points :104
Location: BRAZIL
Contact:

Read only mode

Post by javacardbr » Tue Sep 29, 2015 8:49 am

Please, Can I send an apdu to set the card read only to prevent data deletion?

regards,
Learning every day ;)

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :136
Contact:

Re: Read only mode

Post by horse dream » Tue Sep 29, 2015 11:52 pm

You can change the authentication keys to achieve your goal and be sure to save the new key in secret.

For APDU command to change the authentication keys, check the GP specification.

User avatar
javacardbr
Posts: 22
Joined: Mon Aug 10, 2015 9:38 am
Points :104
Location: BRAZIL
Contact:

Re: Read only mode

Post by javacardbr » Wed Sep 30, 2015 7:21 am

horse dream wrote:You can change the authentication keys to achieve your goal and be sure to save the new key in secret.

For APDU command to change the authentication keys, check the GP specification.


Hi horse dream! Thanks for your answer.

I would like to put all the card as read-only without using an authentication key, is it possible?

Cheers,
Learning every day ;)

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :136
Contact:

Re: Read only mode

Post by horse dream » Thu Oct 01, 2015 11:44 pm

javacardbr wrote:
Hi horse dream! Thanks for your answer.

I would like to put all the card as read-only without using an authentication key, is it possible?

Cheers,


You can also set your own PIN to fit your needs.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3023
Contact:

Re: Read only mode

Post by UNKNwYSHSA » Fri Oct 02, 2015 1:47 pm

You can do some authentication, GP auth PIN auth, if authed, card can be modified, otherwise, the card content is read only. as "horse dream" said.
sense and simplicity

User avatar
javacardbr
Posts: 22
Joined: Mon Aug 10, 2015 9:38 am
Points :104
Location: BRAZIL
Contact:

Re: Read only mode

Post by javacardbr » Fri Oct 02, 2015 4:25 pm

Thanks!
Learning every day ;)

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 4 guests

JavaCard OS : Disclaimer