Page MenuHomePhabricator
Feed Advanced Search

Nov 13 2015

eadler added a comment to T9770: It is possible to use the same 2FA token more than once.

I filed this as a correctness bug, not as a security bug. There are some attacks that could be performed on such MFA schemes but that are not applicable in phabricator's security model.

Nov 13 2015, 7:34 PM · Security, Auth
epriestley added a comment to T9770: It is possible to use the same 2FA token more than once.

I think the RFC should be followed.

Nov 13 2015, 7:33 PM · Security, Auth
Mnkras added a comment to T9770: It is possible to use the same 2FA token more than once.

So I just did some googling and came across the RFC for MFA, and this is
taken from the RFC:

Nov 13 2015, 7:27 PM · Security, Auth
epriestley added a comment to T9770: It is possible to use the same 2FA token more than once.

I'd like to understand the reason behind this before moving forward.

Nov 13 2015, 7:17 PM · Security, Auth
Mnkras added a comment to T9770: It is possible to use the same 2FA token more than once.

I think this is more to conform with what everyone else does, I know Google and Apple don't let you re-use tokens even if they are still in the valid timeframe, not sure if there are specific reasons behind that besides the attack you came up with above.

Nov 13 2015, 3:29 AM · Security, Auth

Nov 12 2015

epriestley added a comment to T9770: It is possible to use the same 2FA token more than once.

Is there a specific security purpose behind this? That is, what attack is this measure aimed at defusing?

Nov 12 2015, 7:05 AM · Security, Auth
eadler created T9770: It is possible to use the same 2FA token more than once.
Nov 12 2015, 6:17 AM · Security, Auth

Nov 10 2015

epriestley closed T3131: Provide batch import of Google user accounts as Wontfix.

We might build this as a side effect, but there's been no actual interest in it.

Nov 10 2015, 7:30 PM · Auth

Oct 30 2015

• psigen added a comment to T814: Support HTTP Basic Auth as an authentication mechanism.

Hi guys. Unfortunately, my organization is no longer using phabricator, so I'm not really able to maintain libphremoteuser at this time.

Oct 30 2015, 2:40 PM · Restricted Project, OpenStack, Auth
jasonrumney added a comment to T814: Support HTTP Basic Auth as an authentication mechanism.

AFAIK, it is still the only way to this. I added some bits to it to automatically populate email and name when registering, for the case where authentication is done against an ActiveDirectory instance via kerberos and LDAP, which I published at https://github.com/make-all/libphremoteuser

Oct 30 2015, 10:19 AM · Restricted Project, OpenStack, Auth
craigem added a comment to T814: Support HTTP Basic Auth as an authentication mechanism.

Is using psigen's libphremoteuser still the only way to achieve this?

There's been no commits to his repo since 2013 and it is broken against current stable Phab.

Oct 30 2015, 7:44 AM · Restricted Project, OpenStack, Auth
craigem added a project to T814: Support HTTP Basic Auth as an authentication mechanism: OpenStack.
Oct 30 2015, 6:25 AM · Restricted Project, OpenStack, Auth
avivey changed the visibility for T814: Support HTTP Basic Auth as an authentication mechanism.
Oct 30 2015, 3:03 AM · Restricted Project, OpenStack, Auth
craigem added a comment to T814: Support HTTP Basic Auth as an authentication mechanism.

Is using psigen's libphremoteuser still the only way to achieve this?

Oct 30 2015, 2:34 AM · Restricted Project, OpenStack, Auth

Oct 28 2015

epriestley updated subscribers of T8029: make it possible to "approve" a user from the profile view.
Oct 28 2015, 12:30 PM · Auth, People

Oct 25 2015

epriestley closed T9610: You can `bin/auth recover` a mailing list administrator, and get a confusing error when you do as Resolved by committing Restricted Diffusion Commit.
Oct 25 2015, 1:13 AM · Auth

Oct 24 2015

epriestley moved T7441: Support OAuth providers in the cluster from Backlog to The Queue on the Prioritized board.
Oct 24 2015, 4:49 PM · Auth, Phacility
epriestley claimed T9610: You can `bin/auth recover` a mailing list administrator, and get a confusing error when you do.
Oct 24 2015, 1:35 PM · Auth
epriestley added a revision to T9610: You can `bin/auth recover` a mailing list administrator, and get a confusing error when you do: Restricted Differential Revision.
Oct 24 2015, 1:35 PM · Auth
epriestley added a comment to T9610: You can `bin/auth recover` a mailing list administrator, and get a confusing error when you do.

I guess I'm sort of OK with letting you make mailing lists administrators so they can pick up policy stuff. This is definitely pretty silly but maybe not only silly, and wouldn't hurt anything except for the other issues.

Oct 24 2015, 1:24 PM · Auth
epriestley closed T6707: 'Attaching' two external accounts of the same type results in AphrontCountQueryException as Resolved by committing Restricted Diffusion Commit.
Oct 24 2015, 11:50 AM · Wikimedia, Auth

Oct 23 2015

epriestley added a revision to T6707: 'Attaching' two external accounts of the same type results in AphrontCountQueryException: Restricted Differential Revision.
Oct 23 2015, 8:03 PM · Wikimedia, Auth
epriestley added a comment to T5096: Create a phabricator authentication provider that uses mediawiki oauth.

Since we haven't seen any other interest in this in the meantime (although maybe you have?), keeping it external is probably best for us -- it's conceptually something that we're comfortable with, but it's conceivable that you're approximately the only install using it. We'd be open to bringing it upstream in the future if there's more widespread interest/use.

Oct 23 2015, 12:50 PM · Auth, Wikimedia
20after4 closed T5096: Create a phabricator authentication provider that uses mediawiki oauth as Resolved.

I guess having it exist on github is good enough.

Oct 23 2015, 9:38 AM · Auth, Wikimedia

Oct 22 2015

epriestley added a project to T7441: Support OAuth providers in the cluster: Prioritized.
Oct 22 2015, 6:07 PM · Auth, Phacility
epriestley added a comment to T7441: Support OAuth providers in the cluster.

The original driver here was a very complex one (requiring instance-level, non-registration OAuth links to services) but that never went through.

Oct 22 2015, 6:07 PM · Auth, Phacility
epriestley added a comment to T9610: You can `bin/auth recover` a mailing list administrator, and get a confusing error when you do.
  • Mailing list users can currently be made into administrators. We should probably prevent this, because it seems silly. (Making a daemon an administrator is still silly, but doesn't seem completely unreasonable.)
    • Regardless, users can be marked as mailing lists and also as administrators in the database.
    • bin/auth recover will let you recover users who can not establish web login sessions as long as they are administrators, but should not.
    • When you recover such a user, a misleading error message is shown (session invalid). Instead, recovery should fail explicitly and/or the session error message should point at the root cause more directly.
Oct 22 2015, 1:05 AM · Auth
epriestley created T9610: You can `bin/auth recover` a mailing list administrator, and get a confusing error when you do.
Oct 22 2015, 1:00 AM · Auth

Oct 19 2015

polybuildr added a comment to T6707: 'Attaching' two external accounts of the same type results in AphrontCountQueryException.

And the easiest fix turned out to be just deleting the row from the database, as mentioned in T2549#88614.

Oct 19 2015, 6:43 PM · Wikimedia, Auth
polybuildr added a comment to T6707: 'Attaching' two external accounts of the same type results in AphrontCountQueryException.

We had a similar error while using LDAP as an auth mechanism.

Oct 19 2015, 6:31 PM · Wikimedia, Auth

Oct 13 2015

epriestley removed a parent task for T9512: "Change Password" should prompt users to "Reset Password" if no password has been set: T9362: Support viewerprojects() and implement viewerpackages() in Audit ApplicationSearch.
Oct 13 2015, 12:59 AM · Restricted Project, Auth
• 554816806 added a parent task for T9512: "Change Password" should prompt users to "Reset Password" if no password has been set: T9362: Support viewerprojects() and implement viewerpackages() in Audit ApplicationSearch.
Oct 13 2015, 12:58 AM · Restricted Project, Auth

Oct 10 2015

chad updated Q168: Can you enforce username based on email address? from Enforce username based on email address to Can you enforce username based on email address?.
Oct 10 2015, 6:13 PM · Auth

Oct 9 2015

d.maznekov added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

Thanks for sharing but not luck again.
Will dig additionally.

Oct 9 2015, 7:29 AM · Auth
fabe added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

@d.maznekov Here's my (working) config for an ActiveDirectory:
Hostname: IP of the DC
Port: 389
Base distinguished name: dc=company,dc=net
Search attributes: sAMAccountName
anonymous username: ldap
anonymous password: ***
username attribute: sAMAccountName
realname attribute: displayName
LDAP version: 3
No Referrals
No TLS
ActiveDirectoryDomain: DOM (domain name in short form)

Oct 9 2015, 7:10 AM · Auth
d.maznekov added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

Yes I'm feel like...stupid.
Tried all reasonable variants - admin, domain\admin, cn=admin dc=domain dc=com, always finish with exception.
If I should provide additional information, please advice.
Will give one more try and abandon the tool respectively, I don't want to make by hand 250+ users.

Oct 9 2015, 6:05 AM · Auth
cspeckmim added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

@d.maznekov - Configuring LDAP always feels like a chore.. Nothing stands out from what you posted. Out of curiosity are you using "optixco\admin" or "admin" for the bind?

Oct 9 2015, 6:00 AM · Auth
d.maznekov added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

Yeah probably don't provide additional data, but it's public secret LDAP attributes of MS AD 2008 structure as sn, cn or sAMAccountName, base DN as suppose to be ou=people, dc=domain, dc=com.
Anyway, things I've tried is:
1.ldapsearch to find suitable attribute for setup of phab:

Oct 9 2015, 5:48 AM · Auth
cspeckmim added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

@d.maznekov you don't provide any details for anyone to help you. I've successfully setup LDAP authentication against an OpenLDAP service. Unfortunately what settings you provide is very dependent on how your configuration and object structure in LDAP. If you want assistance you need to provide details. Here is probably not a good place for it, perhaps in a Ponder Question.

Oct 9 2015, 2:14 AM · Auth

Oct 8 2015

d.maznekov added a comment to T4279: Improve auth/LDAP import tools to assist in linking/merging accounts and migrations across providers.

Sorry guys but 2 days can't setup LDAP auth against AD 2008.
My task is to allow existing user to login/authenticate with their domain user and pass to work in collaboration at Phab.
Tried everything what have means, tried all possible fields returned by ldapsearch and always end up with exception :(
Make few setups against OpenLDAP on Debian linux and no success again...
Can't think about import from LDAP before resolve this.

Oct 8 2015, 7:39 PM · Auth
joshuaspence updated Q168: Can you enforce username based on email address? from to Enforce username based on email address.
Oct 8 2015, 3:32 PM · Auth

Oct 6 2015

kokushibyou added a comment to T8014: Add configuration option to ignore invalid TLS certificates for LDAP start_tls.

Would love to see this as an option. Biggest issue for me is AD servers using non-wildcard certs, and our need to connect to a subdomain with round robin dns to any of our AD servers. Having creds sent in plain text is not very good. Its not great that we have Cert errors but we're limited in our ability to fix that.

Oct 6 2015, 9:53 PM · Security, Auth, LDAP
chad claimed T9515: Build a "quorum" mechanism and associated UI.
Oct 6 2015, 4:32 PM · Restricted Project, Notifications, Phacility, Auth
chad closed Q161: How to use username/password option on OAuth account as resolved.
Oct 6 2015, 1:49 PM · Auth
epriestley created T9515: Build a "quorum" mechanism and associated UI.
Oct 6 2015, 2:26 AM · Restricted Project, Notifications, Phacility, Auth

Oct 5 2015

revi created T9512: "Change Password" should prompt users to "Reset Password" if no password has been set.
Oct 5 2015, 3:00 PM · Restricted Project, Auth

Oct 4 2015

chad added a project to Q161: How to use username/password option on OAuth account: Auth.
Oct 4 2015, 2:14 PM · Auth

Sep 30 2015

revi added a project to T5096: Create a phabricator authentication provider that uses mediawiki oauth: Auth.
Sep 30 2015, 12:34 PM · Auth, Wikimedia

Sep 20 2015

epriestley closed T9446: "Send Welcome Email" action works for bots and mailing lists as Resolved by committing Restricted Diffusion Commit.
Sep 20 2015, 11:28 AM · Auth, People

Sep 19 2015

epriestley added a revision to T9446: "Send Welcome Email" action works for bots and mailing lists: Restricted Differential Revision.
Sep 19 2015, 11:48 PM · Auth, People
epriestley created T9446: "Send Welcome Email" action works for bots and mailing lists.
Sep 19 2015, 2:07 PM · Auth, People

Sep 11 2015

epriestley added a comment to T7673: Make "Log Out" on Phacility instances behave in a way better aligned with user expectation.

Specifically, to completely log out of Phacility, you must currently:

Sep 11 2015, 5:51 PM · Auth, Phacility

Sep 10 2015

angie moved T5591: Add default domain to Google auth from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Sep 10 2015, 5:18 PM · Restricted Project, Restricted Project, Auth
epriestley added a comment to T8162: Option to disable "Generate Keypair".

This is 1-2 hours of work and can be slipped in somewhere if approved.

Sep 10 2015, 1:18 AM · Restricted Project, Passphrase, Auth

Sep 9 2015

epriestley added a comment to T5591: Add default domain to Google auth.

This is straightforward and probably <1 hour of work. It can be squeezed in if approved for prioritization.

Sep 9 2015, 11:27 PM · Restricted Project, Restricted Project, Auth
epriestley moved T5953: Build a modular user account batch importer from Backlog to Projects v3 on the Projects board.
Sep 9 2015, 11:23 PM · Restricted Project, Auth, Projects

Sep 5 2015

epriestley updated subscribers of T7673: Make "Log Out" on Phacility instances behave in a way better aligned with user expectation.
Sep 5 2015, 5:09 PM · Auth, Phacility

Sep 1 2015

epriestley removed a parent task for T1205: Allow grey users in some form or other: T9299: Send code reviews to non-Phabricator users.
Sep 1 2015, 3:20 PM · Restricted Project, People, Auth, Wikimedia
epriestley added a parent task for T7673: Make "Log Out" on Phacility instances behave in a way better aligned with user expectation: T9303: Improve Phacility Onboarding/NUX.
Sep 1 2015, 3:13 PM · Auth, Phacility
epriestley moved T7673: Make "Log Out" on Phacility instances behave in a way better aligned with user expectation from Do After Launch to Onboarding/NUX on the Phacility board.
Sep 1 2015, 3:09 PM · Auth, Phacility

Aug 31 2015

epriestley added a parent task for T1205: Allow grey users in some form or other: T9299: Send code reviews to non-Phabricator users.
Aug 31 2015, 8:28 PM · Restricted Project, People, Auth, Wikimedia

Aug 24 2015

thoughtpolice added a comment to T6115: Allow multi-factor authentication to be a requirement for user subgroups, including administrators.

Just as a note: I was thinking about this, and in fact, I cooked up a small (untested) patch for it to require Administrators to have MFA (see end of post) through a new setting.

Aug 24 2015, 8:29 PM · Haskell.org, Auth

Aug 14 2015

angie moved T9040: Google SSO fails if `auth.email-domains` is set and you're not logged into the correct Google account from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 14 2015, 8:38 PM · Auth, Restricted Project

Aug 13 2015

epriestley closed T9162: Mark users with external accounts in the UI as Wontfix.

I think projects/badges are a better approach for this.

Aug 13 2015, 3:03 PM · Badges, Auth
devurandom updated the task description for T9162: Mark users with external accounts in the UI.
Aug 13 2015, 7:08 AM · Badges, Auth
devurandom added a comment to T9162: Mark users with external accounts in the UI.

Another solution to the mentioned use case would be to automatically put users into Projects (T3980 or external scripts until that is implemented) and then award Badges based on Projects (T9163).

Aug 13 2015, 7:05 AM · Badges, Auth
devurandom created T9162: Mark users with external accounts in the UI.
Aug 13 2015, 6:54 AM · Badges, Auth

Aug 12 2015

devurandom created T9150: Users without access to any spaces cannot use welcome link to set their password.
Aug 12 2015, 3:27 PM · Auth, Spaces

Aug 11 2015

epriestley added a parent task for T8918: Header shows number of notifications and various other controls on the 2FA auth screen: T8442: Build Space switching UI.
Aug 11 2015, 1:45 PM · Security, Auth

Aug 6 2015

joshuaspence added a member for Auth: joshuaspence.
Aug 6 2015, 8:53 AM

Aug 3 2015

epriestley closed T9046: "Forgot password" functionality is broken as Resolved by committing Restricted Diffusion Commit.
Aug 3 2015, 3:01 PM · Auth
epriestley added a revision to T9046: "Forgot password" functionality is broken: Restricted Differential Revision.
Aug 3 2015, 1:06 PM · Auth
epriestley claimed T9046: "Forgot password" functionality is broken.
Aug 3 2015, 1:05 PM · Auth
epriestley updated subscribers of T9046: "Forgot password" functionality is broken.
Aug 3 2015, 1:05 PM · Auth
epriestley merged task T9038: Unable to Login into T9046: "Forgot password" functionality is broken.
Aug 3 2015, 1:05 PM · Auth
epriestley added a comment to T9038: Unable to Login.

Sorry, I made a mistake and didn't update my local copy properly before trying to reproduce this. This is an error on our side.

Aug 3 2015, 1:05 PM · Auth
joshuaspence created T9046: "Forgot password" functionality is broken.
Aug 3 2015, 6:42 AM · Auth
jhurwitz added a project to T5591: Add default domain to Google auth: Restricted Project.
Aug 3 2015, 2:20 AM · Restricted Project, Restricted Project, Auth
epriestley merged task T9040: Google SSO fails if `auth.email-domains` is set and you're not logged into the correct Google account into T5591: Add default domain to Google auth.
Aug 3 2015, 2:19 AM · Auth, Restricted Project
epriestley updated subscribers of T5591: Add default domain to Google auth.
Aug 3 2015, 2:19 AM · Restricted Project, Restricted Project, Auth
chad added a project to T9040: Google SSO fails if `auth.email-domains` is set and you're not logged into the correct Google account: Auth.
Aug 3 2015, 2:19 AM · Auth, Restricted Project

Aug 2 2015

Rado added a comment to T9038: Unable to Login.

@chad, thanks!

Aug 2 2015, 9:40 PM · Auth
chad added a comment to T9038: Unable to Login.

bin/accountadmin <username>

Aug 2 2015, 9:26 PM · Auth
Rado added a comment to T9038: Unable to Login.

Can I change password for user by manage mysql database?

Aug 2 2015, 9:03 PM · Auth
epriestley closed T9038: Unable to Login as Invalid.

I can't reproduce this. When I follow these steps, the workflow completes successfully.

Aug 2 2015, 7:59 PM · Auth
Rado reopened T9038: Unable to Login as "Open".

Steps:

  1. Visit auth form: http://goo.gl/s9JCln
  2. Click on link "Forgot your password?": http://goo.gl/7e51lY
  3. Visit reset form: http://goo.gl/f5dPq3
  4. Type account email and click on button "Send Email": http://goo.gl/r7UChl
  5. See success message: http://goo.gl/7Uavms
  6. Visit mailbox and see mail: http://goo.gl/uHV0OG
  7. Click on link in the letter and see error message: http://goo.gl/2EMJtp
Aug 2 2015, 7:52 PM · Auth
epriestley closed T9038: Unable to Login as Invalid.

I can't reproduce this (resetting my own password works fine), and this report doesn't include enough information to allow us to help you.

Aug 2 2015, 12:38 PM · Auth
Rado created T9038: Unable to Login.
Aug 2 2015, 11:25 AM · Auth

Jul 28 2015

aklapper added a comment to T6707: 'Attaching' two external accounts of the same type results in AphrontCountQueryException.

The way the logic actually works, I think the fix is really in PhabricatorAuthLoginController near line 117:
[...]

Jul 28 2015, 2:49 PM · Wikimedia, Auth

Jul 23 2015

Judge added a comment to T8926: Issues configuring external auth providers.

Thanks @chad for your effords!
Maybe it's related to the reverse proxy? Since I'm not very familiar with the techniques behind OAuth, I have no ideas what to test or look for - suggestions welcome!

Jul 23 2015, 8:15 AM · Auth
chad changed the visibility for T3131: Provide batch import of Google user accounts.
Jul 23 2015, 4:39 AM · Auth

Jul 22 2015

chad added a comment to T8926: Issues configuring external auth providers.

FWIW, We use Google and Amazon here, and I just tested them without issue.

Jul 22 2015, 9:01 PM · Auth
Judge added a comment to T8926: Issues configuring external auth providers.

Thanks @epriestley for choosing a better issue description; sorry for my english ...

Jul 22 2015, 3:02 PM · Auth
chad added a comment to T8928: GitHub external provider Profile Photos are created continuously.

I can confirm on this install, only seems to be GitHub from my limited testing.

Jul 22 2015, 2:49 PM · Files, GitHub, Auth
chad renamed T8928: GitHub external provider Profile Photos are created continuously from GitHub external provider Profile Photos are created infinitely to GitHub external provider Profile Photos are created continuously.
Jul 22 2015, 2:48 PM · Files, GitHub, Auth
epriestley renamed T8926: Issues configuring external auth providers from Issues implementing external auth providers to Issues configuring external auth providers.
Jul 22 2015, 2:15 PM · Auth
epriestley added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

Okay, can you file a separate issue for that and I'll try to reproduce it? That's bad and not the expected queue behavior.

Jul 22 2015, 2:13 PM · Restricted Project, Auth, Conduit
hach-que added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

Generally we find that the commit / message parser tasks tend to get done first, and take up taskmasters that could be processing Harbormaster builds. This delays builds because we have less taskmasters available.

Jul 22 2015, 1:40 PM · Restricted Project, Auth, Conduit
epriestley added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

commits without UTF8 data in them effectively block the queue.

Jul 22 2015, 1:36 PM · Restricted Project, Auth, Conduit
epriestley triaged T8918: Header shows number of notifications and various other controls on the 2FA auth screen as Normal priority.
Jul 22 2015, 1:29 PM · Security, Auth