Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new module: Convert to Emoji alphabe #6

Open
wants to merge 304 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
06c912b
Merge branch 'master' into patch-3
a3957273 Feb 3, 2024
940f78a
Merge branch 'master' into LZNT1
a3957273 Feb 3, 2024
44b5667
Merge pull request #1675 from 0xThiebaut/LZNT1
a3957273 Feb 3, 2024
c6da0c6
Merge pull request #1678 from cnotin/patch-3
a3957273 Feb 3, 2024
22a873c
Describe that "Parse ASN.1 hex string" operation requires an hex stri…
cnotin Nov 28, 2023
df151ea
10.6.0
a3957273 Feb 3, 2024
dea2b3a
Merge branch 'master' into patch-1
a3957273 Feb 3, 2024
10b0d91
Merge branch 'master' into BlacAmDK-patch-1
a3957273 Feb 3, 2024
592745f
Merge pull request #1661 from BlacAmDK/BlacAmDK-patch-1
a3957273 Feb 3, 2024
ed59f6a
Merge pull request #1658 from cnotin/patch-1
a3957273 Feb 3, 2024
0f3cd72
Add links to Changelog
a3957273 Feb 4, 2024
c3b89ef
Merge branch 'master' into master
a3957273 Feb 4, 2024
1916137
Merge branch 'master' into rison-operation
a3957273 Feb 4, 2024
5afecdb
Update node packages
a3957273 Feb 4, 2024
fd77152
Merge pull request #1554 from sg5506844/Bcrypt-hash-detection-to-Anal…
a3957273 Feb 4, 2024
b118932
Merge branch 'master' into base92
a3957273 Feb 4, 2024
0359a2e
Merge branch 'master' into fix-xss
a3957273 Feb 4, 2024
75c4e19
Merge pull request #1549 from brun0ne/fix-xss
a3957273 Feb 4, 2024
a95be3b
Downgrade bootstrap version
a3957273 Feb 4, 2024
7310089
Downgrade Jimp
a3957273 Feb 4, 2024
e532248
Merge branch 'master' into chore/update-packages
a3957273 Feb 4, 2024
56a8e02
Merge pull request #1705 from gchq/chore/update-packages
a3957273 Feb 4, 2024
dc77602
Add MurmurHash3
AliceGrey Jan 23, 2024
20db43c
Add MIT License
AliceGrey Feb 6, 2024
59b97bf
Add MurmurHash3 Tests and normalize filename
AliceGrey Feb 6, 2024
afcf465
Rename Murmurhash3.mjs to MurmurHash3.mjs
AliceGrey Feb 6, 2024
cfc8a50
Fix calculation bug and add Convert to Signed
AliceGrey Feb 6, 2024
a3944fe
Merge pull request #1694 from AliceGrey/master
a3957273 Feb 8, 2024
2b57f94
Merge branch 'master' into rison-operation
a3957273 Feb 9, 2024
d8be3df
Merge pull request #1555 from sg5506844/rison-operation
a3957273 Feb 9, 2024
6c97187
Merge pull request #1667 from sw5678/master
a3957273 Feb 9, 2024
a54522f
10.7.0
a3957273 Feb 9, 2024
35c2d43
Merge branch 'master' of https://github.com/gchq/CyberChef
a3957273 Feb 9, 2024
c13997b
Merge pull request #1553 from sg5506844/base92
a3957273 Feb 9, 2024
19194a7
Fix typo in FileTree.mjs
dougburks Feb 9, 2024
9829b41
Merge pull request #1709 from dougburks/patch-1
a3957273 Feb 9, 2024
a942fe9
Merge branch 'master' into master
jlaundry Feb 11, 2024
e973ea6
update Diff sanity check test
jlaundry Feb 11, 2024
0da3081
Add new steps to publish a containerized CyberChef to GHCR
AshCorr Jan 30, 2024
3b26532
Build container on PR (but don't publish) to verify Containerfile syntax
AshCorr Jan 30, 2024
40a4872
Generate prod build inside container
AshCorr Feb 6, 2024
7588e50
Remove unecessary QEMU install step
AshCorr Feb 6, 2024
dbdcb46
Remove unecessary `if: success()` from Github release workflow
AshCorr Feb 6, 2024
a072930
Add packages write permission
AshCorr Feb 8, 2024
4b95ab2
Increase nofile limit to 10,000 when building container on PR workflo…
AshCorr Feb 8, 2024
2b85336
Remove ARM64 Container build from release workflow
AshCorr Feb 8, 2024
1a2207a
Swtich to nginx for container
AshCorr Feb 11, 2024
d700d1d
Switch to using Dockerfile
AshCorr Feb 11, 2024
314b925
Add a comment to the README about using Docker
AshCorr Feb 11, 2024
abd9024
Add a .dockerignore file
AshCorr Feb 11, 2024
c5e8806
Fix CI using Containerfile
AshCorr Feb 11, 2024
3f89a94
Remove `image` property from Container build & push actions
AshCorr Feb 12, 2024
7582abf
Fix PR workflow, Buildah requires atleast an image name if no tags sp…
AshCorr Feb 12, 2024
62dfa8f
Point to the correct workflow in the README for Container releases.
AshCorr Feb 12, 2024
7cfb5e0
Added RAKE functionality into CC
sw5678 Feb 12, 2024
c7377da
Adding and removing tests
sw5678 Feb 12, 2024
8b5b17b
Merge branch 'gchq:master' into RAKE
sw5678 Feb 12, 2024
fc7c631
Merge pull request #1714 from sw5678/master
a3957273 Feb 12, 2024
4b9d5a7
Merge pull request #1699 from AshCorr/ash/Containers!
a3957273 Feb 13, 2024
47f1f4c
Bump to 10.8.0
a3957273 Feb 13, 2024
112d52c
Remove specified permissions
a3957273 Feb 13, 2024
26fa5f3
Merge pull request #1623 from jlaundry/master
a3957273 Feb 13, 2024
7a38504
Merge branch 'master' into master
a3957273 Feb 13, 2024
dc68b7d
add to tests, fix test, fix a comma
Kalkran Feb 13, 2024
9e73e25
Merging master into branch
sw5678 Feb 13, 2024
7748288
Adding RAKE test import back after merge conflict
sw5678 Feb 13, 2024
14ee3f0
Merge pull request #1695 from Kalkran/master
a3957273 Feb 13, 2024
6344987
Fix JSON folder folding in Firefox
GoForceX Feb 14, 2024
ba82941
Merge pull request #1719 from GoForceX/master
a3957273 Feb 15, 2024
196bce0
Merge pull request #1715 from sw5678/RAKE
a3957273 Feb 16, 2024
6c0c53d
Add dev container config file
acbgbca Feb 17, 2024
85da5f8
Add gh-cli, add extensions, node_modules as a volume
mattnotmitt Feb 17, 2024
61d587a
Merge pull request #1704 from mattnotmitt/add-dev-container
a3957273 Feb 18, 2024
d2ff03c
Update DateTime.mjs
tomgond Feb 21, 2024
4dc4c7e
Update Categories.json
tomgond Feb 21, 2024
6331c20
Add code for DateTime Delta to calculate operation
tomgond Feb 21, 2024
bebb216
Bump CyberChef to v10.8.2
a3957273 Feb 21, 2024
bc82f59
Merge branch 'master' into fernet
a3957273 Feb 22, 2024
cd0aee7
Remove deprecated code
a3957273 Feb 22, 2024
299a3c4
Update imports from Fernet module
a3957273 Feb 22, 2024
b4c1421
Fix encrypt
a3957273 Feb 22, 2024
210186e
Fix tests
a3957273 Feb 22, 2024
c4e7c41
Merge pull request #501 from kassi/fernet
a3957273 Feb 22, 2024
a9c00a5
Merge branch 'master' into date-delta
tomgond Feb 22, 2024
4e9567f
Update DateTimeDelta.mjs
tomgond Feb 22, 2024
e85acee
Update DateTimeDelta.mjs
tomgond Feb 23, 2024
963e283
add css styling on focus
e218736 Feb 27, 2024
fccc358
aria labels/aria hidden to input/output buttons
e218736 Feb 29, 2024
bf833a3
favourites button aria label
e218736 Feb 29, 2024
5992ba1
Merge branch 'master' into fix/chacha-raw
joostrijneveld Mar 8, 2024
9068b6c
Add Salsa20 and XSalsa20 operation
joostrijneveld Mar 10, 2024
81e1abd
Improving efficency of RAKE
sw5678 Mar 11, 2024
e1c73a6
Updated xmldom package to new namespace for vuln remediation
chriswhite199 Mar 13, 2024
ef5ff5b
Updated jsonwebtoken dependency to 9+
chriswhite199 Mar 13, 2024
16dfb3f
Automatically detect EOL from paste events and output setting
n1474335 Jul 21, 2023
65ffd8d
Automatically detect UTF8 character encoding in output
n1474335 Mar 26, 2024
e4077fb
Lint and dependency update
n1474335 Mar 26, 2024
70ff3a5
Updated CHANGELOG
n1474335 Mar 26, 2024
762cf3c
10.9.0
n1474335 Mar 26, 2024
64111b8
Downgrade chromedriver version for GitHub Actions
n1474335 Mar 26, 2024
a5f9a87
Fixed erroring test
n1474335 Mar 26, 2024
1f316a2
More test tweaking
n1474335 Mar 26, 2024
f1dcc33
More test tweaking
n1474335 Mar 26, 2024
ee77e0a
More test tweaking
n1474335 Mar 26, 2024
0026d77
More test tweaking
n1474335 Mar 26, 2024
953861a
File signatures for heic/heif, refs #1613
simonw Mar 26, 2024
674c8c7
Merge pull request #1757 from simonw/heic-heif
a3957273 Mar 27, 2024
ef59634
Added 'JA4 Fingerprint' operation
n1474335 Mar 27, 2024
943d01c
Updated CHANGELOG
n1474335 Mar 27, 2024
862cfdf
10.10.0
n1474335 Mar 27, 2024
6fd00e2
Merge branch 'master' of github.com:gchq/CyberChef
n1474335 Mar 27, 2024
6edf731
Merge pull request #1753 from chriswhite199/jsonwebtoken-vuln
a3957273 Mar 29, 2024
77b7d7e
Merge pull request #1752 from chriswhite199/xmldom-upgrade
a3957273 Mar 29, 2024
27b7e3c
Release v10.11.0
a3957273 Mar 29, 2024
877c83e
Fix changelog links
a3957273 Mar 29, 2024
0f14d23
Merge pull request #1750 from joostrijneveld/feature/salsa20
a3957273 Mar 29, 2024
4fdea84
10.12.0
a3957273 Mar 29, 2024
d29dbe7
Merge branch 'master' of https://github.com/gchq/CyberChef
a3957273 Mar 29, 2024
acce7ca
Bump package version
a3957273 Mar 29, 2024
3b5225a
Merge branch 'master' into fix/chacha-raw
joostrijneveld Mar 29, 2024
d59ebdd
Merge branch 'master' into date-delta
tomgond Mar 29, 2024
b4133a0
Merge branch 'master' into addfangurl-master
a3957273 Mar 30, 2024
2784978
Fix slash regular expression bug
a3957273 Mar 30, 2024
a1f6960
Merge pull request #1761 from gchq/origin/add_fangurl
a3957273 Mar 30, 2024
7ccf8cb
10.13.0
a3957273 Mar 30, 2024
b88fbcc
Merge branch 'master' of https://github.com/gchq/CyberChef
a3957273 Mar 30, 2024
6efa2dd
Merge branch 'master' into tcode2k16/master
a3957273 Mar 30, 2024
75a28b5
Merge pull request #1762 from gchq/feature/floats
a3957273 Mar 30, 2024
e258e5a
Merge pull request #1606 from joostrijneveld/fix/chacha-raw
a3957273 Mar 30, 2024
21dc5d9
Merge pull request #1197 from evanreichard/disassembler_update
a3957273 Mar 31, 2024
8647b50
Merge pull request #933 from cbeuw/blowfish-keyfix
a3957273 Mar 31, 2024
5c563c2
Merge pull request #1361 from devcydo/xxtea_encryption
a3957273 Mar 31, 2024
6677317
update x86 disassembly tests
a3957273 Mar 31, 2024
866c9a9
10.14.0
a3957273 Mar 31, 2024
1b16c26
Operation: Added extract hash feature
MShwed Mar 11, 2019
98edef3
Corrected module type
MShwed Mar 11, 2019
de8ed69
Improved description of operation
MShwed Mar 12, 2019
a6b774d
Fixed issues with const/let and changed default character length
MShwed Mar 12, 2019
3983e1a
Updated imports
MShwed Mar 31, 2024
4c6200f
Fix Base58 handling of strings with only null characters
zb3 Apr 1, 2024
c46660a
Merge pull request #1763 from zb3/fix-base58
a3957273 Apr 1, 2024
0717407
Disable 'Extract ID3' Nightwatch tests
a3957273 Apr 1, 2024
61295a9
Lower case 'hash'
a3957273 Apr 1, 2024
6b95ba7
Fix regular expresion crash in extract hashes
a3957273 Apr 1, 2024
df140b5
Merge pull request #1764 from gchq/bug/disable-extract-tests
a3957273 Apr 1, 2024
52709f0
Fix Ciphersaber2 key concatenation
zb3 Apr 1, 2024
56f92af
Change time-delta argument to be per time unit
tomgond Apr 1, 2024
dfedfa9
Fix test to fit new time-delta format
tomgond Apr 1, 2024
8a17aba
Merge pull request #1765 from zb3/fix-ciphersaber2
a3957273 Apr 1, 2024
dd2cfe8
Merge branch 'master' into date-delta
tomgond Apr 1, 2024
c5e5ed2
add Certificate Signing Request (CSR) parse action
jkataja Jan 22, 2023
ab47b35
Fix CryptoJS argument passing in DeriveEVPKey
zb3 Apr 1, 2024
8d4ad6a
Minor changes. Added test cases.
MShwed Apr 2, 2024
077b11e
Fixed op name in test
MShwed Apr 2, 2024
21e5641
Merge branch 'master' into feature/extract-hashes
MShwed Apr 2, 2024
9448106
Merge pull request #1767 from zb3/fix-evpkey
a3957273 Apr 2, 2024
d2bd397
Merge branch 'master' into feature/extract-hashes
MShwed Apr 2, 2024
99efcb5
Revert "Updated jsonwebtoken dependency to 9+"
a3957273 Apr 2, 2024
dc8c185
Merge pull request #1769 from gchq/revert-1753-jsonwebtoken-vuln
a3957273 Apr 2, 2024
fda77cf
add option to show Parse CSR only supports RSA
jkataja Apr 2, 2024
ccd3839
Merge pull request #1504 from jkataja/parse-csr
a3957273 Apr 2, 2024
1d4c810
Merge pull request #512 from MShwed/feature/extract-hashes
a3957273 Apr 2, 2024
c795271
Change output to 'html'
a3957273 Apr 2, 2024
2000938
Merge pull request #1732 from tomgond/date-delta
a3957273 Apr 2, 2024
b5959c6
10.15.0
a3957273 Apr 2, 2024
c35557a
Merge branch 'master' of https://github.com/gchq/CyberChef
a3957273 Apr 2, 2024
016825d
Update CHANGELOG.md
a3957273 Apr 2, 2024
a1892d4
Merge branch 'master' into hide-recipe-options
TheZ3ro Apr 5, 2024
ab0493f
Update CHANGELOG
n1474335 Apr 5, 2024
0f0efef
Make expectOutput actually check the output
zb3 Apr 5, 2024
4652608
Fix character encoding io test
zb3 Apr 5, 2024
fc40580
Avoid calling inputChange when setting encoding inside loadURIParams
zb3 Apr 5, 2024
1adc2ff
Make loadURIParams set input non-silently
zb3 Apr 5, 2024
d3fb8bd
Fixed typos
n1474335 Apr 5, 2024
1b870e5
Updated copyright declarations to a range up to the latest commit
n1474335 Apr 5, 2024
ed930d2
Moved ops to different modules
n1474335 Apr 5, 2024
ef52195
Fixed and improved some infoURLs
n1474335 Apr 5, 2024
6ca60cb
Improvements to HEIF file signature and GIF file extractor
n1474335 Apr 5, 2024
409e795
Moved UUID regex in list
n1474335 Apr 5, 2024
33a473c
10.15.1
n1474335 Apr 5, 2024
bf9066a
fix: make the linter happy
TheZ3ro Apr 6, 2024
1fbf6c9
Merge branch 'master' into hide-recipe-options
TheZ3ro Apr 6, 2024
e303317
Merge branch 'master' into fix-testui-race-condition
zb3 Apr 6, 2024
a23e47d
Merge branch 'master' into fix-expectOutput
zb3 Apr 6, 2024
a81b206
Abort the previous bake when attempting the next autobake
zb3 Apr 6, 2024
2e284d3
Fix autobake ui test
zb3 Apr 6, 2024
db331e9
fix ui test code style
zb3 Apr 6, 2024
8c283c7
Merge pull request #1783 from zb3/fix-expectOutput
a3957273 Apr 7, 2024
b2e400f
Merge pull request #1743 from e218736/button-aria-labels
a3957273 Apr 8, 2024
670c370
Merge branch 'master' into hide-recipe-options
TheZ3ro Apr 9, 2024
a09f845
Require (a, 26) to be coprime in affine encode
EvieHarv Apr 10, 2024
00f7914
Fix affine encode testcase
EvieHarv Apr 10, 2024
d13218c
Merge pull request #1739 from e218736/options-dialog-keyboard-navigation
a3957273 Apr 11, 2024
2191d20
Removed trailing whitespace
sw5678 Apr 12, 2024
f606d4b
Merge branch 'gchq:master' into master
sw5678 Apr 12, 2024
0cfb67b
Improved readability and efficiency of RAKE
sw5678 Apr 12, 2024
7b2d572
Added 'JA4Server Fingerprint' operation
n1474335 Apr 12, 2024
d21a6c8
Updated CHANGELOG
n1474335 Apr 12, 2024
cc28c6a
10.16.0
n1474335 Apr 12, 2024
f86817b
Public Key from Certificate
cplussharp Oct 14, 2023
28e2a39
Public Key from Private Key
cplussharp Oct 14, 2023
7a2c9dd
Operation: Generate ECDSA Key Pair
cplussharp Nov 7, 2021
8f182e4
Sign/Verify Operations for ECDSA
cplussharp Nov 13, 2021
cbf990f
JWK conversion from/to PEM
cplussharp Nov 17, 2021
4619a51
Merge pull request #541 from TheZ3ro/hide-recipe-options
a3957273 Apr 13, 2024
67195f6
Merge pull request #1277 from cplussharp/jwk
a3957273 Apr 13, 2024
edc23a8
Merge pull request #1642 from cplussharp/pubkey-from-cert
a3957273 Apr 13, 2024
f6c5a04
Merge branch 'master' into master
a3957273 Apr 13, 2024
a429902
Merge pull request #1751 from sw5678/master
a3957273 Apr 13, 2024
6e8c759
Merge pull request #1788 from EvieHarv/master
a3957273 Apr 13, 2024
8ab2256
v10.17.0
a3957273 Apr 13, 2024
7b54d9e
ECDSA rename signature format "Concat HEX" to "P1363 HEX"
cplussharp Apr 14, 2024
1fbc7e0
make the ECDSA JSON signature parsing more robust
cplussharp Apr 14, 2024
7e7195c
ECDSA: Output keys as JSONWebKeySet instead of two JWK
cplussharp Apr 14, 2024
21ac516
ECDSA JSON Web Signature format
cplussharp Apr 14, 2024
7538be6
Merge pull request #1275 from cplussharp/ec-asn1
a3957273 Apr 15, 2024
42ad9a4
Merge pull request #1786 from zb3/fix-overwritten-output
a3957273 Apr 15, 2024
e61d64f
Wording and stats improvements
n1474335 Apr 23, 2024
361a35b
Removed trailing spaces from RAKE
n1474335 Apr 23, 2024
2e2490c
10.17.1
n1474335 Apr 23, 2024
0a353ee
Improved XXTEA operations. Added XXTEA Decrypt.
n1474335 Apr 24, 2024
801f3a5
Updated CHANGELOG
n1474335 Apr 24, 2024
f304f08
10.18.0
n1474335 Apr 24, 2024
2f42f51
Updated chromedriver
n1474335 Apr 24, 2024
2d6ac80
10.18.1
n1474335 Apr 24, 2024
29efd77
Merge branch 'fix-testui-race-condition' of https://github.com/zb3/Cy…
n1474335 Apr 24, 2024
0a709ac
Merge branch 'zb3-fix-testui-race-condition'
n1474335 Apr 24, 2024
a79be1e
Removed autoBakePause flag and statechange trigger in InputWaiter.set…
n1474335 Apr 24, 2024
718ce9e
10.18.2
n1474335 Apr 24, 2024
2e76e44
Tweaked UI test
n1474335 Apr 24, 2024
b7a7eeb
More test tweaks
n1474335 Apr 24, 2024
48f3bf9
10.18.3
n1474335 Apr 24, 2024
f0a49fe
Extended time for autoBake to trigger in a test
n1474335 Apr 25, 2024
bbebba6
Added pause after setting complex input to avoid race conditions
n1474335 Apr 25, 2024
57c8c6d
Added operation counts to categories and ops list with option to hide…
n1474335 May 13, 2024
d1a0da3
10.18.4
n1474335 May 13, 2024
3739818
Improved testing to account for race conditions
n1474335 May 16, 2024
fb818c3
10.18.5
n1474335 May 16, 2024
86d5978
Improved GOST algorithm naming and block size selection
n1474335 May 16, 2024
18159ce
10.18.6
n1474335 May 16, 2024
74d0166
Fixed GOST sBox arg bug
n1474335 Jun 6, 2024
7eb887c
10.18.7
n1474335 Jun 6, 2024
b6c9549
chore: remove repeat words
piguagua Jun 10, 2024
63913f4
Merge pull request #1829 from piguagua/master
a3957273 Jun 11, 2024
2b275f0
Updated eslint, Jimp, and other dependencies
n1474335 Jun 11, 2024
0cd4d41
10.18.8
n1474335 Jun 11, 2024
c23a8de
Merge branch 'master' of github.com:gchq/CyberChef
n1474335 Jun 11, 2024
6c30c9c
Merge branch 'master' into master
a3957273 Jun 11, 2024
1efbd9d
Merge pull request #1200 from AlfredBerg/master
a3957273 Jun 11, 2024
cfc502c
Merge branch 'master' into master
ruppde Jun 12, 2024
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
41 changes: 41 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "CyberChef",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/github-cli": "latest"
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8080],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": {
"npm": "bash -c \"sudo chown node node_modules && npm install\""
},

