patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Demi Marie Obenour <demiobenour@gmail.com>
To: Alyssa Ross <hi@alyssa.is>,
	Spectrum OS Development <devel@spectrum-os.org>
Subject: Re: Does Spectrum have a web submission endpoint for b4?
Date: Mon, 28 Jul 2025 19:44:10 -0400	[thread overview]
Message-ID: <db7466cf-b543-4c14-a8cd-364963641c17@gmail.com> (raw)
In-Reply-To: <e492b7bc-1bac-4acd-9c48-7450415ac091@gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 2220 bytes --]

On 7/27/25 18:18, Demi Marie Obenour wrote:
> On 7/26/25 06:08, Alyssa Ross wrote:
>> Demi Marie Obenour <demiobenour@gmail.com> writes:
>>
>>> I'm curious if Spectrum has a web submission endpoint for b4.
>>> would lower the barrier to entry for those who have bad mail
>>> clients, like the GMail web UI.
>>>
>>> I did notice that .b4-config did not mention one.
>>
>> It doesn't.  We could set one up, but I'd have to research how to
>> prevent it being used for spam, since it sounds like it would basically
>> be an open relay, and we've had a number of GMail users able to submit
>> patches successfully using git-send-email so far.  Isn't all you have to
>> do create an app-specific password and use that as your SMTP password?
> 
> b4 web submission is authenticated: the user must prove they own the
> email address before they can send as that email address.
> 
> Creating an app-specific password does work, but it isn't always
> an option:
> 
> - Enrolling in the Advanced Protection Program (recommended for the
>   very users Spectrum targets!) disables app passwords.
> 
> - Google Workspace admins can disable app passwords.
> 
> - Microsoft 365 has either removed support for SMTP basic auth
>   or will do so soon.

Looks like Microsoft 365 has fully removed basic auth support.

> OAuth is still supported, but it isn't always an option, and even
> when it is it is still a huge barrier to entry:
> 
> - Obtaining an OAuth token for SMTP requires registering an app,
>   and admins (at least in Microsoft 365) can disable that.

Apparently some programs solve this by impersonating Outlook.

> - There is no builtin OAuth support in git send-email.  There are
>   sendmail compatible CLIs that do have such support, but everyone
>   who packaged it might need to get their own client ID for legal
>   reasons.  This would also cause problems in corporate environments.

Correction: git send-email actually has OAuth2 support, but it has
no builtin way to obtain an OAuth refresh token.  There is a third-party
program (git-credential-oauth) that does support this, but it is not
installed by default.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2025-07-28 23:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-24 21:43 Does Spectrum have a web submission endpoint for b4? Demi Marie Obenour
2025-07-26 10:08 ` Alyssa Ross
2025-07-27 22:18   ` Demi Marie Obenour
2025-07-28  0:21     ` Demi Marie Obenour
2025-07-28 12:20     ` Alyssa Ross
2025-07-28 23:44     ` Demi Marie Obenour [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db7466cf-b543-4c14-a8cd-364963641c17@gmail.com \
    --to=demiobenour@gmail.com \
    --cc=devel@spectrum-os.org \
    --cc=hi@alyssa.is \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).