Piotr, being the moderator, is receiving them but it’s hard for me to do 
anything from my side because I can’t login without a OTP.

I’m guessing we need to either create an automation token, or change the module 
settings to not require 2FA [1].

[1] Securely Automating npm publish with the New npm Automation Tokens - DEV 
Community<https://dev.to/bnb/securely-automating-npm-publish-with-the-new-npm-automation-tokens-oei>

From: Alex Harui<mailto:aha...@adobe.com.INVALID>
Sent: Tuesday, March 29, 2022 7:05 PM
To: dev@royale.apache.org<mailto:dev@royale.apache.org>
Cc: OmPrakash Muppirala<mailto:bigosma...@gmail.com>
Subject: Re: NPM Credentials Problem Blocking Release

I get some emails from NPM to apache-royale-owner.  I can forward them to 
private@royale.a.o if they aren't also going there.

One has the subject: [npm] OTP for logging in to your account: 
apache-royale-owner
The other: Your npm password reset

-Alex

On 3/29/22, 3:37 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:

    Ok, looks like we’ve figured it out for now with a temp password. 2FA does 
not seem to be a requirement. We will update the private list with the new 
credentials when that’s ready.

    From: Piotr Zarzycki<mailto:piotrzarzyck...@gmail.com>
    Sent: Tuesday, March 29, 2022 11:18 AM
    To: Apache Royale Development<mailto:dev@royale.apache.org>
    Cc: OmPrakash Muppirala<mailto:bigosma...@gmail.com>
    Subject: Re: NPM Credentials Problem Blocking Release

    Yes it goes to private as I see...

    wt., 29 mar 2022 o 09:47 Yishay Weiss <yishayj...@hotmail.com> napisał(a):

    > I’m not sure which email the new password gets sent to. Does it go to
    > priv...@royale.release.org<mailto:priv...@royale.release.org> ?
    >
    > Also, I see some npm requests to do 2FA which we have ignored. It’s
    > probably best to avoid that if possible to keep the release scriptable.
    >
    > @OmPrakash Muppirala<mailto:bigosma...@gmail.com>, are you the one who
    > set this up? Can you help out?
    >
    > Thanks.
    >
    >     [exec] http request PUT
    > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fregistry.npmjs.org%2F-%2Fuser%2Forg.couchdb.user%3Aapache-royale-owner&amp;data=04%7C01%7Caharui%40adobe.com%7C1082934a53d64648deb608da117002f6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637841470483689500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=ea4qnyW7pDiom%2FCB5xfPR1lN3BS380m7TIBHXfS%2F38s%3D&amp;reserved=0
    >      [exec] info attempt registry request try #1 at 10:39:44 AM
    >      [exec] http request PUT
    > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fregistry.npmjs.org%2F%40apache-royale%252froyale-js&amp;data=04%7C01%7Caharui%40adobe.com%7C1082934a53d64648deb608da117002f6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637841470483689500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=R3tUC6rE4OSSK35RUnrFDGIwnEQki24XnQz3ZYYgyHU%3D&amp;reserved=0
    >      [exec] http 401
    > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fregistry.npmjs.org%2F-%2Fuser%2Forg.couchdb.user%3Aapache-royale-owner&amp;data=04%7C01%7Caharui%40adobe.com%7C1082934a53d64648deb608da117002f6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637841470483689500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=ea4qnyW7pDiom%2FCB5xfPR1lN3BS380m7TIBHXfS%2F38s%3D&amp;reserved=0
    >      [exec] WARN notice Please check your email for a one-time password
    > (OTP)
    >      [exec] WARN adduser Incorrect username or password
    >      [exec] WARN adduser You can reset your account by visiting:
    >      [exec] WARN adduser
    >      [exec] WARN adduser     
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnpmjs.org%2Fforgot&amp;data=04%7C01%7Caharui%40adobe.com%7C1082934a53d64648deb608da117002f6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637841470483689500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=3AcQt7gWy%2BXA9cZ9m%2FpDV5ndai35xndxhWJ%2Fxj6d7XM%3D&amp;reserved=0
    >      [exec] WARN adduser
    >      [exec]
    > C:\dev\release_royale\royale-asjs\npm\release-scripts\publish.js:51
    >      [exec]                         throw new Error(error);
    >      [exec]                         ^
    >      [exec]
    >      [exec] Error: Error: failed to authenticate: A One Time Password
    > (OTP) by email is required. : -/user/org.couchdb.user:apache-royale-owner
    >      [exec]     at
    > C:\dev\release_royale\royale-asjs\npm\release-scripts\publish.js:51:14
    >      [exec]     at
    > 
C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\npm-registry-client\lib\adduser.js:125:14
    >      [exec]     at
    > 
C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\npm-registry-client\lib\adduser.js:73:16
    >      [exec]     at f
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\once\once.js:25:25)
    >      [exec]     at
    > 
C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\npm-registry-client\lib\request.js:91:10
    >      [exec]     at
    > 
C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\npm-registry-client\lib\request.js:105:12
    >      [exec]     at f
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\once\once.js:25:25)
    >      [exec]     at RegClient.<anonymous>
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\npm-registry-client\lib\request.js:324:12)
    >      [exec]     at Request._callback
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\npm-registry-client\lib\request.js:216:14)
    >      [exec]     at Request.self.callback
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\request\request.js:185:22)
    >      [exec]     at Request.emit (events.js:315:20)
    >      [exec]     at Request.<anonymous>
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\request\request.js:1154:10)
    >      [exec]     at Request.emit (events.js:315:20)
    >     [exec]     at IncomingMessage.<anonymous>
    > 
(C:\dev\release_royale\royale-asjs\npm\release-scripts\node_modules\request\request.js:1076:12)
    >      [exec]     at Object.onceWrapper (events.js:421:28)
    >      [exec]     at IncomingMessage.emit (events.js:327:22)
    >
    > BUILD FAILED
    > C:\dev\release_royale\releasecandidate.xml:1116: The following error
    > occurred while executing this line:
    > C:\dev\release_royale\releasecandidate.xml:1400: exec returned: 1
    >
    > Total time: 7 minutes 26 seconds
    >
    >

    --

    Piotr Zarzycki


Reply via email to