Skip to content

Releases: mehditeymorian/jwt

v2.0.0

06 Jun 11:49
Compare
Choose a tag to compare

V2 | BREAKING CHANGES

TL;DR Changelog

  • Moved edit and set commands as subcommands of the config command.
  • Changed the config file name from jwt-config.(yaml|yml) to .jwt.(yaml|yml)
  • Changed command key signature to gen
  • Made copying keys generated by the gen command (old key command) easier

Changelog

  • 6dc2568 feat: update to v2
  • 1ea8f6d feat: update readme
  • af5708c feat: use relative address for editing config
  • 6b9492e feat: change jwt config name from jwt-config.yaml to .jwt.yaml
  • 9efaec9 feat: make set config command subcommand of config command
  • 7e1d23e feat: change key command to gen[generate] command
  • e52f7f9 feat: rename configure package to config
  • 94c296d feat: make edit a subcommand of config command
  • b340099 feat: make key output easier for copying
  • ac81e3c Merge pull request #30 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.62
  • 8460d56 build(deps): bump github.com/pterm/pterm from 0.12.61 to 0.12.62
  • 0b16455 Merge pull request #29 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.61
  • 8b6779a build(deps): bump github.com/pterm/pterm from 0.12.59 to 0.12.61
  • 4fe6157 Merge pull request #28 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.59
  • 9749e18 build(deps): bump github.com/pterm/pterm from 0.12.58 to 0.12.59
  • 9e58829 Merge pull request #27 from mehditeymorian/dependabot/go_modules/github.com/spf13/cobra-1.7.0
  • 47a5c23 build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0
  • 1cc5150 Merge pull request #26 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.58
  • a7e833b build(deps): bump github.com/pterm/pterm from 0.12.57 to 0.12.58
  • 1d6286c Merge pull request #24 from mehditeymorian/dependabot/github_actions/actions/setup-go-4
  • 0b1c72a Merge pull request #25 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.57
  • b3d263f build(deps): bump github.com/pterm/pterm from 0.12.55 to 0.12.57
  • 72a96a0 build(deps): bump actions/setup-go from 3 to 4
  • 539e7af Merge pull request #22 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.55
  • 95b7547 build(deps): bump github.com/pterm/pterm from 0.12.54 to 0.12.55
  • 61d3081 Merge pull request #21 from mehditeymorian/dependabot/github_actions/actions/checkout-3
  • 7da81dd build(deps): bump actions/checkout from 2 to 3
  • 593b135 Merge pull request #20 from mehditeymorian/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.0
  • edc3a3c build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.3 to 4.5.0
  • adf9f2d Merge pull request #19 from mehditeymorian/dependabot/go_modules/github.com/knadh/koanf-1.5.0
  • 8efb9c3 build(deps): bump github.com/knadh/koanf from 1.4.5 to 1.5.0
  • 1fbcbe7 Merge pull request #18 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.54
  • b4b88d8 build(deps): bump github.com/pterm/pterm from 0.12.53 to 0.12.54
  • 5ba7d76 Merge pull request #15 from mehditeymorian/dependabot/go_modules/github.com/pterm/pterm-0.12.53
  • 3c08f19 build(deps): bump github.com/pterm/pterm from 0.12.45 to 0.12.53
  • 1e05272 Merge pull request #11 from mehditeymorian/dependabot/go_modules/github.com/spf13/cobra-1.6.1
  • 3e6f527 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.1
  • 9587fc4 Merge pull request #17 from mehditeymorian/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.4.3
  • 13aae41 build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
  • 97de8b1 Merge pull request #4 from mehditeymorian/dependabot/github_actions/actions/setup-go-3
  • ddde30a Merge pull request #8 from mehditeymorian/dependabot/go_modules/github.com/tidwall/pretty-1.2.1
  • 1371e53 Merge pull request #6 from mehditeymorian/dependabot/go_modules/github.com/AlecAivazis/survey/v2-2.3.6
  • cae2c44 Merge pull request #13 from mehditeymorian/dependabot/github_actions/goreleaser/goreleaser-action-4
  • 46ed870 Merge pull request #16 from mehditeymorian/dependabot/go_modules/github.com/knadh/koanf-1.4.5
  • f610c3a build(deps): bump github.com/knadh/koanf from 1.4.3 to 1.4.5
  • 71a2f0f build(deps): bump goreleaser/goreleaser-action from 3 to 4
  • d806004 build(deps): bump github.com/tidwall/pretty from 1.2.0 to 1.2.1
  • d231f60 build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.5 to 2.3.6
  • 342d3c7 build(deps): bump actions/setup-go from 2 to 3
  • 4ee9711 Merge pull request #3 from mehditeymorian/dependabot/go_modules/gopkg.in/yaml.v3-3.0.1
  • 94eb830 Merge pull request #2 from mehditeymorian/dependabot/github_actions/goreleaser/goreleaser-action-3
  • c0b66dc build(deps): bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1
  • f297f71 build(deps): bump goreleaser/goreleaser-action from 2 to 3
  • 439cdfc Create codeql-analysis.yml
  • eea6dc4 Create dependabot.yml

v1.1.2

03 Sep 12:44
Compare
Choose a tag to compare

Changelog

v1.1.1

03 Sep 12:39
Compare
Choose a tag to compare

Changelog

  • f5872d7 feat: update README
  • c3ff6b2 feat: improve commands descriptions

v1.1.0

03 Sep 12:19
Compare
Choose a tag to compare

Changelog

  • 5719699 fix: add interactive to save config
  • a2a75ad feat: improve logging
  • 7fa8b3a feat: add set ecdsa
  • a854451 feat: add set hmac
  • ddda177 feat: add set rsa
  • 079649d feat: add set interactive
  • 7f44f19 feat: add set command
  • 4a2d2f4 feat: improve logging
  • e094b5b fix: change flag name to elliptic
  • 1bfa7d5 fix: update save path
  • 4b92b44 refactor: remove unused signing method config
  • bc87968 feat: using algorithm for encoding key
  • e050eb8 feat: use random key if encode key is not available
  • ab3c2e7 refactor: extract decode functionality into key package
  • b56c916 fix: update ecdsa public key decoding
  • 5337e83 feat: improve logging
  • 9daf819 feat: remove error handling in decode
  • 854c071 fix: decode pem file to public key using asn1 encoding
  • 0e60500 feat: add error handling in case of asn1.marshal failed

v1.0.6

01 Sep 19:05
Compare
Choose a tag to compare

Changelog

  • 62e7878 feat: marshal public key using asn1
  • 997519b feat: improve logging
  • 23fac9d feat: add more log to key
  • 3d5635f refactor: remove unused error
  • de126f7 feat: add interactive config to printable config
  • 7167c9d feat: add yaml tag to key configs

v1.0.5

31 Aug 13:24
Compare
Choose a tag to compare

Changelog

  • 79a20e4 feat: improve logging
  • 8f21b16 feat: generate random key decode key is not present
  • 754b41b feat: remove default config keys
  • 5493981 feat: fatal if algorithm is empty

v1.0.4

31 Aug 08:09
Compare
Choose a tag to compare

Changelog

  • 0d48f31 feat: pretty print hmac key
  • 90e2431 feat: separate options logging
  • b9c96b6 feat: add print mode function
  • 1248dfc feat: logs command options
  • 19565e3 feat: remove key run
  • 4d90f46 feat: remove redundant conversion
  • c9877fd feat: add elliptic curve for P256
  • c78ebb1 feat: add logs to decode command
  • c8cf6ce feat: add logs to encode command
  • 4df1584 feat: add logs to key command
  • bb37175 feat: add logs to config module
  • 4642961 feat: add logs to key module

v1.0.3

