CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-oauth-sign

OAuth 1.0 signature generation for HTTP requests supporting HMAC-SHA1, HMAC-SHA256, RSA-SHA1, and PLAINTEXT methods

Overall
score

98%

Overview
Eval results
Files

Evaluation results

100%

25%

OAuth Parameter Normalizer

Edge case and special scenario handling

Criteria
Without context
With context

Uses generateBase function

0%

100%

Uses rfc3986 encoding

100%

100%

Handles array parameters

100%

100%

Uses hmacsign correctly

100%

100%

Handles missing secrets

100%

100%

100%

40%

OAuth API Request Signer

HMAC-SHA256 signature generation

Criteria
Without context
With context

Uses hmacsign256 function

0%

100%

Correct parameter order

100%

100%

Proper HTTP method handling

100%

100%

URL parameter handling

100%

100%

Parameters object handling

100%

100%

Empty token secret support

100%

100%

100%

OAuth Request Signer

HMAC-SHA1 signature generation

Criteria
Without context
With context

Uses hmacsign function

100%

100%

Correct parameter order

100%

100%

Proper parameter handling

100%

100%

Handles empty secrets

100%

100%

Returns signature correctly

100%

100%

No reimplementation

100%

100%

100%

OAuth Request Signer

Generic signature dispatcher (sign function)

Criteria
Without context
With context

Uses sign() function

100%

100%

Method string routing

100%

100%

Parameter mapping

100%

100%

RSA-SHA1 handling

100%

100%

100%

OAuth Development Credential Checker

PLAINTEXT signature method

Criteria
Without context
With context

Uses plaintext function

100%

100%

Correct parameter passing

100%

100%

Handles empty secrets

100%

100%

Signature verification

100%

100%

100%

OAuth Client Implementation

Complete OAuth 1.0a three-legged flow support

Criteria
Without context
With context

HMAC-SHA1 usage

100%

100%

Request token signing

100%

100%

Access token signing

100%

100%

Authenticated request signing

100%

100%

OAuth parameter construction

100%

100%

Signature base string

100%

100%

100%

OAuth Signature Key Builder

Cryptographic key construction (HMAC and RSA)

Criteria
Without context
With context

HMAC Key Construction

100%

100%

RFC 3986 Encoding

100%

100%

Empty Secret Handling

100%

100%

Special Character Encoding

100%

100%

RSA Key Validation

100%

100%

Key Construction Order

100%

100%

100%

URL Parameter Encoder

RFC 3986 percent-encoding

Criteria
Without context
With context

Uses rfc3986 function

100%

100%

encodeRFC3986 implementation

100%

100%

Parameter encoding logic

100%

100%

Special character handling

100%

100%

75%

-25%

OAuth Request Authenticator

Flexible API design (multiple interfaces)

Criteria
Without context
With context

Dynamic signature dispatch

100%

100%

RFC 3986 encoding

100%

100%

Direct method calls

100%

0%

Correct parameter passing

100%

100%

Method string handling

100%

100%

100%

International Social Media OAuth Client

Unicode and international character support

Criteria
Without context
With context

Uses hmacsign function

100%

100%

Proper parameter structure

100%

100%

RFC 3986 encoding

100%

100%

Correct secrets usage

100%

100%

Handles all test cases

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-oauth-sign
Evaluated
Agent
Codex

Table of Contents