Decode Drivers Licence Barcode

Thank you pPat for sharing this. There are a few companies/people who are suppressing the industry by keeping this a secret and they are contributing to the demise of the SA economy. They limit competition and charge exorbitant prices.

This is so awful glamprecht...
There are some good Samaritans that published a few keys on this forum which do work though failing for the type I described in my previous post.
Hopefully another good one would see this conversation and be willing to share more of those keys
 
Good Evening,

To link in with the the sentiment regarding this technology being monopolized by capatalists. I would like to extend the following offer to all interested parties. I have a working solution for this for linux, windows and android. Although i would have loved to provide this for free i am currently not in the financial position to do so. Anybody interested in obtaining a copy of any one of the versions please contact me. For a reasonable offer I will provide you with a license free version with no hidden restrictions other than the android version only supporting armabi-v7a achitecture, and the linux version x86.
 
I'm looking for an Android (armabi-v7a) Summus WI Image decoder solution. Does anybody have something they are willing to sell for a reasonable offer?
 
Hey guys. Does anyone understand if this tech / service is commercially available via api and who in South Africa provides the barcode decode service. I have a commercial use case but I need it to be legal and legit. I know Regula has an iOS app that reads the barcode on an ID quite efficiently but their costs at $8000 is prohibitive. Any insights would be appreciated.
 
I have been wondering about this type of software.

Does it not go against the POPI act?
 
For anyone still interested, I have written an open source Dart package which provides the means to gather the information from a Driver's license barcode: https://pub.dev/packages/rsa_identification

Please leave a like on the package if you find it useful.
Excellent!
For the non-developers, can someone turn this into an executable we can run? Even better, a mobile app or website we can visit.
 
I have been wondering about this type of software.

Does it not go against the POPI act?
Believe sections of popi act not valid yet , had a fight with security guard at a townhouse complex when he wanted to scan my driver's.
He could not tell me what data they storing and how they protect my personal info from leaking into the wrong hands.
 
Believe sections of popi act not valid yet , had a fight with security guard at a townhouse complex when he wanted to scan my driver's.
He could not tell me what data they storing and how they protect my personal info from leaking into the wrong hands.
I strongly agree with your sentiment around leaking the info.
 
I have been wondering about this type of software.

Does it not go against the POPI act?

Remember the barcode only includes information also visible on the front of the ID or Driver's license. When you hand your ID/Driver's to someone to scan you are giving them consent to view this information. Since the package does not entail the storage of any of the data I don't believe it goes against the POPI act.

If someone ends up using the package and subsequently storing the data, that's a different story.
 
Remember the barcode only includes information also visible on the front of the ID or Driver's license. When you hand your ID/Driver's to someone to scan you are giving them consent to view this information. Since the package does not entail the storage of any of the data I don't believe it goes against the POPI act.

If someone ends up using the package and subsequently storing the data, that's a different story.
I was talking more about storing the data.
 
Looks like there is going to be a shakeup as the SADL is getting a refresh/do over in the near future.
Now they DON'T mention whether or not they will continue with the underhanded encryption but they do say
it will: "Boast improved security features and be ISO 18013 compliant", Interestingly Mobile/e-licenses are also mentioned?

Have a read Here -> https://businesstech.co.za/news/mot...g-new-drivers-licences-what-you-need-to-know/

And here -> https://ewn.co.za/2020/05/07/transport-dept-to-modernise-its-drivers-licence-system-amid-covid-19
 
Last edited:
New SADL SDK Availalbe:

Android 32Bit Aar Library with Camera Decoder Included. The aar includes all dependencies, Simply Add the Import the aar in your project and implement.

Xamarin Binding Library (Same as the Aar library, except i am still working on including the camera decoder in Xam version).

Anybody Interested?
 
See if you can get the APK (Android) downloaded from the link below and install it on an android device:


It will scan and extract data (not image) from Version 2 Driver Licences. All the data:

License type 1
License type 2
License Type 3
License Type 4
Surname
Initials
PrDP Code
ID Country of Issue
License Country of Issue
Vehicle Restriction L1
Vehicle Restriction L2
Vehicle Restriction L3
Vehicle Restriction L4
License Number
ID Number

and.....

ID Number Type
Issue Date L1
Issue Date L2
Issue Date L3
Issue Date L4
Driver Restrictions
PrDP Expiry Date
License Issue Number
Birth Date
Valid From
Valid To
Gender
 
Last edited:
I used this code, it did not fail however this doesn't decrypt it, almost looks more encrypted :) will still play around but here is the base64 for the first 128 bytes after your code. Will this be UTF7, UTF8 UTF32 or ASCII

