1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext
Matt Mastracci e190acbfa8
refactor(ext/net): extract TLS key and certificate from interfaces (#23296)
Removes the certificate options from all the interfaces and replaces
them with a new `TlsCertifiedKeyOptions`. This allows us to centralize
the documentation for TLS key management for both client and server, and
will allow us to add key object support in the future.

Also adds an option `keyFormat` field to the cert/key that must be
omitted or set to `pem`. This will allow us to load other format keys in
the future `der`, `pfx`, etc.

In a future PR, we will add a way to load a certified key object, and we
will add another option to `TlsCertifiedKeyOptions` like so:

```ts
export interface TlsCertifiedKeyOptions =
    | TlsCertifiedKeyPem
    | TlsCertifiedKeyFromFile
    | TlsCertifiedKeyConnectTls
    | { key: Deno.CertifiedKey }
```
2024-04-09 16:23:22 -06:00
..
broadcast_channel chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
cache chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
canvas chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
console chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
cron refactor: use chrono::DateTime::from_timestamp (#23273) 2024-04-08 21:46:54 +00:00
crypto chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
fetch refactor(ext/net): extract TLS key and certificate from interfaces (#23296) 2024-04-09 16:23:22 -06:00
ffi chore(ext/ffi): sym is unused on aarch64 linux (#23188) 2024-04-02 20:57:31 +00:00
fs FUTURE(ext/fs): make Deno.FsFile constructor illegal (#23235) 2024-04-07 15:42:53 +10:00
http feat(ext/net): Refactor TCP socket listeners for future clustering mode (#23037) 2024-04-08 16:18:14 -06:00
io chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
kv refactor: use chrono::DateTime::from_timestamp (#23273) 2024-04-08 21:46:54 +00:00
napi chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
net refactor(ext/net): extract TLS key and certificate from interfaces (#23296) 2024-04-09 16:23:22 -06:00
node fix(ext/node): implement MessagePort.unref() (#23278) 2024-04-09 20:15:55 +02:00
tls refactor(ext/tls): use cppgc to deduplicate the tls key loading code (#23289) 2024-04-08 15:01:02 -06:00
url chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
web fix(ext/node): implement MessagePort.unref() (#23278) 2024-04-09 20:15:55 +02:00
webgpu chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
webidl chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30
websocket chore: update WPT (#23111) 2024-04-08 20:46:53 +02:00
webstorage chore: forward v1.42.1 release commit to main (#23162) 2024-04-01 13:35:46 +05:30