Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backend): validate httpsig on rs requests using auth implementat…
…ion (#672) * feat(backend): rebase * feat(backend): move verification to middleware * feat(backend): update package.json * feat(backend): remove structured-headers package * feat(backend): fix linting * feat(backend): fix httpsig pkg node * feat(backend): fix httpsig pkg * feat(backend): readd lib to gitignore * feat(backend): add flag to skip signature verify * Update packages/backend/src/open_payments/auth/middleware.ts Co-authored-by: Brandon Wilson <[email protected]> * feat(backend): verification updates * feat(backend): handle eddsa alias * Update packages/backend/src/open_payments/auth/middleware.ts Co-authored-by: Brandon Wilson <[email protected]> * Update packages/backend/src/open_payments/auth/middleware.ts Co-authored-by: Brandon Wilson <[email protected]> * Update packages/backend/src/open_payments/auth/middleware.ts Co-authored-by: Brandon Wilson <[email protected]> * feat(backend): updates * feat(backend): restore keyinfo * feat(backend): add tests * Update packages/backend/src/open_payments/auth/middleware.test.ts Co-authored-by: Brandon Wilson <[email protected]> * Update packages/backend/src/open_payments/auth/middleware.test.ts Co-authored-by: Brandon Wilson <[email protected]> * feat(backend): test fixes * feat(backend): change isdone to done in auth tests * feat(backend): remove skipSignatureVerification option * feat(backend): fix content digest verification * feat(backend): add content digest test * feat(backend): updates * feat(backend): update tests * feat(backend): rebase * feat(backend): remove http-message-signatures * feat(backend): rebase * feat(backend): update ignores * Update packages/backend/src/open_payments/auth/middleware.test.ts Co-authored-by: Brandon Wilson <[email protected]> * feat(backend): updates * feat(backend): use httpsigcontext * feat(backend): fix linting * feat(backend): fix auth test * feat(backend): fix auth test * feat(backend): fix lockfile * feat(backend): fix lockfile * feat(backend): fix lockfile * Update packages/backend/src/open_payments/auth/middleware.test.ts Co-authored-by: Brandon Wilson <[email protected]> * feat(backend): rebase lock * feat(backend): rebase middleware * feat(backend): rebase middleware * feat(backend): rebase middleware * Update packages/backend/src/open_payments/auth/middleware.ts Co-authored-by: Brandon Wilson <[email protected]> * Update packages/backend/src/open_payments/auth/middleware.test.ts Co-authored-by: Brandon Wilson <[email protected]> * feat(backend): updates * feat(backend): add tests without body * fix(backend): await prepareTest Co-authored-by: Damien Clipp <[email protected]> Co-authored-by: Brandon Wilson <[email protected]>
- Loading branch information