"containerEnv": {
"DISPLAY": ":99"
},

"mounts": [
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
],

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"GitHub.vscode-github-actions"
]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
build
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

116 changes: 0 additions & 116 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
14 changes: 14 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ jobs:
if: success()
run: npx grunt prod

- name: Production Image Build
if: success()
id: build-image
uses: redhat-actions/buildah-build@v2
with:
# Not being uploaded to any registry, use a simple name to allow Buildah to build correctly.
image: cyberchef
containerfiles: ./Dockerfile
platforms: linux/amd64
oci: true
# Webpack seems to use a lot of open files, increase the max open file limit to accomodate.
extra-args: |
--ulimit nofile=10000

- name: UI Tests
if: success()
run: |
Expand Down
44 changes: 39 additions & 5 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
tags:
- 'v*'

env:
REGISTRY: ghcr.io
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ github.token }}
IMAGE_NAME: ${{ github.repository }}

jobs:
main:
runs-on: ubuntu-latest
Expand All @@ -19,7 +25,7 @@ jobs:

- name: Install
run: |
npm install
npm ci
npm run setheapsize

- name: Lint
Expand All @@ -31,17 +37,38 @@ jobs:
npm run testnodeconsumer

- name: Production Build
if: success()
run: npx grunt prod

- name: UI Tests
if: success()
run: |
sudo apt-get install xvfb
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui

- name: Image Metadata
id: image-metadata
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{version}}

- name: Production Image Build
id: build-image
uses: redhat-actions/buildah-build@v2
with:
tags: ${{ steps.image-metadata.outputs.tags }}
labels: ${{ steps.image-metadata.outputs.labels }}
containerfiles: ./Dockerfile
platforms: linux/amd64
oci: true
# Webpack seems to use a lot of open files, increase the max open file limit to accomodate.
extra-args: |
--ulimit nofile=10000


- name: Upload Release Assets
if: success()
id: upload-release-assets
uses: svenstaro/upload-release-action@v2
with:
Expand All @@ -53,7 +80,14 @@ jobs:
body: "See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details."

- name: Publish to NPM
if: success()
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

- name: Publish to GHCR
uses: redhat-actions/push-to-registry@v2
with:
tags: ${{ steps.build-image.outputs.tags }}
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ npm-debug.log
travis.log
build
.vscode
.idea
.*.swp
src/core/config/modules/*
src/core/config/OperationConfig.json
Expand All @@ -11,4 +12,4 @@ src/node/config/OperationConfig.json
src/node/index.mjs
**/*.DS_Store
tests/browser/output/*
.node-version
.node-version
Loading