ali2210/WizDwarf

View on GitHub

Showing 82 of 170 total issues

Function FilePrints has 5 return statements (exceeds 4 allowed).
Open

func FilePrints(prints ...string) (map[string]string, linkcid.Cid) {

    nullify := map[string]string{}
    hash_data := sha256.Sum256([]byte(prints[0]))

Severity: Major
Found in other/crypto/crypto.go - About 35 mins to fix

    Method BucketObject.StoreJCredentials has 5 return statements (exceeds 4 allowed).
    Open

    func (boj *BucketObject) StoreJCredentials(user_phrase string, passphrase ...string) (*bucket.Bucket_Error, *uplink.Access) {
    
        const api_key string = "1dfJiTZDDGnTZ9gCmZDAFDp1gLCBSsijs838VhzgskptVYifaWwwDwE51cAqTwATc1L7wwfaQ8Jz723JMLjEvFntG6ZccHwgm7GpvaqCABtFMh4rtU2K"
        const address string = "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs@eu1.storj.io:7777"
    
    
    Severity: Major
    Found in other/bucket/storj_bucket/storj_bucket.go - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language