Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for openjsse (0.23 sec)

  1. docs_src/security/tutorial005.py

        SecurityScopes,
    )
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel, ValidationError
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_an.py

    )
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel, ValidationError
    from typing_extensions import Annotated
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_py310.py

        SecurityScopes,
    )
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel, ValidationError
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_ppc64x.s

    // # ====================================================================
    // # Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
    // # project. The module is, however, dual licensed under OpenSSL and
    // # CRYPTOGAMS licenses depending on where you obtain it. For further
    // # details see http://www.openssl.org/~appro/cryptogams/.
    // # ====================================================================
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          .isEqualTo("CN=cash.app,OU=engineering")
      }
    
      @Test
      fun decodeRsa512() {
        // The certificate + private key below was generated with OpenSSL. Never generate certificates
        // with MD5 or 512-bit RSA; that's insecure!
        //
        // openssl req \
        //   -x509 \
        //   -md5 \
        //   -nodes \
        //   -days 1 \
        //   -newkey rsa:512 \
        //   -keyout privateKey.key \
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. src/crypto/x509/sec1.go

    		}
    		privKey.PrivateKey = privKey.PrivateKey[1:]
    	}
    
    	// Some private keys remove all leading zeros, this is also invalid
    	// according to [SEC1] but since OpenSSL used to do this, we ignore
    	// this too.
    	copy(privateKey[len(privateKey)-len(privKey.PrivateKey):], privKey.PrivateKey)
    	priv.X, priv.Y = curve.ScalarBaseMult(privateKey)
    
    	return priv, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. hack/update-openapi-spec.sh

    SERVICE_ACCOUNT_KEY=${SERVICE_ACCOUNT_KEY:-${TMP_DIR}/kube-serviceaccount.key}
    # Generate ServiceAccount key if needed
    if [[ ! -f "${SERVICE_ACCOUNT_KEY}" ]]; then
      mkdir -p "$(dirname "${SERVICE_ACCOUNT_KEY}")"
      openssl genrsa -out "${SERVICE_ACCOUNT_KEY}" 2048 2>/dev/null
    fi
    
    # Start kube-apiserver
    # omit enums from static openapi snapshots used to generate clients until #109177 is resolved
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. pkg/serviceaccount/jwt_test.go

    -----END RSA PRIVATE KEY-----
    `
    
    // openssl ecparam -name prime256v1 -genkey -noout -out ecdsa256.pem
    // Fake value for testing.
    const ecdsaPrivateKey = `-----BEGIN EC PRIVATE KEY-----
    MHcCAQEEIEZmTmUhuanLjPA2CLquXivuwBDHTt5XYwgIr/kA1LtRoAoGCCqGSM49
    AwEHoUQDQgAEH6cuzP8XuD5wal6wf9M6xDljTOPLX2i8uIp/C/ASqiIGUeeKQtX0
    /IR3qCXyThP/dbCiHrF3v1cuhBOHY8CLVg==
    -----END EC PRIVATE KEY-----`
    
    // openssl ec -in ecdsa256.pem -pubout -out ecdsa256pub.pem
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. src/crypto/internal/boring/build-goboring.sh

    x86_64)  export GOARCH=amd64 ;;
    aarch64) export GOARCH=arm64 ;;
    *)
    	echo 'unknown uname -m:' $(uname -m) >&2
    	exit 2
    esac
    
    export CGO_ENABLED=0
    
    # Build and run test C++ program to make sure goboringcrypto.h matches openssl/*.h.
    # Also collect list of checked symbols in syms.txt
    set -e
    cd /boring/godriver
    cat >goboringcrypto.cc <<'EOF'
    #include <cassert>
    #include "goboringcrypto0.h"
    #include "goboringcrypto1.h"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. hack/make-rules/test-cmd.sh

    SERVICE_ACCOUNT_KEY=${SERVICE_ACCOUNT_KEY:-/tmp/kube-serviceaccount.key}
    # Generate ServiceAccount key if needed
    if [[ ! -f "${SERVICE_ACCOUNT_KEY}" ]]; then
      mkdir -p "$(dirname "${SERVICE_ACCOUNT_KEY}")"
      openssl genrsa -out "${SERVICE_ACCOUNT_KEY}" 2048 2>/dev/null
    fi
    
    # Runs kube-apiserver
    #
    # Exports:
    #   APISERVER_PID
    function run_kube_apiserver() {
      kube::log::status "Building kube-apiserver"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top