sa-license-decoder icon indicating copy to clipboard operation
sa-license-decoder copied to clipboard

Doesn't decode my licence

Open Mudders opened this issue 7 years ago • 10 comments

Hi, Thanks for sharing this wonderful code. I can see it works for your licence, however, I have a number of licences and have checked on all of them and they don't seem to be working. I'd rather not post the licence base64 here, so could mail it to you to check?

Thanks.

Mudders avatar Oct 18 '17 07:10 Mudders

@Mudders Did you fix it? I'm happy to check your licence decoding - if you are willing to send over a base64 string? :\

jtlz2 avatar Jan 28 '18 07:01 jtlz2

@jtlz2 Was never able to fix it, and didn't spend much time on it. If you could take a look at what I'm doing wrong. Here is the base64 string I'm trying to use for myself.

AZsJRQAAhvKDXGRiKtL0/TFScsweov1e1zBnFmAXZVj0GhmUeG1Qc3N+YUTColW+G3hzZfm55j0V gX1d6UYH47muGFtdnsCqkjwdv53C9lZAi3/paXTI63dTbAieRZ8EkrWawFWet4d4Tz2MkNgwfCyE 4wv2dgWLPWOL6nxbQCAldXUzEpocGuHWhtm/jFbJKVHiu5IMF4qT+63os5ybCG/YqIe02Sd+yd44 oSo3vnBSmH8cLVf7toU+KlUblTmWSdUuaYqHvBBzq7QxfTLb3tiwzqblKcU6GfnrmS3v0WX6VjBZ tLTqa2vM4YTc6CvAV4trfFK0TthSuKJ4x7o29f7weNe/4gZdBFGhokltwUbdLZ6omuAD3GTQb72e vJvnuLqLarTm01gpS3JsXbW7o2/Dt+NwPCA/7U8ZdFRIQSM+HOO0ebIyX3euAKp/thmVdsvmVmfu IkrInmtg0HjN36uyFXFk8BzCcTpE9C6f2tedTwyuDObaCn/Q/LX7e5Zf50g3kDI7u7ujmUkpN4La 5jUmErfqK+rKVKaP1tkSp7+O8bd3nFWgVsfvM9z4Wxwjw9W4mQcZujYQlUyhsSa8aqiCf2moowzs QGU0ak5ul24ig6m72JDJMZOsjOWtNwZZ+tBzxt7z9uufyyJ3LbhjM1mkKlinFCeCDEoZ6akAwgp1 637XMNUEsTB+flKlZCmtYKR8ORuo5yoy9E0jUbUpNoqkdF5pQR4wQeA9u/MfoBLH4yjqUkLUBqis gPSydfIUESh/Zy6mG5tH6fLQ/lEMrbJ+SIekk4/cowJUH32QJ67cClujh6SmiKisjduHuXYDu5i3 5I7oQMpTbwFsIs+W6H0ieFivOUHtPjJF0aJfvZvhUegLotR3Dmq4CvUcMG7lGklBwkhiO6r0R8/N 8nTCCYxAAr8f7cgCLjuMZ1dXwuoqWWoH6omxulNeaFW94H8x

Thanks. Let me know what you find, and if you can figure it out please. Thanks!

Mudders avatar Jan 28 '18 07:01 Mudders

@Mudders. Did you have any success with this code?

pjdupreez avatar Feb 16 '18 04:02 pjdupreez

No success. Doesn't decode anything but the licence given in the example.

Jeremy Malherbe +27(0)711046850

On 16 February 2018 at 06:27, Johann du Preez [email protected] wrote:

@Mudders https://github.com/mudders. Did you have any success with this code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ugommirikwe/sa-license-decoder/issues/1#issuecomment-366141233, or mute the thread https://github.com/notifications/unsubscribe-auth/AEK8gUHvfo2Zqzns_Ii4fWzvFJXmGu5Yks5tVQPLgaJpZM4P9Q63 .

Mudders avatar Feb 16 '18 04:02 Mudders

@Mudders Thanks. Yip. I experienced the same problem

pjdupreez avatar Feb 16 '18 05:02 pjdupreez

If you debug the script.js then you realize that the example base64 string is a different format and shorter. The above base64 string return an empty string at byte[5], which is suppose to be the "body" of the content.

DeanWilliamMills avatar Jul 24 '18 10:07 DeanWilliamMills

Hi DeanWilliamMills - did you come right with figuring out the correct format of the barcode? The one I pasted above is as it comes off the scanned barcode. What needs to be done to get it to the correct format for the script? Thanks.

Mudders avatar Jul 24 '18 10:07 Mudders

I'm confused about how the raw data gets transformed into base64... Is anyone willing to elaborate please?

trevlin-armugam avatar Aug 20 '19 16:08 trevlin-armugam

Hey guys l am trying to decode the barcode as well, anyone who managed to get it working

brunosemwayo avatar Apr 26 '21 13:04 brunosemwayo

The code in this project assumes that the barcode has already been decrypted. There's no information in this project, as far as I can see, about how to decrypt the data.

wodin avatar Dec 17 '21 07:12 wodin