Hope you're having a nice day.
I need to implement an authentication system between a "document" (it's not exactly a document, but an object without any computing capacity, only able to store information) and a computer. The document will have some sort of information stored there by the computer, and then it will be given to an user and kept away from the computer. When the computer detects the document again, it will identify its possessor as the user to whom it was given to and authenticate it.
However, the computer isn't assumed secure, so I need the information stored there to don't be enough to replicate the document and to let us know if the computer has been modified.
On the one hand, I would like to know if the implementation I was thinking to use would be insecure: I was thinking of using RSA; I'll store the private key in the document and the public in the computer. Then, for authenticating, I'll encrypt and decrypt a random number less than N (the modulo) and see if it results the original one. This will be right, wouldn't it?
On the other hand, I would like to know if there is some research done about this topic and if there are any papers developing it. I've tried to search it by myself, but I don't know how to describe precisely without needing quite a long text. Is there any term for this type of security?
Please, don't hesitate to ask me more details in case I haven't explained myself very well. Thank you so much in advance for your help.