frankmorgner / vsmartcard

umbrella project for emulation of smart card readers or smart cards
http://frankmorgner.github.io/vsmartcard/
684 stars 197 forks source link

Communication between two phones and vicc #255

Closed JackHunter0x3a closed 9 months ago

JackHunter0x3a commented 10 months ago

Hello, I'm trying to figure out the architecture of this nice looking project made with so much effort. Is it possible for this architecture to communicate between: phone (android connected to reader) > = < cloud server > = < android phone

Where I use the <> characters to indicate that there is two-way communication between Phone A and Phone B.

If this architecture would work, then on the Cloud Server should I install ubuntu and run vicc and this two applications on Phone A and B it’s need to be connected to the server?

Does it work on version Ubuntu 20.04.6 LTS?

In reality, I imagine that I read the data through the first one with the reader and send it to phone 2, already phone two can use an emulator if it wants, or can it only read? but the important thing is that the Cloud host itself is correct?

frankmorgner commented 10 months ago

This should work in a local network without cloud service:

phone + smart card emulator <-- (local network) --> phone + smart card emulator <--> real reader

All you would have to do to do this via the internet would be to add VPN on top so that both phones can communicate to each other.