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

add option to leave properties unencrypted #25

Closed
wants to merge 6 commits into from

Conversation

gr2m
Copy link
Collaborator

@gr2m gr2m commented Apr 5, 2016

this can be used as a workaround for #13. It's a follow up to #18

db.crypto('password', {modp: 'modp5', ignore: '_attachments'})
.then(function () {
    return db.put({
      _id: 'id-12345678',
      _attachments: {
        'att.txt': {
          content_type: 'text/plain',
          data: 'TGVnZW5kYXJ5IGhlYXJ0cywgdGVhciB1cyBhbGwgYXBhcnQKTWFrZS' +
                'BvdXIgZW1vdGlvbnMgYmxlZWQsIGNyeWluZyBvdXQgaW4gbmVlZA=='
        }
      }
    });
  })

@gr2m
Copy link
Collaborator Author

gr2m commented Apr 5, 2016

I’ll clean up commits once I get the go from @calvinmetcalf

@gr2m gr2m mentioned this pull request Apr 5, 2016
@calvinmetcalf
Copy link
Owner

again blocked by pouchdb-community/transform-pouch#19

@gr2m
Copy link
Collaborator Author

gr2m commented Apr 5, 2016

@calvinmetcalf could you explain please?

@calvinmetcalf
Copy link
Owner

I have a major refactor (#26 waiting on that pull)

@nolanlawson
Copy link
Contributor

pouchdb-community/transform-pouch#19 is fixed now; anything else you need for this PR?

@gr2m gr2m mentioned this pull request Apr 20, 2016
@gr2m
Copy link
Collaborator Author

gr2m commented Apr 20, 2016

closing in favor of #29

@gr2m gr2m closed this Apr 20, 2016
@gr2m gr2m deleted the issue/13/v2 branch April 20, 2016 00:17
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.

3 participants