Coder Social home page Coder Social logo

Support SSL about postgres HOT 8 CLOSED

denodrivers avatar denodrivers commented on August 25, 2024
Support SSL

from postgres.

Comments (8)

bartlomieju avatar bartlomieju commented on August 25, 2024 1

@nonnontrivial no, not really. As described in #82 I'm spending most of my time on Deno, so if you feel like implementing it - go ahead! Otherwise, I'll tend to it after Deno 1.0 is released

from postgres.

nonnontrivial avatar nonnontrivial commented on August 25, 2024 1

@bartlomieju okay, excellent. Thank you for the links. I anticipate having time this weekend to get a draft PR up.

from postgres.

bartlomieju avatar bartlomieju commented on August 25, 2024

This has to wait, because Deno has no TLS support right now.

from postgres.

bartlomieju avatar bartlomieju commented on August 25, 2024

Ref denoland/deno#1568

from postgres.

nonnontrivial avatar nonnontrivial commented on August 25, 2024

@bartlomieju now that the relevant Deno issue has closed, is there another blocker for this feature?

from postgres.

nonnontrivial avatar nonnontrivial commented on August 25, 2024

@bartlomieju should the API follow https://node-postgres.com/features/ssl ?

from postgres.

bartlomieju avatar bartlomieju commented on August 25, 2024

@nonnontrivial Deno connectTLS API has completely different signature: https://deno.land/typedoc/interfaces/deno.connecttlsoptions.html
The certFile argument takes a path to pem file which then is used to load all certificates contained in that file. More info: https://docs.rs/rustls/0.16.0/rustls/struct.RootCertStore.html#method.add_pem_file
Final API shape is not that important for now, we can surely work it out during PR review

from postgres.

Soremwar avatar Soremwar commented on August 25, 2024

Closed by #249

from postgres.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.