TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Holy War on Sites That Demand Pinboard Passwords

216 pointsby anu_guptaover 10 years ago

12 comments

jurassicover 10 years ago
I agree asking for passwords is bad, but he&#x27;d probably have gotten cooperation from third parties much more quickly if he were following OAuth, OAuth2 or some other widely used standard. Forcing others to write bespoke code to handle a weird non-standard auth, however simple, is a major impediment to people using the Pinboard API.<p>Also, promising to break working integrations with the &quot;ban hammer&quot; seems like a poor reward to give users for alerting you to a problem. If a user values the integration more than the security of their bookmark list (as I&#x27;m guessing many people do, given the number of people using Pinboard via IFTTT), they won&#x27;t be reporting that to you.
评论 #8456661 未加载
评论 #8456652 未加载
评论 #8456929 未加载
评论 #8456630 未加载
评论 #8456598 未加载
评论 #8456455 未加载
joshuover 10 years ago
Man, I wanted to do this so badly on the original delicious.<p>I have some ways of identifying aggregate misbehavior if you want to catch this. Happy to help.
kijinover 10 years ago
Confession time: I&#x27;m somewhat of an accomplice in this unspeakable evil.<p>I maintain the (unofficial but widely used) Pinboard API client library for PHP. Until recently, it only supported password authentication. Development had all but ground to a halt in the last couple of years, partly because the API itself hasn&#x27;t changed at all since 2012, and partly because I didn&#x27;t want to spend any more time on API v1 when API v2 might hit production anytime, but mostly because I just forgot.<p>As a result, web services written in PHP are probably more likely to use password auth with Pinboard than those written in other languages. Sorry, @idlewords!<p>But thanks to an enthusiastic contributor who appeared out of nowhere and chastised me for slacking off, the PHP client library has now gained most of the features that it had been missing for years, including token auth. Even better, the API allows you to get a user&#x27;s token given his username and password, so you can easily convert your existing database to tokens without any user interaction.
评论 #8456676 未加载
flurpover 10 years ago
Maybe sites like IFTTT are doing it because it&#x27;s much easier to remember a username&#x2F;password (assuming you don&#x27;t use generated passwords) than an API token. A global third-party api token barely provides much more safety than giving up a random password to said third-parties. If you want to prevent one third-party app from continued access you have to go around to all the others and update the token (just like with a password).<p>Don&#x27;t get me wrong, I&#x27;m in favor of removing user&#x27;s passwords from third-parties (and blocking those who won&#x27;t update). I&#x27;m just wondering why Pinboard hasn&#x27;t built a proper OAuth system which would remedy all the above problems. It even mentions OAuth on the api docs: &quot;This token is intended as a stopgap measure to prevent third-party sites from having to store Pinboard credentials while the site moves to full Oauth support.&quot;
评论 #8456408 未加载
adamtjover 10 years ago
Wow, that&#x27;s almost as bad as sites that ask for my credit card number. Of course, my CC number is like my name: public information. Unfortunately, the companies behind the card seem to think it&#x27;s more like a password. While the law protects me from most liability for fraud, they still want to change my name, er account number, every time there&#x27;s an issue. That requires me to re-enter it in various websites, inevitably at the least convenient time.<p>Thanks for helping drag the world into the future.
评论 #8456791 未加载
评论 #8458445 未加载
xg15over 10 years ago
I think one of the problems with the API token is that it&#x27;s a lot more cumbersome for the user right now than the old password-based flow. (If you don&#x27;t happen to have your token around or work with it daily)<p>Right now to connect an API consumer, you have to:<p>1) Do the things on the consumer&#x27;s site until you&#x27;re prompted for the token<p>2) Open pinboard.in (presumely in a different tab)<p>3) Login to pinboard<p>4) Go to &quot;settings&quot;<p>5) Go to &quot;password&quot;<p>6) Copy API token<p>7) Switch back to consumer&#x27;s site<p>8) Paste token<p>Steps 4 and 5 might be more difficult than they look: If people didn&#x27;t use the token before or never had to change their password, they might not know how to get to settings &gt; password. Or they might not know where to find the token at all.<p>I think you could make things a lot more convenient if API consumers could put a direct link to <a href="https://pinboard.in/settings/password" rel="nofollow">https:&#x2F;&#x2F;pinboard.in&#x2F;settings&#x2F;password</a> on their page. That way, the flow would look like this:<p>1) Do things on the API consumer&#x27;s site until you&#x27;re prompted for the token<p>2) Follow link to token page<p>3) Login to pinboard<p>4) Copy API token<p>5) Switch back to consumer&#x27;s site (or click &quot;back&quot; twice)<p>6) Paste token<p>7) Profit!<p>Right now, this almost works, except that if you&#x27;re not already logged into pinboard, the link will just take you back to the front page. So you&#x27;d have to change the login prompt so it remembered where you came from. That sounds like a pretty insignificant change, but I think it could make a difference.
评论 #8464530 未加载
tsothaover 10 years ago
&gt;If you need time to do this, email me about your plans with a convincing display of contrition.<p>Hahahaha. I like this guy.
评论 #8456447 未加载
error54over 10 years ago
Good for them. I don&#x27;t understand why a service would require a 3rd party username and password for any reason if an API Key&#x2F;Oauth solution existed.
mbestoover 10 years ago
Curious - Does anyone know the legality of providing a username and password and passing it through to another site that doesn&#x27;t have an API&#x2F;oAuth? Is it all based on the ToS of that site? It sounds like IFTTT does it &#x2F; has done it. I&#x27;m really surprised by that. Isn&#x27;t this a big no-no?
ZoFreXover 10 years ago
I wish Google would do this, and end the LinkedIn scraping of people&#x27;s emails. Good on Pinboard for taking a stand.
Xeoncrossover 10 years ago
As an off question, I remember pinboard costing +$20 something to join - why is the price back down around $10?
评论 #8458911 未加载
评论 #8458930 未加载
notacowardover 10 years ago
Great idea, but I suggest that &quot;holy war&quot; is not a great metaphor to be using - especially right now.
评论 #8456311 未加载
评论 #8456424 未加载