nassh: switch iframe settings to manifest csp

Seems setting X-Frame-Options via <meta> tag no longer works,
so switch to setting the csp value in the manifest.

Bug: b:285931419, b:176975022
Change-Id: I2503888b93f756bc8b786e0177df6feac11d9a42
Reviewed-on: https://chromium-review.googlesource.com/c/apps/libapps/+/4603751
Reviewed-by: Vitaliy Shipitsyn <vsh@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
(cherry picked from commit 075ca41df5cac4fcda87bb0bff76a912decff4bd)
Reviewed-on: https://chromium-review.googlesource.com/c/apps/libapps/+/4608928
4 files changed
tree: e0a1565e03041effef8e3d70cb9df98710b82a9c
  1. hterm/
  2. kokoro/
  3. libdot/
  4. nassh/
  5. ssh_client/
  6. terminal/
  7. wasi-js-bindings/
  8. wassh/
  9. .clang-format
  10. .eslintrc.js
  11. .gitignore
  12. .markdownlintrc
  13. .npmrc
  14. .pylintrc
  15. CPPLINT.cfg
  16. Dockerfile
  17. HACK.md
  18. LICENSE
  19. navbar.md
  20. OWNERS
  21. package.json
  22. PRESUBMIT.cfg
  23. README.md
README.md

Hello

This branch is for the frozen Chrome App implementation of Secure Shell only.

This repository contains the libdot JavaScript library and some web applications that make use of it.

The official copy of this repository is hosted at https://chromium.googlesource.com/apps/libapps.

There is also a mirror on github at https://github.com/libapps/libapps-mirror. A few subprojects are also extracted out into their own git repo and mirrored. Keep in mind that these mirrors may occasionally be behind the official repository.

All changes must go through the Gerrit code review server on https://chromium-review.googlesource.com. Github pull requests cannot be accepted. Please see the HACK.md document in this directory for the details.

Top level directories

  • libdot/ is a small set of JS libraries initially developed as part of hterm, now available as shared code.

  • hterm/ is a JS library that provides a terminal emulator. It is reasonably fast, reasonably correct, and reasonably portable across browsers.

  • nassh/ is the Secure Shell Chrome extension that combines hterm with a NaCl build of OpenSSH to provide a PuTTY-like app for Chrome users.

  • ssh_client/ is the NaCl port of OpenSSH. It is used by nassh to create the Secure Shell App.