Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Security (0.65 sec)

  1. src/cmd/go/internal/work/security.go

    // We must avoid flags like -fplugin=, which can allow
    // arbitrary code execution during the build.
    // Do not make changes here without carefully
    // considering the implications.
    // (That's why the code is isolated in a file named security.go.)
    //
    // Note that -Wl,foo means split foo on commas and pass to
    // the linker, so that -Wl,-foo,bar means pass -foo bar to
    // the linker. Similarly -Wa,foo for the assembler and so on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue24161e1/main.go

    //go:build darwin
    
    package issue24161e1
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    #if TARGET_OS_IPHONE == 0 && __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
      typedef CFStringRef SecKeyAlgorithm;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/web/bootstrap.go

    // trees that potentially require C linking,
    // like the use of "net/http" in vcs.go.
    
    package web
    
    import (
    	"errors"
    	urlpkg "net/url"
    )
    
    func get(security SecurityMode, url *urlpkg.URL) (*Response, error) {
    	return nil, errors.New("no http in bootstrap go command")
    }
    
    func openBrowser(url string) bool { return false }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 691 bytes
    - Viewed (0)
  4. src/cmd/go/internal/web/http.go

    				fmt.Fprintf(os.Stderr, "# get %s: %v\n", secure.Redacted(), err)
    			}
    			if security != Insecure || url.Scheme == "https" {
    				// HTTPS failed, and we can't fall back to plain HTTP.
    				// Report the error from the HTTPS attempt.
    				return nil, err
    			}
    		}
    	}
    
    	if res == nil {
    		switch url.Scheme {
    		case "http":
    			if security == SecureOnly {
    				if cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue24161e0/main.go

    //go:build darwin
    
    package issue24161e0
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    #if TARGET_OS_IPHONE == 0 && __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
      typedef CFStringRef SecKeyAlgorithm;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 919 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue24161e2/main.go

    //go:build darwin
    
    package issue24161e2
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    #if TARGET_OS_IPHONE == 0 && __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
      typedef CFStringRef SecKeyAlgorithm;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. misc/ios/detect.go

    					matches++
    				}
    			}
    		}
    		if matches == len(udids) {
    			files = append(files, string(line))
    		}
    	}
    	return files
    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/noder/noder.go

    			}
    			p.pragcgo(pos, text)
    			pragma.Flag |= pragmaFlag("go:cgo_import_dynamic")
    			break
    		}
    		fallthrough
    	case strings.HasPrefix(text, "go:cgo_"):
    		// For security, we disallow //go:cgo_* directives other
    		// than cgo_import_dynamic outside cgo-generated files.
    		// Exception: they are allowed in the standard library, for runtime and syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    		}
    	}
    }
    
    const goSumMismatch = `
    
    SECURITY ERROR
    This download does NOT match an earlier download recorded in go.sum.
    The bits may have been replaced on the origin server, or an attacker may
    have intercepted the download attempt.
    
    For more information, see 'go help module-auth'.
    `
    
    const sumdbMismatch = `
    
    SECURITY ERROR
    This download does NOT match the one reported by the checksum server.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/web/api.go

    // password, it will not be attempted under the "http" scheme unless the
    // security mode is Insecure.
    //
    // Get returns a non-nil error only if the request did not receive a response
    // under any applicable scheme. (A non-2xx response does not cause an error.)
    func Get(security SecurityMode, u *url.URL) (*Response, error) {
    	return get(security, u)
    }
    
    // OpenBrowser attempts to open the requested URL in a web browser.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
Back to top