mirror of
https://github.com/gravitational/teleport
synced 2024-10-20 09:13:39 +00:00
d218fd2625
Implement native macOS methods required by device enrollment, namely methods to Create/Get the device key, Sign challenges with it, and to collect device data (aka serial number). The implementation is rather similar to lib/auth/touchid, but simpler in a few aspects: 1. Device keys don't require user interaction (as in they don't cause a touch ID prompt); and 2. There exists, at most, a single device key at all times. I've added a tiny refactor to reuse Apple public key parsing from touchid, plus some changes so touchid doesn't break in the face of unexpected keys (which the device key didn't cause, per se, but my experiments getting to it did). gravitational/teleport.e#514
85 lines
937 B
Plaintext
85 lines
937 B
Plaintext
# this file gets generated by make
|
|
gitref.go
|
|
.data
|
|
debug
|
|
default.etcd
|
|
/darwin
|
|
|
|
# web asset directory
|
|
/lib/web/build
|
|
|
|
# usually release tarballs get in the way
|
|
*.gz
|
|
*.zip
|
|
|
|
# editors
|
|
.vscode
|
|
*.swp
|
|
.idea
|
|
|
|
# Compiled binaries, Object files, Static and Dynamic libs (Shared Objects)
|
|
out
|
|
build
|
|
*.o
|
|
*.a
|
|
*.so
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
tmp
|
|
target/
|
|
test-logs/
|
|
|
|
# Architecture specific extensions/prefixes
|
|
[568vq].out
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
.bash_history
|
|
|
|
_testmain.go
|
|
|
|
*.exe
|
|
*.test
|
|
*.prof
|
|
*.tmp
|
|
flymake*
|
|
|
|
# mkdocs
|
|
docs/latest
|
|
docs/latest.yaml
|
|
|
|
# terraform
|
|
.terraform
|
|
terraform.tfstate
|
|
|
|
# macOS
|
|
**/.DS_Store
|
|
|
|
# ansible stuff
|
|
ssh.config
|
|
*.retry
|
|
|
|
# Code signing certificate for Windows binaries
|
|
/windows-signing-cert.pfx
|
|
|
|
# Build cache and tooling
|
|
/build.assets/.cache
|
|
/build.assets/tooling/bin/**
|
|
|
|
# Teleport binaries
|
|
/tctl
|
|
/teleport
|
|
/tsh
|
|
|
|
# Go workspace files
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Buf side-effects
|
|
/github.com
|