Skip to content

More secure loaner process #41

@djmitche

Description

@djmitche

At the moment, anyone with a link to a loaner task and permission to read the loaner artifacts can connect. Users who create a loaner task probably expect that only they can login to the loaner, and might do things like put their SSH private key on it. let's make loaners specific to the user who created them.


Proposal: when creating a loaner, create a private key and stick it in the browser's LocalStorage, with the public key included in the task definition. Then, when connecting, use the private key to sign some piece of data and send it to the worker. If the signature checks out, the worker allows access. It shouldn't be too much work to make a nice copy-pastable string for this signature to share with command-line tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions