Protect ipkernel from bad messages #689

Merged
merged 3 commits into from Aug 16, 2011

Conversation

Projects
None yet
2 participants
@minrk
Member

minrk commented Aug 10, 2011

This commit protects the IPython kernel from invalid or unauthorized messages.

Previously, sending garbage to the kernel would crash it, as would sending unauthorized messages if HMAC signatures were enabled.

See #688

minrk added some commits Aug 10, 2011

gracefully handle bad messages in ipkernel
invalid or unauthorized messages no longer crash the kernel.
don't print info when message unpacking fails
also change message for unsigned messages when digest expected

fperez added a commit that referenced this pull request Aug 16, 2011

Merge pull request #689 from minrk/auth
Protect ipkernel from bad messages: now the kernel logs bad messages as errors instead of crashing.

@fperez fperez merged commit 1d09217 into ipython:master Aug 16, 2011

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014

Merge pull request #689 from minrk/auth
Protect ipkernel from bad messages: now the kernel logs bad messages as errors instead of crashing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment