Protect ipkernel from bad messages #689

merged 3 commits into from Aug 16, 2011


None yet

2 participants

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
@minrk minrk gracefully handle bad messages in ipkernel
invalid or unauthorized messages no longer crash the kernel.
@minrk minrk don't print info when message unpacking fails
also change message for unsigned messages when digest expected
@minrk minrk update warning on signatures f3f79b9
@fperez fperez merged commit 1d09217 into ipython:master Aug 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment