-
I'm confused about whether or not this project supports automatically requesting keys from a transit agency in the app. On one hand, the wiki states:
On the other hand, I'm seeing support in the source code for requesting keys for TFI Leap card. I'm asking since I'm in the process of reverse-engineering PRESTO card (Ontario, Canada). It contains mostly encrypted data, but it's readable by the official PRESTO app when online, similar to Leap. Only the serial number and some mystery bits are unencrypted. The balance and other information appear to be stored in the encrypted files. Should I just submit a pull request with PRESTO as a serial-only card, or is it also worth trying to reverse-engineer the protocol used in the official app with the intent of adding support for reading the encrypted card data in metrodroid? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Nevermind, I found the answer to my question on the metrodroid main site:
|
Beta Was this translation helpful? Give feedback.
-
To answer this more concretely, a lot of that was written before Leap card support was a thing – and was actually written because of Myki. While I'm not familiar with PRESTO, I'll contrast and compare my thought process about Leap against two card which won't get carve-outs: Myki and Opal:
Any other card would at least need to meet the same criteria Leap does to get a carve-out. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to read available balance for a Felica Sa-01 based card where the data is stored on the card but encrypted (likely with AES-128). I can read the raw data. Can anyone direct me to resources on how to tackle this? Metro droid app throws "Not supported" message. Thanks in advance |
Beta Was this translation helpful? Give feedback.
To answer this more concretely, a lot of that was written before Leap card support was a thing – and was actually written because of Myki. While I'm not familiar with PRESTO, I'll contrast and compare my thought process about Leap against two card which won't get carve-outs: Myki and Opal:
Would using a web service for the card to get data make Metrodroid essentially a glorified HTML screen scraper?
Rationale: HTML screen scraping is very fragile. Using a website directly is generally better!
If there is a web service to unlock the card, is that operate…