Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
50dcdb3
feat: Add Let's Encrypt SSL certificate device with DNS-01 challenges
PeterFarber Sep 8, 2025
41fe10d
chore: Rename sslOpts to ssl_opts and move to config-driven API
PeterFarber Sep 9, 2025
008a3f5
fix: http requests
PeterFarber Sep 9, 2025
117dba3
chore: create complete_rsa_key_from_wallet
PeterFarber Sep 11, 2025
4ccc97f
testing as seperate lib
PeterFarber Sep 11, 2025
47024b1
updated ssl repo
PeterFarber Sep 11, 2025
3d32c21
chore: using new ssl_cert lib
PeterFarber Sep 12, 2025
4f86502
fix HTTP port parsing, dial TLS correctly, follow 301 redirects
noahlevenson Sep 12, 2025
10ee035
fix httpc port / scheme parsing
noahlevenson Sep 15, 2025
3f2df7f
http client: properly handle redirects which include an explicit port
noahlevenson Sep 15, 2025
6fccb67
http client: properly enable TLS over non-443 port
noahlevenson Sep 15, 2025
7522ca1
http client: don't silently handle unexpected/malformed schemes
noahlevenson Sep 15, 2025
b64a58e
http client: parameterize automatic redirects
noahlevenson Sep 15, 2025
ae7b1f0
http client: parameterize and limit the maximum number of autoredirects
noahlevenson Sep 15, 2025
1d92d63
http client: handle redirects for all pertinent 3xx responses
noahlevenson Sep 15, 2025
1d27fe6
testing https
PeterFarber Sep 16, 2025
6c5f0ec
testing https with test
PeterFarber Sep 16, 2025
d46a485
testing https with test
PeterFarber Sep 16, 2025
ac2b416
testing https with test
PeterFarber Sep 16, 2025
822ec36
testing https with test
PeterFarber Sep 16, 2025
f5e5b27
Merge branch 'fix/http-client' of github.com:permaweb/HyperBEAM into …
PeterFarber Sep 16, 2025
cbe1f09
Merge branch 'edge' of github.com:permaweb/HyperBEAM into feat/ssl-ce…
PeterFarber Sep 16, 2025
08f7a20
slimmed down opts
PeterFarber Sep 16, 2025
c1687ab
slimmed down opts
PeterFarber Sep 16, 2025
76bece8
slimmed down opts
PeterFarber Sep 16, 2025
0326a09
test 443
PeterFarber Sep 16, 2025
92e070b
test 443
PeterFarber Sep 16, 2025
402976e
feat: refactor SSL certificate device and HTTP server
PeterFarber Sep 17, 2025
98a0137
fix: simplify HTTP client to fix redirect behavior
PeterFarber Sep 17, 2025
fc2d81d
feat: add SSL certificate sharing and refactor encryption helpers
PeterFarber Sep 18, 2025
cd3e13e
refactor: clean up rebar.config and remove unused gun_max_redirects o…
PeterFarber Sep 18, 2025
3408dc4
refactor: reorganize dev_green_zone with specs, maybe expressions, an…
PeterFarber Sep 19, 2025
49c88a0
revert: bring back refactored hb_http_client code
PeterFarber Sep 19, 2025
faa696e
testing atoms
PeterFarber Sep 19, 2025
8005aef
remove dif
PeterFarber Sep 19, 2025
98b23be
fix: sslopts
PeterFarber Sep 19, 2025
d0f19a2
fix cert_dir
PeterFarber Sep 19, 2025
47c86a9
fix use already existing green_zone_peer information
PeterFarber Sep 19, 2025
a3cebc7
fix: domain valiation by updating ssl_cert version
PeterFarber Sep 19, 2025
b4382bd
Merge branch 'edge' of github.com:permaweb/HyperBEAM into feat/ssl-ce…
PeterFarber Sep 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ mkdocs-site-manifest.csv

!test/admissible-report-wallet.json
!test/admissible-report.json
!test/config.json
!test/config.json

