Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C Crypto Wrapper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • Crypto Wrapper
  • Merge requests
  • !6

Fix Turris 1.x detection

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Josef Schlehofer requested to merge fix/turris1x into master May 23, 2022
  • Overview 6
  • Commits 2
  • Changes 1

This fixes behavior when command hw-type failed to detect which model are Turris 1.x routers.

Before:

root@turris:~# crypto-wrapper hw-type
crypto-wrapper: error: Unknown device model: 'Turris 1.x'

After:

root@turris:~# crypto-wrapper hw-type
atsha

The model is taken from /tmp/sysinfo/model (row 15), this returns:

root@turris:~# cat /tmp/sysinfo/model
Turris 1.x

Please check this on HBK branch, I encountered it on HBL branch.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/turris1x