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

Implement API to encrypt and decrypt files using password #991

Closed
dilshat opened this issue Apr 8, 2019 · 2 comments
Closed

Implement API to encrypt and decrypt files using password #991

dilshat opened this issue Apr 8, 2019 · 2 comments
Labels
Milestone

Comments

@dilshat
Copy link
Member

dilshat commented Apr 8, 2019

We need to be able to encrypt and decrypt files using passwords.
These functionality is needed before uploading files to CDN and after downloading them to RH.
Also we need to mask passwords being passed in log files

dilshat pushed a commit that referenced this issue Apr 8, 2019
dilshat pushed a commit that referenced this issue Apr 8, 2019
dilshat pushed a commit that referenced this issue Apr 10, 2019
dilshat pushed a commit that referenced this issue Apr 10, 2019
dilshat pushed a commit that referenced this issue Apr 10, 2019
dilshat pushed a commit that referenced this issue Apr 10, 2019
@dilshat dilshat added this to the 8.8.0 milestone Apr 10, 2019
@dilshat
Copy link
Member Author

dilshat commented Apr 10, 2019

How to test:

  1. Create file for testing echo "hello" >> /tmp/test
  2. Run command subutai file encrypt -s /tmp/test -p pwd123
    Output should contain path to encrypted file
  3. Verify that file exists ls /tmp/test.gpg
  4. Run command subutai file decrypt -s /tmp/test.gpg -p pwd123
    Ouput should contain path to decrypted file
  5. Verify that file exists ls /tmp/test-decrypted

@kurmanbekova6
Copy link
Collaborator

Followed the steps described above^^
Fixed in master
Screenshot from 2019-04-10 11-47-50
Screenshot from 2019-04-10 11-49-49
Screenshot from 2019-04-10 11-50-17

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

No branches or pull requests

2 participants