/*.md
4 changes: 1 addition & 3 deletions erlang_ls.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ diagnostics:
enabled:
- crossref
- dialyzer
- eunit
apps_dirs:
- "src"
- "src/*"
include_dirs:
- "src/include"
include_dirs:
- "src"
- "src/include"
- "_build/default/lib"
lenses:
enabled:
- ct-run-test
Expand Down
7 changes: 4 additions & 3 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
{prometheus, "4.11.0"},
{prometheus_cowboy, "0.1.8"},
{gun, "2.2.0"},
{luerl, "1.3.0"}
{luerl, "1.3.0"},
{ssl_cert, "1.0.1"}
]}.

{shell, [
Expand All @@ -138,7 +139,7 @@
{eunit_opts, [verbose, {scale_timeouts, 10}]}.

{relx, [
{release, {'hb', "0.0.1"}, [hb, b64fast, cowboy, gun, luerl, prometheus, prometheus_cowboy, elmdb]},
{release, {'hb', "0.0.1"}, [hb, b64fast, cowboy, gun, luerl, prometheus, prometheus_cowboy, elmdb, ssl_cert]},
{include_erts, true},
{extended_start_script, true},
{overlay, [
Expand All @@ -149,7 +150,7 @@
]}.

{dialyzer, [
{plt_extra_apps, [public_key, ranch, cowboy, prometheus, prometheus_cowboy, b64fast, eunit, gun]},
{plt_extra_apps, [public_key, ranch, cowboy, prometheus, prometheus_cowboy, b64fast, eunit, gun, ssl_cert]},
incremental,
{warnings, [no_improper_lists, no_unused]}
]}.
Expand Down
18 changes: 11 additions & 7 deletions rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
1},
{<<"elmdb">>,
{git,"https://github.com/twilson63/elmdb-rs.git",
{ref,"90c8857cd4ccff341fbe415b96bc5703d17ff7f0"}},
{ref,"5ac27143b44f4f19175fc0179b33c707300f1d44"}},
0},
{<<"graphql">>,{pkg,<<"graphql_erl">>,<<"0.17.1">>},0},
{<<"gun">>,{pkg,<<"gun">>,<<"2.2.0">>},0},
{<<"gun">>,
{git,"https://github.com/ninenines/gun",
{ref,"627b8f9ed65da255afaddd166b1b9d102e0fa512"}},
0},
{<<"luerl">>,{pkg,<<"luerl">>,<<"1.3.0">>},0},
{<<"prometheus">>,{pkg,<<"prometheus">>,<<"4.11.0">>},0},
{<<"prometheus_cowboy">>,{pkg,<<"prometheus_cowboy">>,<<"0.1.8">>},0},
Expand All @@ -26,24 +29,25 @@
{<<"ranch">>,
{git,"https://github.com/ninenines/ranch",
{ref,"10b51304b26062e0dbfd5e74824324e9a911e269"}},
1}]}.
1},
{<<"ssl_cert">>,{pkg,<<"ssl_cert">>,<<"1.0.1">>},0}]}.
[
{pkg_hash,[
{<<"accept">>, <<"CD6E34A2D7E28CA38B2D3CB233734CA0C221EFBC1F171F91FEC5F162CC2D18DA">>},
{<<"graphql">>, <<"EB59FCBB39F667DC1C78C950426278015C3423F7A6ED2A121D3DB8B1D2C5F8B4">>},
{<<"gun">>, <<"B8F6B7D417E277D4C2B0DC3C07DFDF892447B087F1CC1CAFF9C0F556B884E33D">>},
{<<"luerl">>, <<"B56423DDB721432AB980B818FEECB84ADBAB115E2E11522CF94BCD0729CAA501">>},
{<<"prometheus">>, <<"B95F8DE8530F541BD95951E18E355A840003672E5EDA4788C5FA6183406BA29A">>},
{<<"prometheus_cowboy">>, <<"CFCE0BC7B668C5096639084FCD873826E6220EA714BF60A716F5BD080EF2A99C">>},
{<<"prometheus_httpd">>, <<"8F767D819A5D36275EAB9264AFF40D87279151646776069BF69FBDBBD562BD75">>},
{<<"quantile_estimator">>, <<"EF50A361F11B5F26B5F16D0696E46A9E4661756492C981F7B2229EF42FF1CD15">>}]},
{<<"quantile_estimator">>, <<"EF50A361F11B5F26B5F16D0696E46A9E4661756492C981F7B2229EF42FF1CD15">>},
{<<"ssl_cert">>, <<"5E4133E7D524141836C045838C98E69964E188707DF12032CE5DA902BB40C9A3">>}]},
{pkg_hash_ext,[
{<<"accept">>, <<"CA69388943F5DAD2E7232A5478F16086E3C872F48E32B88B378E1885A59F5649">>},
{<<"graphql">>, <<"4D0F08EC57EF0983E2596763900872B1AB7E94F8EE3817B9F67EEC911FF7C386">>},
{<<"gun">>, <<"76022700C64287FEB4DF93A1795CFF6741B83FB37415C40C34C38D2A4645261A">>},
{<<"luerl">>, <<"6B3138AA829F0FBC4CD0F083F273B4030A2B6CE99155194A6DB8C67B2C3480A4">>},
{<<"prometheus">>, <<"719862351AABF4DF7079B05DC085D2BBCBE3AC0AC3009E956671B1D5AB88247D">>},
{<<"prometheus_cowboy">>, <<"BA286BECA9302618418892D37BCD5DC669A6CC001F4EB6D6AF85FF81F3F4F34C">>},
{<<"prometheus_httpd">>, <<"67736D000745184D5013C58A63E947821AB90CB9320BC2E6AE5D3061C6FFE039">>},
{<<"quantile_estimator">>, <<"282A8A323CA2A845C9E6F787D166348F776C1D4A41EDE63046D72D422E3DA946">>}]}
{<<"quantile_estimator">>, <<"282A8A323CA2A845C9E6F787D166348F776C1D4A41EDE63046D72D422E3DA946">>},
{<<"ssl_cert">>, <<"2E37259313514B854EE0BC5B0696250883568CD1A5FC9EC338D78E27C521E65D">>}]}
].
Loading