Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]Simple public dataset encryption #2447

Closed

Conversation

typhoonzero
Copy link
Contributor

@typhoonzero typhoonzero commented Jun 12, 2017

Fix PaddlePaddle/PaddleCloud#125

Dataset encryption still work in progress

TODO:

  • secret key file should be encrypted
  • protect secret key file so that programs running in pods won't get the key
  • varify decrypt function call stack, so that calls outside training will be blocked.
  • use RecordIO for encrypted public datasets.

:param files_pattern: the files which generating by split(...)
:param trainer_count: total trainer count
:param trainer_id: the trainer rank id
:param loader: is a callable function that load object from file, this
function will be called as loader(f) and f is a file object.
Default is cPickle.load
:param encrypt_key: if present, will use triple_des to encrypt each line.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No parameter encrypt_key, maybe it should be is_public.

@typhoonzero typhoonzero deleted the data_feeder_des_encrypt branch December 22, 2017 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants