impress/bin
Emi Matchu ffcfce2eb8 Use local-only HTTPS certs for the development neopass-server
I'm starting to work with the OpenID Connect stuff in NeoPass, and the
library I'm using for discovery doesn't seem to want to do it over a
plain `http://` connection. (I dug into the source files, and it just
actually is hardcoded to only work with HTTPS, as far as I can tell?)

So, I've added logic to `neopass-server` to try to make an HTTPS
certificate with the `mkcert` utility (if installed), which is a tool
that installs a root certificate authority on your local machine, then
helps you create certificates via that authority that will work only on
your local machine.

I think I'll also be able to remove the "main" server in front of the
backing server, because the library I'm using now will be able to
"discover" the auth and token endpoints, so it won't matter that our
local one uses different URLs than live NeoPass does? We'll find out!

I also remove `neopass-server` from the `Procfile`, because I think
it's a bit rude to have it auto-try to run `mkcert`. We could like,
make the process just a no-op in that case? But I think I'd prefer to
just run `neopass-server` by hand when I want it, for simplicity.
2024-03-14 18:01:54 -07:00
..
bundle Upgrade to Ruby 2.2.4, Rails 4.0.13 2023-10-23 19:05:02 -07:00
deploy Precompile assets when deploying new version 2023-10-23 19:05:09 -07:00
deploy:precompile Precompile assets when deploying new version 2023-10-23 19:05:09 -07:00
deploy:push Precompile assets when deploying new version 2023-10-23 19:05:09 -07:00
deploy:setup Precompile assets when deploying new version 2023-10-23 19:05:09 -07:00
dev Bundle wardrobe-2020 into the app 2023-10-23 19:05:08 -07:00
neopass-server Use local-only HTTPS certs for the development neopass-server 2024-03-14 18:01:54 -07:00
rails Upgrade to Rails 7.0.6 2023-10-23 19:05:07 -07:00
rake Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
setup Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
update Run rails app:update 2023-10-23 19:05:05 -07:00
yarn Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00