You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @cpan.org mail redirector is very unreliable, and unlikely to be improved. We should move away from using it.
Currently, logging in to a PAUSE account sends an email to their @cpan.org address with a confirmation link. We should find an alternative method.
The best option would be to use OAuth 2. This would require implementing it on PAUSE. PAUSE is now using Mojolicious for its web interface. It should be possible to implement this using Mojolicious::Plugin::OAuth2::Server. See also andk/pause#258
For reference, some other services have implemented PAUSE linking by directly accepting PAUSE login details, then internally testing a login using them. AFAIK this is the method rt.cpan.org uses. This is pretty terrible security though. You are asking people to provide login details to a third party. It substantially increases the sensitivity of the data you need to access. And it wouldn't work well with any changes or improvements PAUSE makes to its login flow.
The text was updated successfully, but these errors were encountered:
I was wondering if you have considered allowing users to upload a file with a generated key to their directory.
Here's an example:
The user submits the form to request the PAUSE connection, just as it works now.
A key is already generated (the one sent to the email), but a second one could be created ($file_key).
The same screen which now says only "check your email" could say "check your email or upload a file named 'metacpan-verify' containing $file_key to your PAUSE directory. When ready, visit metacpan.org/pause-verify"
If the user chooses the file upload option and visits the given page, MetaCPAN could then access cpan/user/metacpan-verify to check if the key matches.
The
@cpan.org
mail redirector is very unreliable, and unlikely to be improved. We should move away from using it.Currently, logging in to a PAUSE account sends an email to their
@cpan.org
address with a confirmation link. We should find an alternative method.The best option would be to use OAuth 2. This would require implementing it on PAUSE. PAUSE is now using Mojolicious for its web interface. It should be possible to implement this using Mojolicious::Plugin::OAuth2::Server. See also andk/pause#258
For reference, some other services have implemented PAUSE linking by directly accepting PAUSE login details, then internally testing a login using them. AFAIK this is the method rt.cpan.org uses. This is pretty terrible security though. You are asking people to provide login details to a third party. It substantially increases the sensitivity of the data you need to access. And it wouldn't work well with any changes or improvements PAUSE makes to its login flow.
The text was updated successfully, but these errors were encountered: