This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

SRI

Cli app for subresource integrity calculation

Help

Usage: sri [OPTION...]
Generate sri of a file

Example:
    bazel run //c/sri:bin -- --digest sha256 --file ${PWD}/README.md

  -d, --digest=String        Digest type (sha256, for example)
  -f, --file=Path            Path to the file to parse
  -?, --help                 Give this help list
      --usage                Give a short usage message

1 - Bazel targets

NameInfo
bin
locationc/sri/BUILD.bazel:26:10
name//c/sri:bin
ruleClasscc_binary
ruleOutput
  • //c/sri:bin.dwp
  • //c/sri:bin.stripped
visibility
  • //visibility:public
changelog
locationc/sri/BUILD.bazel:13:17
name//c/sri:changelog
ruleClasspkg_filegroup
visibility
  • //visibility:public
changelog.changelog
locationc/sri/BUILD.bazel:13:17
name//c/sri:changelog.changelog
ruleClassal_template_files
ruleOutput
  • //c/sri:changelog.doc.md
visibility
  • //visibility:private
changelog.changelog_data
locationc/sri/BUILD.bazel:13:17
name//c/sri:changelog.changelog_data
ruleClassal_git_run_binary
ruleOutput
  • //c/sri:changelog.changelog_data.yaml
visibility
  • //visibility:private
changelog.changelog_files
locationc/sri/BUILD.bazel:13:17
name//c/sri:changelog.changelog_files
ruleClasspkg_files
visibility
  • //visibility:private
changelog.template
locationc/sri/BUILD.bazel:13:17
name//c/sri:changelog.template
ruleClass_write_file
ruleOutput
  • //c/sri:changelog.template.md
visibility
  • //visibility:private
cmd
locationc/sri/BUILD.bazel:37:11
name//c/sri:cmd
ruleClasscc_library
visibility
  • //visibility:private
errors
locationc/sri/BUILD.bazel:66:11
name//c/sri:errors
ruleClasscc_library
visibility
  • //visibility:private
lib
locationc/sri/BUILD.bazel:18:11
name//c/sri:lib
ruleClasscc_library
visibility
  • //visibility:private
readme
locationc/sri/BUILD.bazel:8:10
name//c/sri:readme
ruleClassfilegroup
visibility
  • //visibility:public
readme.srcs
locationc/sri/BUILD.bazel:8:10
name//c/sri:readme.srcs
ruleClasspkg_files
visibility
  • //visibility:private
readme.with_children
locationc/sri/BUILD.bazel:8:10
name//c/sri:readme.with_children
ruleClasspkg_filegroup
visibility
  • //visibility:public
sri
locationc/sri/BUILD.bazel:47:11
name//c/sri:sri
ruleClasscc_library
visibility
  • //visibility:private
sri-test
locationc/sri/BUILD.bazel:57:8
name//c/sri:sri-test
ruleClasscc_test
ruleOutput
  • //c/sri:sri-test.dwp
  • //c/sri:sri-test.stripped
visibility
  • //visibility:private
tests
locationc/sri/BUILD.bazel:32:11
name//c/sri:tests
ruleClasstest_suite
visibility
  • //visibility:private

2 - Changelog

  • Move changelog rules to bzl/rules/git, improve ansible rules (c94123)
  • Move changelog rules to bzl/rules/changelog (4d59d6)
  • Move readme rules to bzl/rules/readme (95ea8d)
  • Move bzl rules to bzl/rules/bzl (57930e)
  • Fix segfaults in c/sri, add more test cases (4fd95e)
  • Add changelog for all packages (a6ebf9)
  • Add bzl_target_doc (c5636e)
  • Add al_vial_submissions macro, update titles and descriptions (79c826)
  • Use argp in sri, add help to sri readme (dcc5df)
  • Use subpackages() to build docs instead of writing queries to the tree (ba7b67)
  • Add md targets for all md files, add bzl/vars/readmes.bzl (a39482)
  • Add tests to c/sri (b79549)
  • Rewrite c/sri to accept files instead of strings (73a311)
  • Fix sri calculations in c/sri (5a1b6d)
  • Rename c/sri, add error handling to c/sri (1888d6)