You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
The manifest is a JSON dictionary named manifest.json that contains an entry for each file, where the local file path is the entry’s key, and a dictionary object is the entry’s value. This dictionary contains the hashType and hashValue, which is the file’s SHA512 checksum; for example:
Response from Apple on {webServiceURL}/v1/log API:
{"logs":["Unable to generate ICNS file for push notification package"]}
In [email protected]/pushpackage/pushpackage.go in only simple hastable and the checksum is sha1 algorithm instead of sha512 ([email protected]/pushpackage/checksum.go).
package pushpackage
// Package for website push package or wallet pass package.
type Package struct {
z *zip.Writer
// manifest is a map of relative file paths to their SHA checksums
manifest map[string]string
err error
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1. What version of Go are you using (
go version
)?2. What operating system (GOOS) are you using (
go env
) and what version?3. What did you do? (steps to reproduce or a code sample is helpful)
Create package for Apple notification via
Apple V2 documentation
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW24
4. What did you expect to see?
The manifest is a JSON dictionary named manifest.json that contains an entry for each file, where the local file path is the entry’s key, and a dictionary object is the entry’s value. This dictionary contains the hashType and hashValue, which is the file’s SHA512 checksum; for example:
5. What did you see instead?
Response from Apple on
{webServiceURL}/v1/log
API:In
[email protected]/pushpackage/pushpackage.go
in only simple hastable and the checksum issha1
algorithm instead ofsha512
([email protected]/pushpackage/checksum.go
).The text was updated successfully, but these errors were encountered: