http://paste.pm/raw/dme
Ask HN: Decode Youtube 500 page
1–10 of 21 posts
Re: Ask HN: Decode Youtube 500 page
#2But it would be interesting to collect a lot of this error messages to check if they appear to be completely random.
Re: Ask HN: Decode Youtube 500 page
#3Re: Ask HN: Decode Youtube 500 page
#4Re: Ask HN: Decode Youtube 500 page
#5Why do you assume it is not base64 encoded? I have always come to believe it is some encrypted data. If I was Google I would probably give every server a UUID and a symmetric key. If an error occurs encrypt (and authenticate) the stacktrace and other debug information with that symmetric key and prepend the UUID. As a developer you can then find out the server that produced the error message, log in via SSH and decry…
Re: Ask HN: Decode Youtube 500 page
#6Re: Ask HN: Decode Youtube 500 page
#7Why do you assume it is not base64 encoded? I have always come to believe it is some encrypted data. If I was Google I would probably give every server a UUID and a symmetric key. If an error occurs encrypt (and authenticate) the stacktrace and other debug information with that symmetric key and prepend the UUID. As a developer you can then find out the server that produced the error message, log in via SSH and decry…
They change completely on every load. Encoding would likely have similar sections between page refreshes, as it doesn't we can assume your theory of encrypted data is correct. It makes sense anyway, it means they can have a user supply a stack trace or similar without exposing any information to them.
Re: Ask HN: Decode Youtube 500 page
#8Earlier quoted context omitted.
They change completely on every load. Encoding would likely have similar sections between page refreshes, as it doesn't we can assume your theory of encrypted data is correct. It makes sense anyway, it means they can have a user supply a stack trace or similar without exposing any information to them.
Actually the first few characters remained the same with page loads.
Re: Ask HN: Decode Youtube 500 page
#9 import base64
base64.urlsafe_b64decode(s)Re: Ask HN: Decode Youtube 500 page
#10Earlier quoted context omitted.
Actually the first few characters remained the same with page loads.
CBC mode AES?