daml/daml-assistant
Stephen Compall 067f3c987d
require https reverse proxy (#5660)
* new --leak-passwords-firesheep-style option; functions to check forwarded protocol

* enforce https reverse-proxy in all JWT-accepting endpoints

* make HttpService.start take config record

* test that X-Forwarded-Proto or Forwarded is enforced

* use new start signature in daml-script tests

* use insecure http mode for ts codegen tests

* note on regex

* use insecure option in daml assistant integration tests

* log allowNonHttps setting

* add non-https option to more places in daml-assistant tests

* add non-https option to getting started guide

* rename --leak-passwords-firesheep-style to --allow-insecure-tokens

- per suggestion by @garyverhaegen-da, @hurryabit

CHANGELOG_BEGIN
- [JSON API] By default, checks that connections are made through a reverse-proxy
  providing HTTPS, ensuring that JWT tokens don't leak.  To disable this check,
  such as for development, pass ``--allow-insecure-tokens``.
  See `issue #5572 <https://github.com/digital-asset/daml/issues/5572>`_.
CHANGELOG_END

* daml start includes --allow-insecure-tokens by default

- as indicated by @cocreature
2020-04-28 14:33:38 -04:00
..
daml-helper require https reverse proxy (#5660) 2020-04-28 14:33:38 -04:00
daml-project-config/DA/Daml/Project replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
daml-sdk Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
exe/DA/Daml Rename daml codegen ts to daml codegen js (#5409) 2020-04-03 14:54:46 +00:00
integration-tests require https reverse proxy (#5660) 2020-04-28 14:33:38 -04:00
scala-daml-project-config Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
src/DA/Daml/Assistant Use relative symlink in daml install on unix. (#5596) 2020-04-17 13:08:49 +01:00
test/DA/Daml/Assistant Use relative symlink in daml install on unix. (#5596) 2020-04-17 13:08:49 +01:00
BUILD.bazel Refactor deployment tests: (#5342) 2020-04-02 10:17:21 +01:00
daml-project-config.cabal update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
get-daml.sh replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00