Comments (2)
I’m not sure how the signature is structured in version 2 tickets, but otherwise the parsing seems to succeed, so I consider this fixed.
from onlineticket.
Thank you very much for the fast reply and fix!
The UIC 2.0 tickets contain the following output:
OT
header: b'#UT'
version: b'02'
carrier: b'1080'
key_id: b'00002'
signature: ("SubstrateUnderrunError('116<62 at <TagSet object, tags 0:0:9>')", b'\t\xf4\x80\x05\xfd)u\r\xf8\x91\xbe\x9d\xea%I\xd4\x14+\x1b\xc1\xf7\t\x18Sa\xd0\xce\xf7n\x00\x11\x0b\x87\x82\xd3\xe8V\xb3\xe1\xf7KuF\xae\\\x1e\x8e\xc0\xf49\x9f\xdb\x8d\x15\n\xa0\x8c\xe4z\xec\x15\xcc\xfdd')
data_length: 208
signature_validity: 'INVALID (asn1 decode error)'
ticket:
0: GenericBlock
head: b'U_FLEX'
version: 13
length: 197
unknown_content: ...................................
Not sure if anything can be done for U_FLEX version 13, maybe I can research that.
from onlineticket.
Related Issues (15)
- Fehler bei Dekodierung der Barcode Daten
- Ticket nicht lesbar HOT 2
- Ticket nicht dekodierbar HOT 6
- "Out of the box" Probleme
- Problem mit PDF HOT 3
- download_keys.py shebang and executable bit
- Automatically detect if --zxing is required? HOT 1
- Installalationshinweise zu Abhängigkeiten
- Cant read "Studenten Deutschlandticket NRW" HOT 1
- Aktuelle DB-Sparpreise nicht dekodierbar HOT 2
- Python script doesn't work in Windows environment HOT 3
- Weitere Informationen und Quellen HOT 4
- Exception java.lang.NoClassDefFoundError: com/google/zxing/NotFoundException HOT 1
- Lizenz für Fork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onlineticket.