Hacker News new | past | comments | ask | show | jobs | submit | TCM's comments login

I had issues with the docker container on Debian 9. I think the container is only tested on Ubuntu.



SCRAM authentication looks like a nice security improvement also. No description on the site but http://paquier.xyz/postgresql-2/postgres-10-scram-authentica... gives a good overview.


Seems like this might make using passwords compliant with FIPS 140-2. (Not sure, so maybe someone else can share their opinion.) Previously I heard in a few places that people would use LDAP to delegate the auth to something else, e.g. here: https://news.ycombinator.com/item?id=12129906


It's an improvement for sure, but I am curious -- does anyone situate a Postgres instance where it is publicly accessible? Who was asking for this feature?


Several reasons:

- Checkbox item for people not wanting MD5 anymore.

- Storing passwords on the server in a securely hashed way, so the admin won’t know your password.

- PostgreSQL developers getting out of the roll-your-own-crypto game.


Lots of cloud managed dbs are/can be publicly accessible. Eg all heroku hosted Postgres instances


are they? even without ssl? by default?


SSL is (was?) required. I left Heroku about a year ago and it's nearly inconceivable that this would be changed, having been the case for many years.

I don't think they've implemented certificate validation since I've left though.

My naive hope, going on many years, is that SCRAM with channel binding would have landed years ago (the first versions of the patch began to show up then), making client-side certificate checking (and let's get real: it's hard enough to use that many people will not validate when developing from their laptops, simply backspacing out the optional cert validation connection option, a elision that is invisible to the server) obsolete. It should be possible to modify the definitions of pg_hba.conf to require a channel-bound SCRAM connection, which would mean that the client is certain to have checked for an untampered certificate.

This implementation of SCRAM doesn't have that yet, but it's been an ambition of the author for some time to do so.


A patch implementing channel binding has been presented for integration into Postgres 11: https://commitfest.postgresql.org/14/1153/. Two channel types are presented: tls-finish and endpoint. Per the RFC 5802, it is mandatory to use SSL if you want channel binding as the data needed for binding validation is either the TLS finish message which can be found after the SSL handshake between the server and the client (which happens before the password-based authentication), and a hash of the server certificate. All those things are actually supported by a set of APIs in OpenSSL.


Not sure about SSL, but in the past customers of mine have copy-pasted full Heroku PG URLs to me and I was able to get in via `psql` immediately.

So yes they're public but their addresses are basically impossible to guess.


Known as "Security through Obscurity" [0]

[0] https://en.wikipedia.org/wiki/Security_through_obscurity


Debatable. If the address is really unguessable, the address acts like a regular key.

It's still not good practice, since most systems treat addresses with far less care than passwords and often save and/or transmit them unencrypted.


Oh, I am not saying it's a good practice at all. I was just answering the question.

I still think it's a low-friction solution. But a secure one -- hardly.


> yes they're public but their addresses are basically impossible to guess.

Ipv6 only then?


Sometimes people do a conference talk or just share the screen, and it's easy to take picture of that URL.


True. I am not saying it's the best idea around, only that it's low friction. I'd probably approach it differently but I can see why they did it like they did.


I think by far the biggest benefit is being able to check the "no insecure crypto algorithms used" box. Even though the way md5 was used wasn't really that concerning security wise, it constantly comes up.


Full text search in JSON & JSONB looks exciting. https://wiki.postgresql.org/wiki/New_in_postgres_10#Full_Tex...


As someone working with json output from the gmail api I’m curious to see how people smarter than me take advantage of this new functionality so I can adopt it as well.


The argument from the parent posts rely on ACA being repealed already. If the ACA does get repealed then the above arguments hold but this hasn't happened yet.


My point is that bringing up the ACA repeal is moot, either way, because it's repeal is still active and not finished.


1. Who can pay 10 trillion Dollars: The assets aren't sold in a big package all at once.

2. The economical effect: A bunch of companies get what they pay for. This may create economic growth.

3. Not enough liquidity in dollars: We could always print more dollars

4. Would the US accept other currencies? : Who knows but most likely American Companies would buy American Assets.


I think you must not of heard that once they sold the company to Lenovo they still kept the Patents. Most likely they will do the same.

See https://techcrunch.com/2014/01/29/google-keeps-vast-majority...


"Let's see what google extracts out of HTC"

Patents and/or other assets may have been exactly what they were referring to.


Same what Nokia did with smartphones. They sold remaining phone manufacturing and marketing to Microsoft but kept all patents, Nokia Research and even the Nokia brand.

Smartphone market is in the state of business where manufacturing, R&D and brand marketing can be separated and mixed freely. Especially in the Android ecosystem.


I think its more of the opposite. Technology creates spheres of influence in the countries that they operate. Traditional governments attempt to reign it in (this is usually effective if they are a company with ad revenue or they want to follow local laws. But when you cut down one sphere another grows to replace it.


It seems like right now "superhuman AI" is a buzzword that people like to use when they want to be covered by the press. I'm surprised OpenAI didn't chime in. Physicists seem to use Aliens or multiple dimensions for this purpose (But some also use AI for the same effect).

It sort of distracts people from actually asking real questions like how to use AI / ML responsibly because the former doesn't require much to speculate about.


Journalists don't feel like they are qualified to report on the actual technology (which is a good thing), don't bother learning anything in order to become qualified (which isn't), don't bother speaking to qualified people on the front line of this technology (which is horrible).

So what they have resorted to is reporting on these "philosophical" topics, because all you need for that is a fucking opinion, right. It's a great Faustian bargain because you then get all those companies and people, who similarly have no clue but are fishing for PR, to pile on.

See "should the autonomous car hit the pedestrian or save its passengers" or "this artist drew a lane marker around his beater car".


Until it's conscious, AI is just a tool and the same ethics apply when using it as when using any other tool. If you use it to hurt people, to deceive people, to steal from people, etc, you go to jail. Well, ideally. But like insurance companies that are forbidden from charging different rates to people based upon their being a member of a protected class or any proxy which becomes essentially equivalent. So if their ML system starts jacking up premiums on one group of people because its found an indicator it likes, they're still breaking the law. Even if they can't explain why it keyed on that indicator beyond "look... here's a list of numbers. Those are weights in the neural net. We don't know what they mean."


You can also set your browser windows to automatically mute on chrome. I think in high sierra macOS will do it by default.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: