-
Notifications
You must be signed in to change notification settings - Fork 1k
Send more emails #13234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Other ideas:
|
I added and deleted a few API tokens today and was surprised to not get any emails about it. |
@aganders3, what's your PyPI username? |
I am also @aganders3 there. Edit: sorry I meant the comment above as a suggestion for another opportunity to send emails, not as a complaint! |
@aganders3 Sorry, thought we already had that one! Great point, I've added it to the list. |
@webknjaz proposed this addition which relates to OIDC/"Trusted Publishers":
I've added this to the checklist above. |
Another email idea: we should periodically notify project owners about stale/unused API tokens, e.g. if a project has had releases in the past As a conditional sequence:
This will be particularly helpful/useful as more projects roll out trusted publishing, since they may forget to delete the old tokens that trusted publishing replaces. |
#11524 would be related to that as well. |
#997 would help increase volume |
Triaging: we're doing a couple of these as part of STF-funded work. I've asked @xBalbinus to start with emails for yanking and unyanking of releases. |
Looks like this one was already done ~3 years ago: https://github.com/pypi/warehouse/blame/7c6c4cf16d9f46660f687123a44766fb775dcea7/warehouse/email/__init__.py#L901-L935 I've asked @xBalbinus to work on the "New email added" one for the time being. |
Done in #13866, thanks @xBalbinus!
This might be a good next one if you're looking for something else to work on! |
Sounds great! Thank you so much!
…On Thu, Jun 8, 2023 at 10:49 AM Dustin Ingram ***@***.***> wrote:
New email added (sent to any other emails on the account)
Done in #13866 <#13866>, thanks
@xBalbinus <https://github.com/xBalbinus>!
New primary email (sent to the old primary email)
This might be a good next one if you're looking for something else to work
on!
—
Reply to this email directly, view it on GitHub
<#13234 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASH4FPS3QZQXPKMA2KUAY53XKHQ5ZANCNFSM6AAAAAAV7B6C6U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
FTR, NPM sends emails for all new releases and this is very useful to get liveness feedback on CD. |
For the record, about "New releases (sent to all maintainers)", here is the NPM email
It contains lots of interesting information. |
Hmm, how does NPM get that context? I don't think they support Trusted Publishing yet, although perhaps they get it directly from their Regardless, agreed on that being useful/interesting information to include 🙂 |
Yes this is from --provenance |
Another email idea, from @pitrou on DPO:
Source: https://discuss.python.org/t/announcement-2fa-now-required-for-pypi/42251/26 Or laid out:
(I think emailing owner roles only probably makes sense to start, since only owners can administrate the project's user roles anyways.) |
It's currently not possible to upload without having 2FA enabled: warehouse/warehouse/forklift/legacy.py Lines 524 to 537 in a685531
So I'm not sure there's value in nagging these users. Instead, maybe we would want to email the maintainers that do have 2FA enabled, and tell them that they have 'stale' collaborators without 2FA enabled? But again, I don't think these users represent a huge risk because they can't do anything on the project in question. |
Sorry, I might have worded this badly: I meant emailing the maintainers that do have 2FA enabled, not the ones that don't, per your point about non-2FA maintainers not being able to upload 🙂 And yeah, I think the "stale" case is what @pitrou was interested in -- he can motivate it further but IIUC the concern was that older projects don't always pay attention to who is still trusted as an owner/maintainer, and so having a bunch of old non-2FA accounts still authorized presents a good takeover opportunity for an attacker. |
Yes, that was exactly the context for me. |
Note that we've also marked the emails of all non-2FA users as unverified: #11850 (comment). This means that a successful account takeover would require the user's password and access to one of the email addresses present on the account prior to takeover. Still possible, but less likely. I think instead of sending emails, we should probably just explore changing these user's roles to something that would require re-invitation to the project by an active maintainers in the future. That said, I think this is a bit off-topic for the original issue, which is about increasing our general volume of emails and not about one-off email campaigns, so we should probably move the discussion to a new issue. |
PyPI sends a fairly low volume of event-based emails to users, which results in the occasional spam report causing an abnormally high overall % of complaints.
Some ideas of things we could send emails for, to increase our overall email send, that would be a net positive user benefit and not just considered noise:
The text was updated successfully, but these errors were encountered: