Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C Certificator-CertAPI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • Sentinel
  • Certificator-CertAPI
  • Merge requests
  • !5

Merged
Created Jan 22, 2019 by Martin Prudek@mprudek🌀Contributor

Mailpass

  • Overview 91
  • Commits 13
  • Pipelines 35
  • Changes 6

Closes #5 (closed)

Add new routes for mailpass on /v1/mailpass and certs on /v1/certs while maintaining backward compatibility with certs on route /v1/. This new routes allows us to provide certs-like interface for obtaining mailpass (password for client authentication for our smtp server).

mailpass shares the same authentication mechanism as certs, also the same auth session format in Redis.

The only change made to the original certs mechanism is addition of action field to Redis auth session. This filed allows us to check and maintain consistency of 'actions' among distinct client requests linked to a single session.

To implement mailpass one new Redis key was added. This key, "mailpass":sn stores the password provided by CA-like box (which name will be stated) and will be read by cert-api.

The password itself is usually called secret in the code, as it is not yet decided whether it will be used as is or somehow modified.

Edited Mar 15, 2019 by Vojtech Myslivec
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: mailpass