Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-910

create example for field level encryption

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • docs

    Description

      In support of users of the devguide-examples and possible high-level conceptual documentation and other samples being created, add on master branch of devguide-examples two examples. They may be in the same code file.

      First, an example that shows how to encrypt a field in a document, store it and read it back.

      Second, given a specific document and the necessary keys and other information, show how one would read encrypted fields. It's expected that for this one, the keys would be in files in standard formats in the repository. The same set of files should work for all SDK implementations.

      Use the .NET example as a pattern.

      If this does not make sense for lcb, then at least add a README that describes why it is not present. e.g.: field_encryption-README.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build libcouchbase-2.8.5-126 contains libcouchbase commit b021f72da35642d87c6261dbbf0bfe6128a062d4 with commit message:
          CCBC-910: Symmetric encryption example with OpenSSL
          https://github.com/couchbase/libcouchbase/commit/b021f72da35642d87c6261dbbf0bfe6128a062d4

          build-team Couchbase Build Team added a comment - Build libcouchbase-2.8.5-126 contains libcouchbase commit b021f72da35642d87c6261dbbf0bfe6128a062d4 with commit message: CCBC-910 : Symmetric encryption example with OpenSSL https://github.com/couchbase/libcouchbase/commit/b021f72da35642d87c6261dbbf0bfe6128a062d4
          avsej Sergey Avseyev added a comment - https://github.com/couchbaselabs/devguide-examples/pull/22

          Michael Goldsmith, Jeff Morris, according to this ticket, second part of the example should read keys from some common place, and use .NET as an example. It seems like in devguides repository (at least on master) there is no such example for .NET. Could provider more details on that?

          avsej Sergey Avseyev added a comment - Michael Goldsmith , Jeff Morris , according to this ticket, second part of the example should read keys from some common place, and use .NET as an example. It seems like in devguides repository (at least on master) there is no such example for .NET. Could provider more details on that?
          jmorris Jeff Morris added a comment -

          Sergey Avseyev -

          I am working on an example w/shared keys for validation. I'll let you know when its done ASAP.

          -Jeff

          jmorris Jeff Morris added a comment - Sergey Avseyev - I am working on an example w/shared keys for validation. I'll let you know when its done ASAP. -Jeff

          People

            avsej Sergey Avseyev
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty