mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-28 07:57:23 -04:00
Remove all traces of CoreOS from the codebase
This commit is contained in:
parent
35e2267cf9
commit
743f5fa627
39 changed files with 117 additions and 799 deletions
|
@ -65,6 +65,7 @@ func (s *Access) GetAuthorizedKeys() []UserKey {
|
|||
}
|
||||
|
||||
// DeployAuthorizedKey takes an user & public key pair, creates the user if required and deploy a SSH key for them.
|
||||
// TODO: Refactor to not write to /etc or /home.
|
||||
func (s *Access) DeployAuthorizedKey(ctx context.Context, sshKey UserKey) error {
|
||||
// allow only one thread to write to authorized keys, create users and update the authorized map at a time
|
||||
s.mux.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue