Skip to content

SSH CheckPeriod does not accept "always" #128

@phinze

Description

@phinze

Tailscale SSH defines the checkPeriod ACL field as either a duration or the string "always".

In our client we are defining the field as just a Duration.

CheckPeriod Duration `json:"checkPeriod,omitempty" hujson:"CheckPeriod,omitempty"`

CheckPeriod Duration `json:"checkPeriod,omitempty" hujson:"CheckPeriod,omitempty"`

This means that we fail to parse policy files that set checkPeriod to "always" with an error like:

time: invalid duration "always"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions