Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

Can we de/serialize in Python instead of C? #12

Open
jMyles opened this issue Oct 26, 2017 · 1 comment
Open

Can we de/serialize in Python instead of C? #12

jMyles opened this issue Oct 26, 2017 · 1 comment

Comments

@jMyles
Copy link
Contributor

jMyles commented Oct 26, 2017

Currently, we have serialize and deserialize functions written in C.

I'm of the mind that, in order to minimize the risk of heartbleed-esque side-channel attacks, it makes sense to write as much of the interfaces for our PRE as possible in Python instead of C.

However unlikely, isn't it possible that serialize can be attacked by a buffer-overflow that we haven't considered?

It is possible to write this in pure python?

@tuxxy
Copy link
Contributor

tuxxy commented Oct 27, 2017

There isn't much in attack surface in those functions. It would also be pretty trivial to prevent this attack too (some simple bounds checking).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants