Giter VIP home page Giter VIP logo

Comments (2)

bernhardreiter avatar bernhardreiter commented on June 20, 2024

Rationale

Not using WKD or public pubkey servers is making the implementation more reliable and simpler for provider and client implementors.

WKD would require an email address and public pubkeyservers often do not provide additional data to verify the pubkey.

from csaf_distribution.

bernhardreiter avatar bernhardreiter commented on June 20, 2024

changes towards csd02

The standard document has meanwhile changed to be more explicit about this:

https://docs.oasis-open.org/csaf/csaf/v2.0/csd02/csaf-v2.0-csd02.html#7120-requirement-20-public-openpgp-key :

The public part of the OpenPGP key used to sign the CSAF documents MUST be available. It SHOULD also be available at a public key server.

For example, the public part of the OpenPGP key could be placed in a directory openpgp adjacent to the provider-metadata.json.

https://docs.oasis-open.org/csaf/csaf/v2.0/csd02/csaf-v2.0-csd02.html#717-requirement-7-provider-metadatajson :

 "public_openpgp_keys": [
      {
        "fingerprint": "8F5F267907B2C4559DB360DB2294BA7D2B2298B1",
        "url": "https://keys.example.net/vks/v1/by-fingerprint/8F5F267907B2C4559DB360DB2294BA7D2B2298B1"
      }
    ],

technical approach

  • We can use the long fingerprint as filename in the openpgp directory.
  • The csaf_provider can use the create step to copy over the current public key in the directory, if it is not in there. Previous pubkeys stay in there.
  • The aggregator will copy all pubkeys in mirror mode and add its own pubkey if it does additional signatures.
  • The provider-metadata.json shall list all pubkeys in that directory.

from csaf_distribution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.