Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 527 for secrets (0.2 sec)

  1. docs/zh/docs/advanced/security/http-basic-auth.md

    当然,攻击者不用手动操作,而是编写每秒能执行成千上万次测试的攻击程序,每次都会找到更多正确字符。
    
    但是,在您的应用的**帮助**下,攻击者利用时间差,就能在几分钟或几小时内,以这种方式猜出正确的用户名和密码。
    
    #### 使用 `secrets.compare_digest()` 修补
    
    在此,代码中使用了 `secrets.compare_digest()`。
    
    简单的说,它使用相同的时间对比 `stanleyjobsox` 和 `stanleyjobson`,还有 `johndoe` 和 `stanleyjobson`。对比密码时也一样。
    
    在代码中使用 `secrets.compare_digest()` ,就可以安全地防御全面攻击了。
    
    ### 返回错误
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:48 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. .github/workflows/sigbuild-docker-branch.yml

            with:
              username: ${{ secrets.DOCKERHUB_USERNAME }}
              password: ${{ secrets.DOCKERHUB_TOKEN }}
          -
            name: Login to GCR
            uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
            with:
              registry: gcr.io
              username: _json_key
              password: ${{ secrets.GCP_CREDS }}
          -
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. manifests/charts/gateways/istio-ingress/templates/deployment.yaml

              volumeMounts:
              - name: workload-socket
                mountPath: /var/run/secrets/workload-spiffe-uds
              - name: credential-socket
                mountPath: /var/run/secrets/credential-uds
              - name: workload-certs
                mountPath: /var/run/secrets/workload-spiffe-credentials
              - name: istio-envoy
                mountPath: /etc/istio/proxy
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 12.1K bytes
    - Viewed (1)
  4. .github/workflows/latest-changes.yml

              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 14:57:33 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. manifests/charts/istiod-remote/files/injection-template.yaml

        volumeMounts:
        - name: workload-socket
          mountPath: /var/run/secrets/workload-spiffe-uds
        - name: credential-socket
          mountPath: /var/run/secrets/credential-uds
        {{- if eq .Values.global.caName "GkeWorkloadCertificate" }}
        - name: gke-workload-certificate
          mountPath: /var/run/secrets/workload-spiffe-credentials
          readOnly: true
        {{- else }}
        - name: workload-certs
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/injection-template.yaml

        volumeMounts:
        - name: workload-socket
          mountPath: /var/run/secrets/workload-spiffe-uds
        - name: credential-socket
          mountPath: /var/run/secrets/credential-uds
        {{- if eq .Values.global.caName "GkeWorkloadCertificate" }}
        - name: gke-workload-certificate
          mountPath: /var/run/secrets/workload-spiffe-credentials
          readOnly: true
        {{- else }}
        - name: workload-certs
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 23.7K bytes
    - Viewed (1)
  7. docs/em/docs/advanced/security/http-basic-auth.md

    ⚙️ 🔗 ✅ 🚥 🆔 & 🔐 ☑.
    
    👉, ⚙️ 🐍 🐩 🕹 <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> ✅ 🆔 &amp; 🔐.
    
    `secrets.compare_digest()` 💪 ✊ `bytes` ⚖️ `str` 👈 🕴 🔌 🔠 🦹 (🕐 🇪🇸), 👉 ⛓ ⚫️ 🚫🔜 👷 ⏮️ 🦹 💖 `á`, `Sebastián`.
    
    🍵 👈, 👥 🥇 🗜 `username` &amp; `password` `bytes` 🔢 👫 ⏮️ 🔠-8️⃣.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

    Use a dependency to check if the username and password are correct.
    
    For this, use the Python standard module <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> to check the username and password.
    
    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. .github/workflows/ci.yml

              server-username: CI_DEPLOY_USERNAME
              server-password: CI_DEPLOY_PASSWORD
              cache: 'maven'
          - name: 'Publish'
            env:
              CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
              CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
            run: ./util/deploy_snapshot.sh
    
      generate_docs:
        permissions:
          contents: write
        name: 'Generate latest docs'
        needs: test
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

            volumeMounts:
            - name: workload-socket
              mountPath: /var/run/secrets/workload-spiffe-uds
            - name: credential-socket
              mountPath: /var/run/secrets/credential-uds
            {{- if eq .Values.global.caName "GkeWorkloadCertificate" }}
            - name: gke-workload-certificate
              mountPath: /var/run/secrets/workload-spiffe-credentials
              readOnly: true
            {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 15:10:43 GMT 2024
    - 12.1K bytes
    - Viewed (0)
Back to top