Skip to content

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 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
chen2016013 pushed a commit to chen2016013/Paddle that referenced this pull request Oct 17, 2025
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