oh eat my entire ass, npm
once they implement that i'm just going to put username and password into the github publishing workflow. i am *not* going to manually swap tokens, not every 7 days, not every 90
oh eat my entire ass, npm
once they implement that i'm just going to put username and password into the github publishing workflow. i am *not* going to manually swap tokens, not every 7 days, not every 90
@jhwgh1968 upgrading to passkeys. this is actually probably strictly better so i'm chill about it
@whitequark I'm trying to figure out line 2
They're not allowing TOTP anymore? Are they downgrading to SMS or some nonsense?
@whitequark @jhwgh1968 it'd be nice if GitHub had a way to generate a passkey and enroll it into npm. But this is dumb af without that.
@jpab yes, I'm setting this up right now in fact. still a shitload of busywork but not as bad as the initial impression. (I use OIDC publishing with PyPI already)
@whitequark can't you use the "Trusted Publisher" thing if you're publishing from GitHub?
You configure npm account to allow publishing from a particular GitHub project & workflow and then there's some OIDC auth dance between GitHub and npm which avoids the need to put an npm token in a GitHub actions secret.
good news: you can use Trusted Publishing to avoid dealing with the tokens
bad news: do you think github's own instructions for how to set this shit up on github work? yes? hahaha no of course they fucking don't imagine anybody involved in this mess doing their job well
i should bill GitHub for my time
@whitequark please tell me I don't have to use github actions for this. my current workflow is the 'npm publish' command locally and entering a totp code
@jcoglan you'll have to keep rotating tokens
@jcoglan @whitequark wait so if i want to publish using totp on npm in future do i need to sign up for totp tokens now. will that force me to use totp afterward or can i just get something registered
@mcc @jcoglan i _think_ you can still make a "granular" token valid until 2038
@alwayscurious @jhwgh1968 keepassx has an extension for at least chrome
@whitequark @jhwgh1968 which browsers support passkeys on Linux?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.