GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — snowflake-connector-python/ssd_internal_keys.py at master · byule/snowflake-connector-python

Expand file tree

/

ssd_internal_keys.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
33 lines (25 loc) · 800 Bytes
/

ssd_internal_keys.py

Copy path

File metadata and controls

33 lines (25 loc) · 800 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved.
#
from binascii import unhexlify
# key version
ocsp_internal_dep1_key_ver = 0.1
ocsp_internal_dep2_key_ver = 0.1
# OCSP Hard coded public keys
ocsp_internal_ssd_pub_dep1 = None
ocsp_internal_ssd_pub_dep2 = None
# Default cert if for key update directives
SF_KEY_UPDATE_SSD_DEFAULT_CERT_ID = 0
def ret_int_pub_key_ver(issuer):
if issuer == "dep1":
return ocsp_internal_dep1_key_ver
else:
return ocsp_internal_dep2_key_ver
def ret_wildcard_hkey():
issuer_name_hash = unhexlify('040130')
issuer_key_hash = unhexlify('040130')
serial_number = unhexlify('020100')
hkey = (issuer_name_hash, issuer_key_hash, serial_number)
return hkey
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.