summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/helpers/parseAuthenticatorData.ts
AgeCommit message (Collapse)Author
2024-02-15Update parseAuthenticatorData for new libMatthew Miller
2023-10-25Restore flipped bit after handling bad CBORMatthew Miller
2023-09-23Remove a console.logMatthew Miller
2023-09-23Clarify some commentsMatthew Miller
2023-09-23Detect and fix bad bytesMatthew Miller
2023-08-18Use single-quotes and increase line widthMatthew Miller
2023-08-17Update verifyAuthenticationResponse testsMatthew Miller
2023-08-16Run `deno fmt` on everythingMatthew Miller
2023-08-16Run `ddi fmt` over src/Matthew Miller
2023-08-16Add file extensions to importsMatthew Miller
2022-11-19Split out COSE-specific valuesMatthew Miller
2022-11-12Figure out a better pattern for exposing iso funcsMatthew Miller
2022-11-12Rename isomorphic helpers to avoid collision?Matthew Miller
I think `helpers/uint8Array.ts` might conflict with CI's ability to resolve the global `Uint8Array` when I `import * as uint8Array`...just a hunch. I decided to rename all the helpers too to help keep them grouped together.
2022-11-11Refactor parseAuthenticatorDataMatthew Miller
2022-11-05Replace most Buffer types with Uint8ArrayMatthew Miller
2022-07-28Run `npm run lint`Matthew Miller
2022-07-27Export named parseAuthenticatorData()Matthew Miller
2022-07-23RevertEiji Kitamura
- `authenticatorExtensionResults` => `extensionsData` - `authenticatorExtensionsDataBuffer` => `extensionsDataBuffer`
2022-07-22RenameEiji Kitamura
- `decodeAuthenticatorExtensionData` => `decodeAuthenticatorExtensions` - `exentionsData` => `authenticatorExtensionResults` - Remove test case for malformed extension data
2022-07-22Fix for #230Eiji Kitamura
- Change `extensions` to `extensionsData` and add `extensionsDataBuffer`
2022-07-22Fixes to reflect commentsEiji Kitamura
- Rename `decodeExtensions` to `decodeAuthenticatorExtensions` - Mention authenticator extension - Include decoding in `parseAuthenticatorData` - Add tests for `decodeAuthenticatorExtensions`
2022-05-15Tweak wording to reflect related spec diffMatthew Miller
2022-05-15Parse bits 3 and 4 for backup infoMatthew Miller
2022-05-15Improve readability of flag parsingMatthew Miller
2021-08-22Fix parsing extension data in auth dataMatthew Miller
2021-07-08Switch to addition assignment for buffer slicingMatthew Miller
2020-12-10Fix an unexpected server package build issueMatthew Miller
I have no idea why TypeScript started complaining about the return value of cbor.encode() here, nothing in this branch touches the server package and the last CI run before this branch passed just fine. Return type is `Buffer | ArrayBufferView` so I went with `ArrayBuffer`.
2020-11-18chore(deps): update cbor and wrap decodeFirstSync with recoveryJonathan Stewmon
Since cbor 5.1, decodeFirstSync behaves consistently with the async method, which throws an error if there are extra bytes after the first object. see: https://github.com/hildjj/node-cbor/commit/dc4f76445c42dc45dd5750ee53851159622795de
2020-09-09Explicitly cast cbor encode output to BufferMatthew Miller
2020-06-30Check for leftover bytes after parsing authDataMatthew Miller
2020-06-30Parse extensions data buffer from authDataMatthew Miller
2020-06-30Use CBOR decoder to extract pubKey from authDataMatthew Miller
2020-06-30Require minimum buffer size when parsing authDataMatthew Miller
2020-06-05Update authData parser to map returns to specMatthew Miller
2020-06-05Pass parsed authData into verification methodsMatthew Miller
2020-06-01Move some enums and types out of types packageMatthew Miller
2020-05-26Rename WebAuthntine to SimpleWebAuthnMatthew Miller
2020-05-25Run Prettier over everythingMatthew Miller
2020-05-22Convert parseAttestationAuthData to helperMatthew Miller