Skip to content

Conversation

@James-Pickett
Copy link
Contributor

@James-Pickett James-Pickett commented Mar 5, 2025


var err error
if runtime.GOOS != "darwin" && agent.HardwareKeys() != nil && agent.HardwareKeys().Public() != nil {
if agent.HardwareKeys() != nil && agent.HardwareKeys().Public() != nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we get an error here signing with hardware keys ... should we just fall back to signing without?

w.Write(keyBytes)
}

func (s *UserServer) signWithSecureEnclave(w http.ResponseWriter, r *http.Request) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODOS

  • verify krypto box from server
  • add timestamp and nonce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant