Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xdg-specs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xdg
  • xdg-specs
  • Merge requests
  • !33

secret-service: add methods to transfer secrets via file descriptor

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Daiki Ueno requested to merge dueno/xdg-specs:wip/dueno/kill-crypto into master Aug 23, 2020
  • Overview 27
  • Commits 2
  • Pipelines 3
  • Changes 2

Currently, the protocol suggests two mechanisms ("algorithms") to transfer secrets: "plain" and "dh-ietf1024-sha256-aes128-cbc-pkcs7".

The former sends secret data in plaintext, while the latter encrypts the secret beforehand, though the wire encryption protocol is homebrew and the used crypto algorithm, namely 1024-bit 'Second Oakley Group', is being deprecated.

On the other hand, there is more secure mechanism to transfer sensitive data over D-Bus: sending it through a out-of-band channel, using file descriptor passing. This patch adds a new mechanism "external", in addition to a couple of D-Bus methods (GetSecretFromFd and SetSecretFromFd) to support the use of file descriptor passing.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/dueno/kill-crypto