-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40d5c6d
commit 4b4be9c
Showing
92 changed files
with
48,472 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["next", "next/core-web-vitals"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
# Maintain dependencies for npm | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ master ] | ||
schedule: | ||
- cron: '36 5 * * 4' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'javascript' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
# Learn more: | ||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
# queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: npm install | ||
- run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Snyk | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ master ] | ||
schedule: | ||
- cron: '21 9 * * 2' | ||
|
||
jobs: | ||
security: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Run Snyk to check for vulnerabilities | ||
uses: snyk/actions/node@master | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
# [CHANGELOG](#changelog) | ||
|
||
--- | ||
### v2.3.7 | ||
- Update packages | ||
- Delete about.js (Removed about page) | ||
- Removed Centralized Payments | ||
- Added NGINX CONF EXAMPLE | ||
- Update Footer.js | ||
- Update AppBar.js | ||
- Update Constants.js | ||
- Update Language.js | ||
- Update config.js | ||
- update title | ||
- Update Dockerfile | ||
- Cleanup the code for users to self-host easily with docker | ||
- Build the source with dockerfile to make changes incase the Pepcrypt maintain owner or myself doesn't feel like doing it do to laziness | ||
- Update LICENSE.md to GNU Affero General Public License v3.0 | ||
- Changed the Repo name from Pepcrypt to Pepcrypt | ||
|
||
## v2.3.6 | ||
|
||
- Update packages | ||
- Czech translation (by [Franatrtur](https://github.com/Franatrtur)). | ||
- Turkish translation (by [darkao](https://github.com/darkao)). | ||
- Japanese translation (by [Frank7sun](https://github.com/Frank7sun)). | ||
|
||
## v2.3.5 | ||
|
||
- Update packages | ||
- Slovak translation (by [t0mzSK](https://github.com/t0mzSK)). | ||
- Spanish translation (by [Xurdejl](https://github.com/Xurdejl)). | ||
|
||
## v2.3.4 | ||
|
||
- Update packages | ||
- Russian translation (by [Ser-Bul](https://github.com/Ser-Bul)). | ||
- Italian translation (by [matteotardito](https://github.com/matteotardito)). | ||
|
||
## v2.3.3 | ||
|
||
- Added page loading indicator. | ||
- Multiple UI elements redesign. | ||
- German translation (by [stophecom](https://github.com/stophecom)). | ||
- Fix file name encoding bug. | ||
- Update packages. | ||
- Code review, cleanup and bug fixes. | ||
|
||
## v2.3.2 | ||
|
||
- Critical bug fix that lead to file decryption errors, and file encryption in certain cases. [Release info.](https://github.com/sh-dv/Pepcrypt/releases/tag/v2.3.2) | ||
|
||
## v2.3.1 | ||
|
||
- Update packages | ||
- Code review, cleanup and bug fixes. | ||
|
||
## v2.3.0 | ||
|
||
- Improve password strength checking. | ||
- Add password crack time estimation. | ||
- Automated translation according to browser locale. | ||
- Chinese translation (by [qaqland](https://github.com/qaqland)). | ||
- UI/UX tweaks. | ||
- Optimize docker containers. | ||
- Code review, cleanup and bug fixes. | ||
|
||
## v2.2.2 | ||
|
||
- Sending the file name to SW instead of appending them to the URL. | ||
- French translation (by [bbouille](https://github.com/bbouille)). | ||
- Officially accepting Monero (xmr) for donations. | ||
- show English documentations as default if current locale documentations are not available. | ||
- Code review, cleanup and bug fixes. | ||
|
||
## v2.2.1 | ||
|
||
- Create special page for key pair generation (accessible at /generate-keys) | ||
- Alert users when duplicate tabs are opened. | ||
- Disable back button while testing password/keys. | ||
- Minor bug fixes. | ||
|
||
## v2.2.0 | ||
|
||
- Multiple files encryption/decryption. | ||
- Adding Dark Mode and tweaking styles. | ||
- Implementing custom localization. | ||
- In an effort to encourage the use of secure passwords, The minimum number of characters in the password input has been set to 12 characters. | ||
- Adding the ability to generate a QR code for the public key when generating a keypair. | ||
- New file picker design, display of total files counts and size. | ||
- Visiting different tabs through custom links (e.g ?tab=decryption). | ||
- Code review, cleanup and bug fixes. | ||
|
||
## v2.1.0 | ||
|
||
- Fixed navigation bug that lead sometimes to duplicate functions which caused increased encrypted file size. (CRITICAL) | ||
- Documentation enhancement. | ||
- Bug fixes and code review. | ||
|
||
## v2.0.9 | ||
|
||
- End to End testing with Cypress. | ||
- OS-level virtualization with Docker. | ||
- Show notification when copy to clipbaord. | ||
- Documentation enhancement. | ||
- Bug fixes and code review. | ||
|
||
## v2.0.8 | ||
|
||
- Adding asymmetric key cryptography. | ||
- Adding a key pair generator. | ||
- Create shareable links that contain sender's public key. | ||
- Possibility to choose encryption methods. | ||
- Hide encryption passwords by default | ||
- Removal of idle timer. | ||
- File validation checks are now performed before passwords entry. | ||
- Documentation enhancement. | ||
- Bug fixes and code review. | ||
|
||
## v2.0.7 | ||
|
||
- stable release of v2. | ||
- code review and minor bug fixes. | ||
|
||
## V2.0.6 | ||
|
||
- Fix file name bug in decryption download. | ||
- Implementing the password strength checker using zxcvbn. | ||
- Adding a password generate button inside the password field in the encryption panel. | ||
- Adding a password visibility button (on/off) inside the password field in the decryption panel. | ||
- About page redesign (documentation). | ||
- Idle timer fixes. | ||
- Detect if the file was decrypted using an old version of Pepcrypt (v1). | ||
- Safely encode file names passed to SW. | ||
- Update node.js to the newest version. | ||
- Adding the changelog file to github. | ||
|
||
## V2.0.5 | ||
|
||
- Fix critical bug with useEffect that leads to increased file output size. | ||
- Programming the markdown file parser for the Pepcrypt documentation. | ||
- Creating the About page. | ||
- Implementing an idle timer where user gets notified when they are inactive with app, where they are asked to reload the page. | ||
- Panel redesign. | ||
- Redesigning the Browse Button. | ||
- Adding an emoji on the homepage. | ||
- Removal of extra code comments. | ||
|
||
## V2.0.4 | ||
- Code review. | ||
- Removal of unwanted lines of code. | ||
- Comments cleanup. | ||
|
||
## V2.0.3 | ||
|
||
- Bug fixes. | ||
- Changing the whole UI design. | ||
- Improved File Validation. | ||
- Improved Password Validation. | ||
- Implementing a Stepper like design where the user has to go through steps to finish the encryption/decryption. | ||
- Safari and Mobile users are now limited to 1GB file. | ||
|
||
## V2.0.2 | ||
- A lot of bug fixes and code cleaning. | ||
- Adding support to Safari and Mobile browsers. | ||
|
||
## V2.0.1 | ||
- bug fixes. | ||
- Switching to React (next) instead of vanilla javascript. | ||
|
||
## V2.0.0 | ||
|
||
- The birth of Pepcrypt v2 beta where it introduced in-browser memory efficient large file chunked encryption using streams with libsodium.js and switching algorithms to xchacha20poly1305 and argon2id. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#https://hub.docker.com/_/node | ||
#https://hub.docker.com/_/nginx | ||
|
||
FROM node:latest as builder | ||
WORKDIR /app | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY . ./ | ||
ENV NEXT_TELEMETRY_DISABLED 1 | ||
RUN npm run build | ||
FROM nginx:latest | ||
COPY --from=builder /app/out /usr/share/nginx/html | ||
EXPOSE 3991 | ||
ENTRYPOINT ["nginx", "-g", "daemon off;"] |
Oops, something went wrong.