Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@canvas-js/chain-atp
Advanced tools
The Bluesky/AT Protocol session signer prompts the user for an app password, and uses it to generate a new signed post on Bluesky, authenticating a new session. The posted authentication message is then immediately deleted.
The Bluesky/AT Protocol session signer prompts the user for an app password, and uses it to generate a new signed post on Bluesky, authenticating a new session. The posted authentication message is then immediately deleted.
It also handles verification of messages matching this authentication method.
npm i @canvas-js/chain-atp
import type { Action, Message, Session, SessionSigner, Signature } from "@canvas-js/interfaces"
import { Operation } from "./operation.js"
export type ATPSessionData = {
verificationMethod: string
plcOperationLog: Operation[]
recordArchive: Uint8Array
recordURI: string
}
export interface ATPSignerOptions {
login?: () => Promise<{
identifier: string
password: string
}>
}
export declare class ATPSigner implements SessionSigner<ATPSessionData> {
constructor(options?: ATPSignerOptions)
static createAuthenticationMessage(topic: string, publicKey: string, address: string): string
match: (address: string) => boolean
verifySession(topic: string, session: Session<ATPSessionData>): Promise<void>
getSession(
topic: string,
options?: {
chain?: string
timestamp?: number
fromCache?: boolean
},
): Promise<Session<ATPSessionData>>
sign(message: Message<Action | Session>): Signature
clear(topic: string): void
}
FAQs
The Bluesky/AT Protocol session signer prompts the user for an app password, and uses it to generate a new signed post on Bluesky, authenticating a new session. The posted authentication message is then immediately deleted.
The npm package @canvas-js/chain-atp receives a total of 79 weekly downloads. As such, @canvas-js/chain-atp popularity was classified as not popular.
We found that @canvas-js/chain-atp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.