File: README

package info (click to toggle)
rust-sequoia-openpgp 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,608 kB
  • sloc: sh: 6; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This directory contains test vectors for the armor module.

# literal-$n.*

These files are generated using:

  (cd ../../../.. && cargo build -p sequoia-openpgp --example wrap-literal)
  for n in 0 1 2 3 47 48 49 50 51
  do
    dd if=/dev/urandom bs=1 count=$n \
      | ../../../../target/debug/examples/wrap-literal > literal-$n.asc
    sq dearmor -o literal-$n.bin literal-$n.asc
    grep -v - literal-$n.asc > literal-$n-no-header-with-chksum.asc
    grep -v - literal-$n.asc | head -n -1 > literal-$n-no-header.asc
    tr "\n" " " <literal-$n.asc > literal-$n-no-newlines.asc
  done