- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 229 for base64id (0.08 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
import jcifs.smb1.netbios.NbtAddress; import jcifs.smb1.smb1.NtlmChallenge; import jcifs.smb1.smb1.NtlmPasswordAuthentication; import jcifs.smb1.smb1.SmbAuthException; import jcifs.smb1.smb1.SmbSession; import jcifs.smb1.util.Base64; import jcifs.smb1.util.LogStream; /** * This servlet Filter can be used to negotiate password hashes with * MSIE clients using NTLM SSP. This is similar to <tt>Authentication:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006_an_py39.py
from base64 import b64encode import pytest from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.security.tutorial006_an import app client = TestClient(app) return client @needs_py39 def test_security_http_basic(client: TestClient): response = client.get("/users/me", auth=("john", "secret"))
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.5K bytes - Viewed (0) -
tests/test_security_http_basic_realm.py
from base64 import b64encode from fastapi import FastAPI, Security from fastapi.security import HTTPBasic, HTTPBasicCredentials from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(realm="simple") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password} client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
internal/jwt/parser.go
// Signature is valid, lets validate the claims for // other fields such as expiry etc. return claims.Valid() } // base64DecodeBytes returns the bytes represented by the base64 string s. func base64DecodeBytes(b []byte, buf []byte) (int, error) { return base64.RawURLEncoding.Decode(buf, b) } // ParseUnverifiedMapClaims - WARNING: Don't use this method unless you know what you're doing //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
tests/test_security_http_basic_realm_description.py
from base64 import b64encode from fastapi import FastAPI, Security from fastapi.security import HTTPBasic, HTTPBasicCredentials from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(realm="simple", description="HTTPBasic scheme") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.8K bytes - Viewed (0) -
internal/auth/credentials.go
} if length < secretKeyMinLen { return "", errors.New("auth: secret key length is too short") } key := make([]byte, base64.RawStdEncoding.DecodedLen(length)) if _, err := io.ReadFull(random, key); err != nil { return "", err } s := base64.RawStdEncoding.EncodeToString(key) return strings.ReplaceAll(s, "/", "+"), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0) -
internal/hash/reader.go
r.contentHash.Raw, err = base64.StdEncoding.DecodeString(r.contentHash.Encoded) if err != nil || len(r.contentHash.Raw) == 0 { return 0, ChecksumMismatch{Got: r.contentHash.Encoded} } } if sum := r.contentHasher.Sum(nil); !bytes.Equal(r.contentHash.Raw, sum) { err := ChecksumMismatch{ Want: r.contentHash.Encoded, Got: base64.StdEncoding.EncodeToString(sum), }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/kms/IAM.md
setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following format: ```sh MINIO_KMS_SECRET_KEY=<key-name>:<base64-value> ``` First generate a 256 bit random key via: ```sh $ cat /dev/urandom | head -c 32 | base64 - OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw= ``` Now, you can set `MINIO_KMS_SECRET_KEY` like this: ```sh
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
import java.util.Map; import java.util.Map.Entry; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLSocketFactory; import org.bouncycastle.util.encoders.Base64; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.RuntimeCIFSException; import jcifs.ntlmssp.NtlmFlags; import jcifs.ntlmssp.NtlmMessage;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 25.5K bytes - Viewed (0) -
cmd/erasure-multipart.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/base64" "errors" "fmt" "io" "os" "path" "sort" "strconv" "strings" "sync" "time" "github.com/klauspost/readahead" "github.com/minio/minio-go/v7/pkg/set"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0)