zed/crates
Marshall Bowers c84da37030
rpc: Add support for OAEP-based encryption format (#15058)
This PR adds support for a new encryption format for exchanging access
tokens during the authentication flow.

The new format uses Optimal Asymmetric Encryption Padding (OAEP) instead
of PKCS#1 v1.5, which is known to be vulnerable to side-channel attacks.

**Note: We are not yet encrypting access tokens using the new format, as
this is a breaking change between the client and the server. This PR
only adds support for it, and makes it so the client and server can
decrypt either format moving forward.**

This required bumping the RSA key size from 1024 bits to 2048 bits. This
is necessary to be able to encode the access token into the ciphertext
when using OAEP.

This also follows OWASP recommendations:

> If ECC is not available and RSA must be used, then ensure that the key
is at least 2048 bits.
>
> —
[source](https://cheatsheetseries.owasp.org/cheatsheets/Cryptographic_Storage_Cheat_Sheet.html#algorithms)

Release Notes:

- N/A
2024-07-23 21:25:25 -04:00
..
activity_indicator Start on adding support for editing via the assistant panel (#14795) 2024-07-19 11:13:15 +02:00
anthropic Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
assets Move from Zed fonts to IBM Plex (#13596) 2024-06-27 14:36:44 -06:00
assistant Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
assistant_slash_command Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
assistant_tooling Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
audio Make tests less noisy (#12463) 2024-05-29 18:06:45 -07:00
auto_update Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
breadcrumbs breadcrumbs: Use early return in set_active_pane_item (#14691) 2024-07-17 18:58:44 -04:00
call Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
channel Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
cli Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
client Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
clock Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
collab rpc: Add support for OAEP-based encryption format (#15058) 2024-07-23 21:25:25 -04:00
collab_ui Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
collections gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
command_palette Add command aliases (#14826) 2024-07-19 12:48:48 -06:00
command_palette_hooks Introduce InlineCompletionProvider (#9777) 2024-03-26 13:28:06 +01:00
completion assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
copilot Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
db paths: Replace lazy_static! with OnceLock (#13213) 2024-06-18 12:22:37 -04:00
dev_server_projects remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00
diagnostics lsp: Pass back diagnostic .data when querying code actions for it (#14962) 2024-07-22 17:49:11 +02:00
editor Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
extension Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
extension_api zed_extension_api: Return structured slash command completions (#13879) 2024-07-05 14:08:42 -04:00
extension_cli Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
extensions_ui assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
feature_flags assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
feedback Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
file_finder Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
file_icons Make tests less noisy (#12463) 2024-05-29 18:06:45 -07:00
fs Add global Fs instance (#15044) 2024-07-23 17:59:55 -04:00
fsevent Retain run loop (#11241) 2024-04-30 23:31:59 -06:00
fuzzy Introduce an outline panel (#12637) 2024-06-12 23:22:52 +03:00
git Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
git_hosting_providers Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
go_to_line Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
google_ai Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
gpui Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
gpui_macros Upsell built-in features on the extensions page (#14516) 2024-07-15 17:10:01 -04:00
headless remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00
html_to_markdown Publish html_to_markdown (#13718) 2024-07-01 17:18:58 -04:00
http_client Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
image_viewer Add text_color helper for tab contents (#14737) 2024-07-18 09:27:05 -04:00
indexed_docs Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
inline_completion_button assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
install_cli Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
journal Add the ability for extensions to provide language settings (#10296) 2024-04-08 19:17:12 -04:00
language Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
language_model Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
language_selector Move Clippy configuration to the workspace level (#8891) 2024-03-05 12:01:17 -05:00
language_tools Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
languages Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
live_kit_client gpui: Update Menu name to use SharedString type to support more types (#14791) 2024-07-19 08:51:31 -04:00
live_kit_server Vendor LiveKit protocol (#11672) 2024-05-10 14:18:40 -04:00
lsp Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
markdown Avoid losing focus when block decorations go offscreen (#14815) 2024-07-19 17:04:18 +02:00
markdown_preview Simplify constructing tab content that is purely textual (#14695) 2024-07-17 20:11:05 -04:00
media linux: Better GPU debugging (#14706) 2024-07-23 09:56:45 -06:00
menu open picker (#14524) 2024-07-15 17:04:15 -06:00
multi_buffer Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
node_runtime Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
notifications Remove never-used client parameter from message handler functions (#13406) 2024-06-22 16:07:36 -07:00
ollama Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
open_ai Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
outline Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
outline_panel assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
paths Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
picker Make vim::test_remap less flaky on linux (#15040) 2024-07-23 15:16:45 -06:00
prettier Lookup prettier more leniently (#14403) 2024-07-13 21:59:14 +03:00
project Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
project_panel Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
project_symbols Start on adding support for editing via the assistant panel (#14795) 2024-07-19 11:13:15 +02:00
proto Improve ssh remote error handling and logging (#15035) 2024-07-23 13:29:56 -07:00
quick_action_bar quick_action_bar: Add menu entry to view REPL sessions (#14984) 2024-07-22 17:05:05 -04:00
recent_projects Don't try to connect to X11/Wayland when headless (#15028) 2024-07-23 14:11:47 -06:00
refineable Move Clippy configuration to the workspace level (#8891) 2024-03-05 12:01:17 -05:00
release_channel auto-updates: Do not poll for updates on dev channel (#13311) 2024-06-20 15:00:54 +02:00
remote Improve ssh remote error handling and logging (#15035) 2024-07-23 13:29:56 -07:00
remote_server Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
repl repl: Detect Conda and Python environments with their own kernel specs (#15047) 2024-07-23 15:23:24 -07:00
rich_text New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00
rope chore: Bump dependencies (#15029) 2024-07-23 21:38:47 +02:00
rpc rpc: Add support for OAEP-based encryption format (#15058) 2024-07-23 21:25:25 -04:00
search Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
semantic_index Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
semantic_version Extract SemanticVersion into its own crate (#9956) 2024-03-29 12:11:57 -04:00
session zed: Add ability to restore last session w/ multiple windows (#14965) 2024-07-23 19:44:02 +02:00
settings assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
settings_ui settings_ui: Add placeholder view (#15019) 2024-07-23 12:50:11 -04:00
snippet Correct escaping in snippets (#14912) 2024-07-22 00:57:34 +02:00
snippet_provider extensions: Add support for snippets provided by extensions (#14020) 2024-07-10 09:40:50 +02:00
sqlez Remove extraneous Cargo.lock files (#14001) 2024-07-09 12:15:34 -04:00
sqlez_macros Dynamicer builds (#13074) 2024-06-21 16:32:32 -07:00
story Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
storybook gpui: Update Menu name to use SharedString type to support more types (#14791) 2024-07-19 08:51:31 -04:00
sum_tree Introduce Editor::insert_flaps and Editor::remove_flaps (#12096) 2024-05-21 20:23:37 +02:00
supermaven Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
supermaven_api Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
tab_switcher Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
task Extend task templates with shell and hide fields to use custom shells and custom close behavior (#15031) 2024-07-23 22:58:36 +03:00
tasks_ui Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
telemetry_events Add metrics_id to editor_events (#13525) 2024-06-25 16:47:55 -04:00
terminal Extend task templates with shell and hide fields to use custom shells and custom close behavior (#15031) 2024-07-23 22:58:36 +03:00
terminal_view Extend task templates with shell and hide fields to use custom shells and custom close behavior (#15031) 2024-07-23 22:58:36 +03:00
text Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
theme linux: Indicate when the window is focused (#14266) 2024-07-12 14:20:58 -07:00
theme_importer theme_importer: Output logs to stderr (#14890) 2024-07-21 08:53:37 -04:00
theme_selector assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
time_format Inline git blame (#10398) 2024-04-15 14:21:52 +02:00
title_bar Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
ui Fix typo in font-weight setting story (#14958) 2024-07-22 07:49:27 -04:00
ui_input Rename ui_text_field crate to ui_input (#13949) 2024-07-08 17:05:30 -04:00
util Associate logs from log_err with the calling crate (#13617) 2024-06-27 17:03:47 -07:00
vcs_menu Adjust list item & pickers spacing (#14250) 2024-07-15 10:23:18 -03:00
vim Make vim::test_remap less flaky on linux (#15040) 2024-07-23 15:16:45 -06:00
welcome assistant: Overhaul provider infrastructure (#14929) 2024-07-23 19:48:41 +02:00
workspace Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
worktree Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
zed Update http crate name (#15041) 2024-07-23 15:01:05 -07:00
zed_actions Add more menus to Zed (#12940) 2024-06-18 12:16:54 -07:00