Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
slapos.core
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 16
    • Merge Requests 16
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • nexedi
  • slapos.core
  • Issues
  • #1

Closed
Open
Opened Jan 26, 2022 by Boxiang Sun@Daetalus
  • Report abuse
  • New issue
Report abuse New issue

slapos.cfg: Field names in the [networkcache] section

When I'm setting the shacache upload info. I found some issues which maybe need to clarify a bit.

  1. When running the command /opt/slapos/bin/generate-signature-key /etc/opt/slapos/slapos.cfg

The command generate-signature-key try to find field name as signature-certificate-file and signature-private-key-file: https://lab.nexedi.com/nexedi/slapos.libnetworkcache/blob/master/slapos/signature.py#L48

But the field names in slapos.cfg are signature_private_key_file and signature_certificate_file: https://lab.nexedi.com/nexedi/slapos.core/blob/master/slapos.cfg.example#L59

I suppose it is just a coding style issue. But we should make it consistent? For now, I just changed my /etc/opt/slapos/slapos.cfg manually and moved forward.

  1. The files that Julian gave me are ca.crt and boxiang.crt. But in /etc/opt/slapos/slapos.cfg. It uses *.cert as the extension name. Maybe we should unify it?

/cc @romain @jm

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: nexedi/slapos.core#1
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7