Open murali-shris opened 3 months ago
@murali-shris I've had some conversation with @cconstab about this over the weekend. We should discuss again in architecture call, ideally tomorrow (Tuesday)
These are the possible solutions we have discussed so far
Store enrollment details in public hidden key. Enrolling app will lookup this public hidden key to view list of apps that has approving privilege.
On enrollment approval, store enrollment details in a public hidden key. On enrollment revoke, remove the enrollment entry from the value using enrollmentID
e.g
Key : public:_enrollments@ alice
Value: // each value in list will contain enrollment id, app name , device
name
Pros:
Cons:
Approve enrollments through registrar web application
Use the existing registrar web application (my.atsign.com) to view/approve/revoke enrollments. This requires use of an intermediary secondary server @ registrar to notify the web application and communicate with @ alice
Pros:
Cons:
An existing onboarded/enrolled app with enrollment widget uptake can approve enrollments
After user enrolls a new app, display a message to user e.g “Use one of the onboarded/enrolled apps”
Pros:
Cons
Headless app that auto approves enrollment
Every atsign will have a headless app running somewhere which can auto approve enrollments
Pros:
Cons:
New admin mobile app
Admin app will have features of registrar web app plus approve/deny/revoke enrollments
Pros:
Cons:
Another idea...
Store the list of M/APKAM devices+apps in a self-key
Then if someone does not know what device to approve the enrollement in then any atKeys for the atSign can be used to share that list.
This reduces the attack surface to just devices/apps that have any set of keys for the atSign and gives the person some good clues as to which app/keys they can use to approve the M/APKAM request with.
We could also add this functionality to the CLI tools...
Pros:
Cons
Discussion from arch call: Consider combination of approach 6 and additional atsign manager app
Moving to backlog since it is not actively worked on. Will revisit once APKAM widget changes are complete
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response