mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[PR #4111] [MERGED] feat: client certificates and ability to skip ssl cert verification in desktop app #4669
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4669
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4111
Author: @AndrewBastin
Created: 6/6/2024
Status: ✅ Merged
Merged: 6/25/2024
Merged by: @AndrewBastin
Base:
next← Head:feat/native-interceptor-updates📝 Commits (10+)
ac9673cfeat: add native interceptor tauri plugin5e538fcfeat: new native interceptor fe implementation7bfabc2feat: cancellation on new native interceptor7d6edbcfeat: settings ui + ca certificates implementationbe5ae33feat: client certificates implementation + validate ssl certificates impl00dbf89chore: correct wording for ssl verification entry73b2113feat: persist native interceptor settingsd7c3207refactor: patch bugs + remove ca certificates ui634bf5brefactor: remove old native interceptor and renamed new-native to take place7ad644arefactor: implement new multiHeaders definition📊 Changes
15 files changed (+2223 additions, -829 deletions)
View changed files
📝
packages/hoppscotch-common/src/components.d.ts(+77 -69)📝
packages/hoppscotch-selfhost-desktop/package.json(+3 -1)📝
packages/hoppscotch-selfhost-desktop/src-tauri/Cargo.lock(+645 -588)📝
packages/hoppscotch-selfhost-desktop/src-tauri/Cargo.toml(+5 -1)➕
packages/hoppscotch-selfhost-desktop/src-tauri/src/interceptor.rs(+318 -0)📝
packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs(+3 -0)➕
packages/hoppscotch-selfhost-desktop/src/components/modals/NativeCACertificates.vue(+158 -0)➕
packages/hoppscotch-selfhost-desktop/src/components/modals/NativeClientCertificates.vue(+139 -0)➕
packages/hoppscotch-selfhost-desktop/src/components/modals/NativeClientCertsAdd.vue(+268 -0)➕
packages/hoppscotch-selfhost-desktop/src/components/settings/NativeInterceptor.vue(+56 -0)➖
packages/hoppscotch-selfhost-desktop/src/platform/interceptors/native.ts(+0 -170)➕
packages/hoppscotch-selfhost-desktop/src/platform/interceptors/native/index.ts(+459 -0)➕
packages/hoppscotch-selfhost-desktop/src/platform/interceptors/native/persisted-data.ts(+85 -0)📝
packages/hoppscotch-selfhost-desktop/vite.config.ts(+1 -0)📝
pnpm-lock.yaml(+6 -0)📄 Description
Closes HFE-485
This PR introduces the ability for Client Certificate Auth along with the ability to skip SSL Certificate Verification in the Hoppscotch Desktop App.
What's changed
NativeInterceptorServiceto no longer use Tauri's built in HTTP APIs.hopp_native_interceptorTauri Plugin.Notes
hoppscotch-selfhost-desktopcomponents as there is no proper mechanism at the moment to deal with this. This is something we will be revisiting soon with an i18n system refactor.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.