Skip to content

Commit

Permalink
feat: add plaintext encryption tests
Browse files Browse the repository at this point in the history
Adds tests for plaintext encryption
  • Loading branch information
achingbrain committed Aug 16, 2024
1 parent 2649d34 commit 8b26c0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export type NodeType = 'js' | 'go'
export type PeerIdType = 'rsa' | 'ed25519' | 'secp256k1'
export type PubSubRouter = 'gossipsub' | 'floodsub'
export type Muxer = 'mplex' | 'yamux'
export type Encryption = 'noise' | 'tls'
export type Encryption = 'noise' | 'tls' | 'plaintext'
export type TransportType = 'tcp' | 'webtransport' | 'webrtc-direct'

export interface SpawnOptions {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/test-matrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface TestFunction {
export function runTests (name: string, fn: TestFunction, factory: DaemonFactory): void {
const keyTypes: PeerIdType[] = ['ed25519', 'rsa', 'secp256k1']
const impls: NodeType[] = ['js', 'go']
const encrypters: Encryption[] = ['noise', 'tls']
const encrypters: Encryption[] = ['noise', 'tls', 'plaintext']
const muxers: Muxer[] = ['mplex', 'yamux']

for (const keyType of keyTypes) {
Expand Down

0 comments on commit 8b26c0b

Please sign in to comment.