Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dromara/dongle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: dromara/dongle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.1
Choose a head ref
  • 13 commits
  • 39 files changed
  • 3 contributors

Commits on Nov 11, 2025

  1. Configuration menu
    Copy the full SHA
    eb6878e View commit details
    Browse the repository at this point in the history
  2. test(sm2): Change the declaration method of empty byte slices from li…

    …teral to var declaration
    kuafuRace committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    38a86c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27497c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. Potential fix for code scanning alert no. 1: Workflow does not contai…

    …n permissions (#33)
    
    Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
    kuafuRace and github-advanced-security[bot] authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    9bab6c9 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2025

  1. Add direct parsing of hexadecimal key pairs for SM2 (#32)

    * Replace for loop:   coding/base100/base100_bench_test.go
    	Replace for loop:   coding/base100_test.go
    	Replace for loop:   coding/base32_test.go
    	Replace for loop:   coding/base45_test.go
    	Replace for loop:   coding/base58/base58.go
    	Replace for loop:   coding/base58_test.go
    	Replace for loop:   coding/base62/base62.go
    	Replace for loop:   coding/base62/base62_bench_test.go
    	Replace for loop:   coding/base62_test.go
    	Replace for loop:   coding/base64_test.go
    	Replace for loop:   coding/base85/base85_bench_test.go
    	Replace for loop:   coding/base85_test.go
    	Replace for loop:   coding/base91/base91.go
    	Replace for loop:   coding/base91/base91_bench_test.go
    	Replace for loop:   coding/base91_test.go
    	Replace for loop:   coding/hex/hex_bench_test.go
    	Replace for loop:   coding/hex_test.go
    	Replace for loop:   coding/morse/morse_bench_test.go
    	Replace for loop:   crypto/ed25519/ed25519_unit_test.go
    	Replace for loop:   crypto/internal/sm2curve/asn1.go
    	Replace for loop:   crypto/internal/sm2curve/curve_test.go
    	Replace for loop:   crypto/internal/sm2curve/field.go
    	Replace for loop:   crypto/internal/sm2curve/field_test.go
    	Replace for loop:   crypto/keypair/sm2.go
    	Replace for loop:   crypto/sm2/sm2.go
    	Replace for loop:   crypto/sm4/core.go
    	Replace for loop:   crypto/xtea_test.go
    	Replace for loop:   hash/md2/md2.go
    	Replace for loop:   hash/sm3/sm3.go
    	Replace for loop:   hash/sm3/sm3_unit_test.go
    	Replace for loop:   mock/file_test.go
    	Replace for loop:   mock/hash_test.go
    	Replace for loop:   utils/converter_test.go
    
    * Parse BIT_STRING as SM2 key:   crypto/internal/sm2curve/asn1.go
    
    * add parse BIT_STRING as SM2 key:   crypto/internal/sm2curve/asn1.go
    Web-Coke authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    a4509b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2025

  1. Fix the wNAF algorithm (#36)

    * Replace for loop:   coding/base100/base100_bench_test.go
    	Replace for loop:   coding/base100_test.go
    	Replace for loop:   coding/base32_test.go
    	Replace for loop:   coding/base45_test.go
    	Replace for loop:   coding/base58/base58.go
    	Replace for loop:   coding/base58_test.go
    	Replace for loop:   coding/base62/base62.go
    	Replace for loop:   coding/base62/base62_bench_test.go
    	Replace for loop:   coding/base62_test.go
    	Replace for loop:   coding/base64_test.go
    	Replace for loop:   coding/base85/base85_bench_test.go
    	Replace for loop:   coding/base85_test.go
    	Replace for loop:   coding/base91/base91.go
    	Replace for loop:   coding/base91/base91_bench_test.go
    	Replace for loop:   coding/base91_test.go
    	Replace for loop:   coding/hex/hex_bench_test.go
    	Replace for loop:   coding/hex_test.go
    	Replace for loop:   coding/morse/morse_bench_test.go
    	Replace for loop:   crypto/ed25519/ed25519_unit_test.go
    	Replace for loop:   crypto/internal/sm2curve/asn1.go
    	Replace for loop:   crypto/internal/sm2curve/curve_test.go
    	Replace for loop:   crypto/internal/sm2curve/field.go
    	Replace for loop:   crypto/internal/sm2curve/field_test.go
    	Replace for loop:   crypto/keypair/sm2.go
    	Replace for loop:   crypto/sm2/sm2.go
    	Replace for loop:   crypto/sm4/core.go
    	Replace for loop:   crypto/xtea_test.go
    	Replace for loop:   hash/md2/md2.go
    	Replace for loop:   hash/sm3/sm3.go
    	Replace for loop:   hash/sm3/sm3_unit_test.go
    	Replace for loop:   mock/file_test.go
    	Replace for loop:   mock/hash_test.go
    	Replace for loop:   utils/converter_test.go
    
    * Parse BIT_STRING as SM2 key:   crypto/internal/sm2curve/asn1.go
    
    * add parse BIT_STRING as SM2 key:   crypto/internal/sm2curve/asn1.go
    
    * fix the incorrect part in the wNAF algorithm:   crypto/internal/sm2curve/curve.go
    	add unit tests for SM2 decryption verification:   crypto/sm2/sm2_unit_test.go
    Web-Coke authored Nov 23, 2025
    Configuration menu
    Copy the full SHA
    73911e8 View commit details
    Browse the repository at this point in the history
  2. fix(crypto): Introduce a rewritable parseDerPrivatKeyFunc variable to…

    … support test simulation
    kuafuRace committed Nov 23, 2025
    Configuration menu
    Copy the full SHA
    d61fe04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b2ddf3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31d1ee7 View commit details
    Browse the repository at this point in the history
  5. Add issue unit test (#38)

    * Add issue #34 unit test cases:   issue_test.go
    Web-Coke authored Nov 23, 2025
    Configuration menu
    Copy the full SHA
    b91161c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1164b55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b86b4dd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    87297b6 View commit details
    Browse the repository at this point in the history
Loading