Skip to content

Commit

Permalink
Merge branch 'mprimi:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ggorlen authored Jan 24, 2023
2 parents 23d5a49 + 3fad300 commit 85ee30f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ I cannot take responsibility for such misuse any more than a hammer manufacturer

I came up with Portable Secret on my own, but I have since found a few projects that do something similar.

[StatiCrypt](https://github.com/robinmoisson/staticrypt)

[PolySafe](https://github.com/fmeum/polysafe)

[`hscrypt`](https://smondet.gitlab.io/hscrypt/)
Expand All @@ -130,6 +132,8 @@ I came up with Portable Secret on my own, but I have since found a few projects

[Digi-Cloak](https://github.com/kaushalmeena/digi-cloak)

[Pretty Easy Privacy](https://prettyeasyprivacy.xyz/)

If you are aware of other similar/related projects, please let me know and I'll link them here.

### Feedback
Expand Down
6 changes: 3 additions & 3 deletions creator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@

secretPage = pageTemplate
secretPage = secretPage.replaceAll("{{PASSWORD_HINT}}", passwordHint)
secretPage = secretPage.replaceAll("{{VALUES}}\n", values)
secretPage = secretPage.replaceAll("{{VALUES}}", values)

const dataURI = "data:application/octet-stream;base64," + btoa(secretPage)
document.getElementById("target_link").setAttribute("href", dataURI)
var blob = new Blob([secretPage], {'type':'text/html'});
document.getElementById("target_link").setAttribute("href", window.URL.createObjectURL(blob))
document.getElementById("target_link").hidden = false

setMessage("✅ Ready for download")
Expand Down

0 comments on commit 85ee30f

Please sign in to comment.