31 Aug 06:42
Compare
Choose a tag to compare

Changelog

  • a6c9a59 refactor: rename commands functions
  • 90af547 feat: combine config and view commands
  • a191b61 feat: remove signing_method edit command
  • f3aae0a feat: add edit command to root
  • f9a0a5c feat: add examples
  • 41ff9fc feat: add interactive mode to encode command
  • 79d2822 feat: remove algorithm from config
  • d935493 feat: add ecdsa interactive mode
  • 5376470 feat: add rsa interactive mode
  • 50fbefe feat: add hmac interactive mode
  • 5db578a feat: add interactive mode config

v1.0.2

30 Aug 19:18
Compare
Choose a tag to compare

Changelog

  • 4e74a20 feat: add pretty print for hmac key
  • 2f18758 feat: add default true for base64 encoded
  • 4d8ddd5 feat: add save options to hmac key
  • 1d19bda feat: pretty print ecdsa keys && add save options
  • 442cec3 feat: pretty print rsa keys
  • 262db0b feat: add pretty print dependency

v1.0.1

30 Aug 18:14
Compare
Choose a tag to compare

Changelog

  • d844a8e feat: add goreleaser
  • 2bac605 feat: save only the configurable part
  • 9820f35 feat: save whole config
  • ce923a8 feat: update edit sign method description
  • 88e5135 feat: add example for edit command
  • ee975d3 feat: add edit signing method command
  • 2ecae3d feat: use filtered list of algorithms
  • 2767268 feat: add algorithms for sign method function
  • e73d390 feat: add edit algorithm command
  • 4110f79 refactor: extract view command
  • 9f4c2d4 refactor: extract edit command
  • f953184 feat: add yaml v3 dependency
  • 6d7bc18 feat: add yaml encoder
  • 0766783 fix: add RSA to key type
  • 6fbbbfc feat: add pointer key config
  • 2b19ec0 feat: store rsa keys to default config
  • be568bb fix: add pointer to config
  • 631ee91 feat: add save config function
  • 0ecf3b7 feat: add loaded path to config
  • 5775107 refactor: use save function
  • 00539e9 feat: add save key function
  • 84d127d feat: pass cmd and args to subcommands
  • 6b20d66 feat: add store options
  • 346cd46 feat: add ecdsa to printable config
  • a304ac5 feat: set default values for config
  • 87e440b feat: add ecdsa key generator command
  • d639d56 feat: return pem encoded keys for ecdsa
  • 3ba84f0 feat: get elliptic curve as parameter
  • 43ca116 feat: add hmac key generator command
  • 8072994 fix: update encoded key size
  • 033bf99 feat: take size as input in generating hmac key
  • ccf93eb feat: add rsa key generator command
  • 76835dc feat: add key command
  • 7032b25 feat: decode token as args and ask user if args is not presented
  • cd68fc5 feat: use a different key to decode base on input token algorithm
  • dd82ebb feat: add hmac key generator
  • c1cdb88 feat: add rsa key generator
  • 3242f4f feat: return nil in case of any error
  • 2b98670 feat: add ecdsa key generator
  • f0a58e1 feat: get decode key base on token algorithm
  • c80abd3 feat: remove encode key dependency from decode key
  • 3ff13fa feat: delete unused parameter
  • e2f9638 feat: add set config details to readme
  • 03c6f09 feat: remove matching algorithm to decode all tokens
  • 63765dd feat: set config flag as global
  • 4aba78a refactor: move commands to separate packages
  • a412548 feat: read config path from flags
  • 7d3c900 Merge remote-tracking branch 'origin/master'
  • a63a9f7 feat: extract set config flag & get config path functionalities
  • 3aeb34e feat: add config flag
  • cc9f40d feat: read config from options, running directory, and default sequentially
  • 4194aa2 feat: separate config print
  • d08ef3e Merge pull request #1 from mehditeymorian/add-license-1
  • 5a828d8 Create LICENSE