Discover Packages
github.com/quexten/goldwarden
browserbiometrics
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Aug 21, 2023
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Directories Index Constants Variables Functions Types DetectAndInstallBrowsers() Main() type EncryptedRecvMessage type EncryptedString type GenericRecvMessage type PayloadMessage type ReceiveMessage type SendMessage type UnencryptedRecvMessage
Documentation
¶
View Source
var (
ErrInvalidBlockSize = errors .New ("invalid blocksize")
ErrInvalidPKCS7Data = errors .New ("invalid PKCS7 data (empty or not padded)")
ErrInvalidPKCS7Padding = errors .New ("invalid padding on input")
)
func DetectAndInstallBrowsers() error
type EncryptedRecvMessage struct {
AppID string `json:"appId"`
Message EncryptedString `json:"message"`
}
type EncryptedString struct {
IV string `json:"iv"`
Mac string `json:"mac"`
Data string `json:"data"`
EncType int `json:"encryptionType"`
}
type GenericRecvMessage struct {
AppID string `json:"appId"`
Message interface{} `json:"message"`
}
top level messages
type PayloadMessage struct {
Command string `json:"command"`
UserId string `json:"userId"`
Timestamp int64 `json:"timestamp"`
PublicKey string `json:"publicKey"`
}
type ReceiveMessage struct {
Timestamp int64 `json:"timestamp"`
Command string `json:"command"`
Response string `json:"response"`
KeyB64 string `json:"keyB64"`
}
type SendMessage struct {
Command string `json:"command"`
AppID string `json:"appId"`
SharedSecret string `json:"sharedSecret"`
Message EncryptedString `json:"message"`
}
type UnencryptedRecvMessage struct {
AppID string `json:"appId"`
Message PayloadMessage `json:"message"`
}
Source Files
¶
Directories
¶
Show internal
Collapse all
Click to show internal directories.
Click to hide internal directories.