supki / scrobblers

Lastfm scrobblers making library
http://supki.github.io/scrobblers
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Exceptions and encryption #3

Closed supki closed 11 years ago

supki commented 11 years ago

Currently exceptions in scrobblers with encryption may (and will) completely destroy scrobbling process: IV will not be the same in sender and receiver. There should be an option to prevent that.

For example, user may use encryption only in exception-free scrobblers, but that would require more splitting than necessary.

Also I may be just missing some encryption mode that solves that problem.

supki commented 11 years ago

One way to fix that is to append IV to messages, so sender is receiver won't even be able to lose synchronization.

supki commented 11 years ago

After b3395ec encryption is much easier to use and it's not as unstable. I'll probably leave it at that state if nothing better comes.