natewong1313 / bird-bot

A Nintendo Switch checkout bot. Currently supports Walmart and Best buy
MIT License
1.18k stars 336 forks source link

migrate unencrypted CC data to encrypted #26

Closed raman325 closed 4 years ago

raman325 commented 4 years ago

This change will migrate the data from unencrypted to encrypted when the decryption call fails, making it succeed in future attempts. I tested this on my end and it works but you may want to run some additional sanity checks

natewong1313 commented 4 years ago

This won't work with multiple profiles, it will overwrite them

raman325 commented 4 years ago

Ah good point. Will rework it in the am

raman325 commented 4 years ago

@natewong1313 this should be good now. Still working fine on my end