Input: 019b0945000060e9a27a1e475f89af17cb3a5ae86bd91152d22fbca1f462ba8bd39e9341bb26ad82e3ab1b4e68069247b75286edb64fed476c1a444bba7ffeca8ac9ddcf629ac582a865b8eefec682f33de40e68a6fc08265df86ad058376db56e4a9d2a2da285d11f408493fb4706abc346632a156b517c87b58372a3afda8be11dbae4a8f5a3d1881559ce0c69acd026770fd9e75c28c4abd0b2796e70eca894d8546bd8456bdcd9af0aa112f78b56523471b46805ae844a66108ba2f12a28180e5ddded48436239eae212c6193d351201e6a24613d2482ddae552bf7e21729246667a9cd5c730ba4b80736586f5f90894b1017fcea7b299cd6241a266c4b7b28b704de1f0266025358d134686e1cac2ba9af74ea16b9524f4fca20792d2618beec8499dbab596f5a56531f26462c996dad5e1278400a5266c5b5aed2dd3cae135821148bdfd3d564ac127c90d3a125031cb263e63879dfdd10725dc80225a700e5d259a5a1d2340d7bd2d3fecc9b078e1726661e2c51b945b56d762fa3067f2b926dd2707a74e1535abf1a7ee09b0ec40689cd3b3b9995dfdda9b5f33482f1441afa48304a68b24b942464d0334d4b20c17a6f09d5db119257212f7b2d48860e22c64924dc53c03557624a020b175ef47553946ce2e60c3f2ba95865d73b2d440c2fd3eb3c9850447c249c869444dbc103d8197c5556355e6c46455b61aa0b176bcc73290b532726d4339bb35b144fecf5c5d4c5e90aef23fc9c9375ae7206f9ea5a22255365f7e0728e3360cb78562c805a4f9a2b4a674eb5af30b598b98b16227a223505e2e013e426296e8f3d1ff03d6506fa431162438afabbc4e8b9626e8821d6bd264ff9d35a2df90e2be27e0297c162a0a6bbc937f349d31413484b52ca27255b2263abde2793cb946387685de9662777cdf6808a18c3a25759ed4e6ab6410f7881b655421be87e3f3df100062f12ae806059ca3e11248557080a64e4ec6e0a46697cae4c5c5197e3defdc

Output

WBGeyAilMi+CTwZUipZQxUgJV1jC3vbnIaV36erGswFimTiae8+NCw9ge9M5OLvxBZAKJb3VFU1OrAtTMLgm/3/K7rzVm0oDf9Oy+FMzvaKVcaNNWlNg3JVd2CedHLfatq++o09nlYzkb6OzNP1ZK+jvROBz6nFgipf2x2t//2w=
The first block of 128 (from the above) that needs to be decrypted is as follows:

60e9a27a1e475f89af17cb3a5ae86bd91152d22fbca1f462ba8bd39e9341bb26ad82e3ab1b4e68069247b75286edb64fed476c1a444bba7ffeca8ac9ddcf629ac582a865b8eefec682f33de40e68a6fc08265df86ad058376db56e4a9d2a2da285d11f408493fb4706abc346632a156b517c87b58372a3afda8be11dbae4a8f5

Once decrypted and parsed correctly it gives the following data:
License Type 1: B
License Type 2: nil
License Type 3: nil
License Type 4: nil
Surname: JANSEN
Initials: DC
PrDP Code: nil
ID Country of Issue: ZA
License Country of Issue: ZA
Vehicle Restrictions License 1: 0
Vehicle Restrictions License 2: nil
Vehicle Restrictions License 3: nil
Vehicle Restrictions License 4: nil
License Number: 415600002522
ID Number: 9206185036088
ID Type: 02 (meaning SA ID)
Issue Date License 1: 20110510
Issue Date License 2: nil
Issue Date License 3: nil
Issue Date License 4: nil
Driver Restrictions: 00 (i.e no restrictions)
PrDP Expiry Date: nil
License Issue Number: 01
Birth Date: 19920618
Valid From: 20110511
Valid To: 20160510
Gender: 01 (meaning Male)
 
Hi,

I am also trying to get this problem solved on C#. I can get the sample that is given to work but as soon as I use my own I get gibberish again, would you mind 'testing' the hex I received and check if it decodes?

Raw:
019b09450000afc6a4c2ebd0768005365d9cdb4dba5bf649ab4084ac3abee3ec2ffe9a6502a3785daa72f0b766ca26067799ba7c7006b4febd906b7c92d72cf104f6bab63676fb0c861c24a1abe30177e4b54e6889a274aead70689d25e15077f53e3ee26c065208fdb3fe5a5502f228b0728414b7d5f5d7ee97af3ee39a5535c7955ab77e374453a3f5224e717684e716099453d5167dab4824c8a98acdea3630c805960ca147092b00169f28ce69feb07309d5272151fe69d74c89c1e6ea8ad94983bd744b741de582c9d202bc83f9e95ac79864d58ed225e4204b12083c4b198dfb5e14364ca362a0583cb66a73dc567e22c5c6c75963e47c8b9db69e36024b6669f20bc0aa56ea9b6b4a0f2fe4ae8144eb5d49a5af4a672904ede4230a82f4fc807b858e167038fd780d23a84311abbf243a8b845dfc180aa1b999b675c0ffe0b27419ec5d5b99ae0242850a074a3604e763c6a76bb5ce2389967e39ad5dfc240a2312038ac8f18808a11be7bdfc5b7cf546845d77ece574751a47296eb61b09c8d94ba261fbc5b0de393e465d2080b3bff9838953b8acd3c072247216970c979d93b3996112fe3ac28a96fec91b019afdeb71d186fd55e6766089ef560924d59ac0787b7ea634d5887febfb32c1770f8adb50e3e516b5b42d9cdecd39217c60373805ec20080a442533a3ce58cf1d5fea2fae0db971ac71a5deb5b00c06c37cfc171d5e8e36887ad1a160e7de6778114f8eb0dd88e5c2a0286466b6aadf8cf0ec61a57734023054d265b6c2494071ae82fe2632a020b1fedc418650407bf02e238ff5c5fa28cfbb649bd0c71b8040a4a5bb850b31f333b3e8a5d93df03b28d6c8d6bbe8d4123393a74545b26c77c489d30b0af9cea5425795ef66fdc2e8fcb5ea3e20d1445e73906b82bcaa91fab9d22dbc8bbf55fbb2d2a20792fbfd8464b85ee9e6ef33993ea4f14dbe4f261fc7cc2a95070e34ff1763b9596460cd0725c54dfc1880b70de453a470b3496ca5

Any help will be greatly appreciated!
 
Top
Sign up to the MyBroadband newsletter
X