metal-stack / go-hal

server hardware abstraction, tries to lower the burden of supporting different server vendors
GNU Affero General Public License v3.0
14 stars 3 forks source link

Validate maximum BMC password length #70

Closed majst01 closed 4 hours ago

majst01 commented 4 hours ago

Maximum password length is 16 for IPMI 1.5 and 20 for IPMI 2.0.

We should restrict to 16 characters to be on the safe side.

majst01 commented 4 hours ago

It is already restricted to 10 characters: https://github.com/metal-stack/go-hal/blob/master/pkg/api/types.go#L180