Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
457 commits
Select commit Hold shift + click to select a range
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
3ca4c2f
Initial commit for new IPv6 Transition operation
jb30795 Apr 4, 2024
036f80d
indentation
Apr 4, 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
66d3b6e
Merge branch 'master' into master
jb30795 Apr 8, 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
ae03e34
Add support for ECDSA and DSA keys to Parse CSR operation
robinsandhu Jun 8, 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
4528a1b
Merge branch 'master' into feat/support-other-keys-in-parse-csr
a3957273 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
e80d3d5
Refactor code
robinsandhu Jun 12, 2024
a8b1050
Merge branch 'master' into feat/support-other-keys-in-parse-csr
robinsandhu Jun 12, 2024
fe9f4fa
Fix linting errors
robinsandhu Jun 12, 2024
534ab23
chore: update SIGABA.mjs
eltociear Jun 13, 2024
4c5577d
Merge pull request #1834 from eltociear/patch-1
a3957273 Jun 17, 2024
edd2237
feat(Modhex): Introduce basic Modhex conversion
linuxgemini Jun 17, 2024
d537445
Merge pull request #1828 from robinsandhu/feat/support-other-keys-in-…
a3957273 Jun 21, 2024
40fda00
Bump to 10.19.0
a3957273 Jun 21, 2024
ab37c1e
Fixed Optical Character Recognition and added tests
n1474335 Jun 21, 2024
965570d
10.18.9
n1474335 Jun 21, 2024
a477f47
Merge branch 'master' of github.com:gchq/CyberChef
n1474335 Jun 21, 2024
3dddb51
add offset field to 'Add Line Numbers' operation
Adamkadaban Jul 28, 2024
b090ce0
Update to accept multiple inputs
Aug 7, 2024
5e763b8
Option to remove headers and ignore blank input rows
Aug 7, 2024
7fb4824
Merge branch 'master' of ssh://github.com/jb30795/CyberChef-IPv6-Tran…
Aug 7, 2024
c8c9e57
Merge branch 'master' into master
jb30795 Aug 7, 2024
51a07a2
Formatting updates
Aug 7, 2024
e12b004
Merge branch 'master' of ssh://github.com/jb30795/CyberChef-IPv6-Tran…
Aug 7, 2024
9169254
minor wording update
Aug 7, 2024
6600698
Updating description
Aug 7, 2024
752ce78
Updating tests
Aug 7, 2024
a616e46
Handling of /24 ranges
Aug 9, 2024
a80b156
Lint errors
Aug 9, 2024
7a5225c
Fixed JA4 version fallback value
n1474335 Aug 14, 2024
5f88ae4
10.19.1
n1474335 Aug 14, 2024
0e82e4b
Updated chromedriver
n1474335 Aug 14, 2024
d635cca
10.19.2
n1474335 Aug 14, 2024
e65869a
Add operation for parsing X.509 CRLs
robinsandhu Aug 25, 2024
dbc9009
Add support for multiple input format
robinsandhu Aug 25, 2024
a50d4d6
Format issuerAltName CRL extension
robinsandhu Aug 25, 2024
1fde2fb
Add basic tests for Parse X.509 CRL operations
robinsandhu Aug 25, 2024
738e6fe
Add Strip IPv4 header operation
c65722 Sep 15, 2024
da74d9b
Add Strip UDP header operation
c65722 Sep 15, 2024
748379f
Add Strip TCP header operation
c65722 Sep 15, 2024
1fce8e5
fix: Blowfish - ignore IV length in ECB mode
FranciscoPombal Sep 15, 2024
7e5eb01
fix: ROT13 - shifting numbers by negative amounts
FranciscoPombal Sep 15, 2024
3eb1af0
fix: DES/Triple DES - misleading error messages
FranciscoPombal Sep 16, 2024
784b263
fix: DES/Triple DES - failing tests
FranciscoPombal Sep 16, 2024
488c458
updates to operation and addition of more tests
Sep 20, 2024
9229fe9
Remove console.log statement
Sep 20, 2024
b153224
Merge branch 'master' into master
jb30795 Sep 20, 2024
4bb1e33
Merge remote-tracking branch 'upstream/master' into drop-nth-bytes
Oshawk Sep 25, 2024
4c6dcf1
Merge remote-tracking branch 'upstream/master' into take-nth-bytes
Oshawk Sep 25, 2024
e484d42
automatically theme mode based on user preference
vs4vijay Oct 6, 2024
895a929
Fixed RSA Sign and Verify character encodings
n1474335 Oct 23, 2024
270a333
10.19.3
n1474335 Oct 23, 2024
d3adfc7
Updated chromedriver
n1474335 Oct 23, 2024
47c85a1
Added message format arg to RSA Verify operation
n1474335 Oct 23, 2024
3822c6c
10.19.4
n1474335 Oct 23, 2024
802c576
Updated luhn checksum to to work with base 2-36
k3ach Oct 26, 2024
0c6c45b
Merge branch 'gchq:master' into master
k3ach Oct 26, 2024
b92c1e7
fixed code format, added tests
k3ach Oct 27, 2024
1fcc365
Add Parse TLS record operation
c65722 Jul 20, 2019
bab0a7f
fixed typo
k3ach Nov 30, 2024
3deb121
Merge branch 'master' into feature/parse-crl
robinsandhu Dec 1, 2024
02f45e5
Merge branch 'master' into theme-auto-detection
vs4vijay Dec 27, 2024
3042660
Webpack compress with gzip and brotli
max0x53 Dec 28, 2024
71c8c8a
Add 'header' ingredient to JWT Sign operation
RandomByte Jan 4, 2025
6a92f92
corrected path to generateNodeIndex.mjs
simonarnell Jan 9, 2025
cc7cc7f
misc: typo
GuilhermoReadonly Jan 10, 2025
54e559c
Merge branch 'master' into master
Adamkadaban Jan 13, 2025
6b75ba8
fix bug where no input leads to error in console
Adamkadaban Jan 13, 2025
e804555
fix: refactor GenerateTOTP
exactlyaron Jan 23, 2025
2007b26
build(deps): update otp 0.1.3 → 1.1.2
exactlyaron Jan 23, 2025
7eb9e08
build(deps): use optauth instead of opt
exactlyaron Jan 23, 2025
672cb5d
fix: refactor GenerateTOTP to use optauth
exactlyaron Jan 23, 2025
90133e3
fix: refactor GenerateHOTP to use optauth
exactlyaron Jan 23, 2025
b560d74
tests: comment out Generate HOTP test
exactlyaron Jan 23, 2025
7599132
tests: fix tests
exactlyaron Jan 23, 2025
6f63de8
style: fix linting
exactlyaron Jan 23, 2025
f14c423
Add Leet Speak
bartblaze Feb 5, 2025
f4995db
Merge pull request #1887 from robinsandhu/feature/parse-crl
a3957273 Feb 10, 2025
caa373c
Merge branch 'master' into master
a3957273 Feb 10, 2025
5455061
Atomatically detect chrome driver version
GCHQ77703 Feb 10, 2025
3d017d5
Add it to the correct file.
a3957273 Feb 11, 2025
fcdcce7
Merge pull request #1961 from GuilhermoReadonly/patch-1
a3957273 Feb 11, 2025
20390ae
Merge pull request #1959 from simonarnell/patch-1
a3957273 Feb 11, 2025
e9b8163
Merge pull request #1957 from RandomByte/jwt-sign/add-header-option
a3957273 Feb 11, 2025
f02b3f2
Merge pull request #1936 from c65722/parse_tls_record
a3957273 Feb 11, 2025
9cc84b1
Merge branch 'master' into feature/detect-chromedriver
a3957273 Feb 11, 2025
306e29d
Merge pull request #1972 from gchq/feature/detect-chromedriver
a3957273 Feb 11, 2025
51ed3b2
Merge branch 'master' into strip_tcp_header
a3957273 Feb 11, 2025
7ecc235
Merge pull request #1900 from c65722/strip_udp_header
a3957273 Feb 11, 2025
9f2527d
Merge branch 'master' into strip_ipv4_header
a3957273 Feb 11, 2025
156de53
Merge branch 'master' into strip_tcp_header
a3957273 Feb 11, 2025
9d014ae
Merge pull request #1898 from c65722/strip_tcp_header
a3957273 Feb 11, 2025
d3e3189
Merge branch 'master' into strip_ipv4_header
a3957273 Feb 11, 2025
d4da81f
Merge branch 'master' into master
a3957273 Feb 11, 2025
bce0460
Merge branch 'master' into theme-auto-detection
a3957273 Feb 11, 2025
a41068e
Merge branch 'master' into master
a3957273 Feb 11, 2025
5a7cb9e
Merge branch 'master' into fix/generate-totp-issue-1964
a3957273 Feb 11, 2025
e1d3af2
Merge pull request #1955 from max0x53/compress
a3957273 Feb 11, 2025
41c5403
Merge branch 'master' into master
a3957273 Feb 11, 2025
d3ee16f
Disable flakey URL test
a3957273 Feb 11, 2025
bf36fe8
Merge pull request #1866 from Adamkadaban/master
a3957273 Feb 11, 2025
8cd875d
Merge branch 'master' into strip_ipv4_header
c65722 Feb 11, 2025
3cdbdf4
Merge branch 'master' into master
a3957273 Feb 12, 2025
592e660
Merge pull request #1973 from gchq/bug/disable-loading-from-url
a3957273 Feb 12, 2025
13f94a2
Merge pull request #1899 from c65722/strip_ipv4_header
a3957273 Feb 12, 2025
3187ff6
Merge branch 'master' into master
a3957273 Feb 12, 2025
feaf3dd
Merge branch 'master' into theme-auto-detection
a3957273 Feb 12, 2025
26a16b6
Merge branch 'master' into take-nth-bytes
a3957273 Feb 12, 2025
912bbe5
Merge branch 'master' into drop-nth-bytes
a3957273 Feb 12, 2025
b99a76f
Merge branch 'master' into master
a3957273 Feb 12, 2025
3555667
Merge branch 'master' into blowfish_ecr_iv
a3957273 Feb 12, 2025
1b53b8d
Merge pull request #1780 from jb30795/master
a3957273 Feb 12, 2025
e48fc4c
Merge pull request #1902 from FranciscoPombal/blowfish_ecr_iv
a3957273 Feb 12, 2025
dcf0bbb
Merge pull request #1914 from Oshawk/drop-nth-bytes
a3957273 Feb 14, 2025
7cc3e58
Merge branch 'master' into take-nth-bytes
a3957273 Feb 14, 2025
fed10f3
Merge pull request #1915 from Oshawk/take-nth-bytes
a3957273 Feb 14, 2025
51b9fe6
Merge pull request #1971 from bartblaze/master
a3957273 Feb 15, 2025
95c6406
Merge pull request #1966 from exactlyaron/fix/generate-totp-issue-1964
a3957273 Feb 15, 2025
fb8e1be
Merge pull request #1933 from k3ach/master
a3957273 Feb 16, 2025
9ab990f
Merge pull request #1921 from vs4vijay/theme-auto-detection
a3957273 Feb 16, 2025
004ef7f
Merge pull request #1904 from FranciscoPombal/des_triple_des_error_me…
a3957273 Feb 16, 2025
bcf62ec
Merge pull request #1903 from FranciscoPombal/rot13_numbers_negative_…
a3957273 Feb 16, 2025
eb91254
Merge branch 'master' into linuxgemini-patch-modhex
a3957273 Feb 16, 2025
1cfbc2b
Merge pull request #1105 from linuxgemini/linuxgemini-patch-modhex
a3957273 Feb 16, 2025
8166f98
in progress
MShwed Aug 27, 2019
c3994aa
Added support for converting hex characters
MShwed Aug 28, 2019
7f97afd
Added parsing of headers.
MShwed Sep 4, 2019
50c0d4b
Added test case for ISO and ASCII
MShwed Sep 4, 2019
23faead
Fixed linting issues
MShwed Sep 4, 2019
15bbed0
fixed formatting
MShwed Feb 16, 2025
2ae923b
Updated category and fixed imports
MShwed Feb 16, 2025
7906f9d
Merge pull request #630 from MShwed/feature/mime-rfc2047
a3957273 Feb 16, 2025
7b3980a
chore(root): add cspell
evenstensberg Feb 16, 2025
6ccbc89
CC-1889
depperm Feb 16, 2025
aa7bbc1
Merge pull request #1977 from depperm/CC-1889
a3957273 Feb 16, 2025
1b8c229
Merge pull request #1976 from evenstensberg/feat/cspell
a3957273 Feb 16, 2025
e44e6fe
Merge branch 'master' into master
ccarpo Feb 17, 2025
06b7f01
fixed linter issues.
ccarpo Feb 17, 2025
c2936a6
removed old data format
ccarpo Feb 17, 2025
5cef2b1
fixed typo in categories.
ccarpo Feb 17, 2025
7babef6
Preserve uppercase
bartblaze Feb 17, 2025
d3357d2
Merge pull request #1981 from bartblaze/master
a3957273 Feb 21, 2025
2c21d72
Merge branch 'master' of https://github.com/ccarpo/CyberChef
ccarpo Mar 7, 2025
98ef5d0
Merge branch 'master' into master
ccarpo Mar 7, 2025
a809321
renamed function for clarity
ccarpo Mar 10, 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
17 changes: 17 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2",
"language": "en,en-gb",
"words": [],
"dictionaries": [
"npm",
"softwareTerms",
"node",
"html",
"css",
"bash",
"en-gb",
"misc"
],
"ignorePaths": ["package.json", "package-lock.json", "node_modules"]
}

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
1 change: 1 addition & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- name: Install
run: |
export DETECT_CHROMEDRIVER_VERSION=true
npm install
npm run setheapsize

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:

- name: Install
run: |
export DETECT_CHROMEDRIVER_VERSION=true
npm install
npm run setheapsize

Expand All @@ -33,6 +34,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 }}
1 change: 1 addition & 0 deletions .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 Down
Loading