Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta for arrays #4

Open
zamicol opened this issue Dec 13, 2022 · 0 comments
Open

Meta for arrays #4

zamicol opened this issue Dec 13, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@zamicol
Copy link
Contributor

zamicol commented Dec 13, 2022

Meta for coze arrays would be useful.

Meta should only be populated with values common to all cozies. Any values that are not common must be omitted.

For example, the following should have a meta of "alg": "ES256", "iat": 1670950149,"tmb": "cLj8vsYtMBwYkzoFVZHBZo6SNL8wSdCIjCKAwXNuhOk","typ": "cyphr.me/msg/create"

[{
		"pay": {
			"msg": "1",
			"alg": "ES256",
			"iat": 1670950149,
			"tmb": "cLj8vsYtMBwYkzoFVZHBZo6SNL8wSdCIjCKAwXNuhOk",
			"typ": "cyphr.me/msg/create"
		},
		"sig": "v61PwMA2o6w7jz1Oibinoj3YhP40VWnjCNPRyvZ5-G7dBtPLfXpNNRF3dR_Ph-UQ_yNQZzc5x7P_wZDvkoFkDg"
	},
	{
		"pay": {
			"msg": "2",
			"alg": "ES256",
			"iat": 1670950149,
			"tmb": "cLj8vsYtMBwYkzoFVZHBZo6SNL8wSdCIjCKAwXNuhOk",
			"typ": "cyphr.me/msg/create"
		},
		"sig": "-Jibadhev0yLDXg8zjp13_6w1TFCrQZaFcG5ap0XA0SE3vDXJuXp6rYWWvbWyq1cOJepJEibFwDZQZytEZwiYw"
	},
	{
		"pay": {
			"msg": "3",
			"alg": "ES256",
			"iat": 1670950149,
			"tmb": "cLj8vsYtMBwYkzoFVZHBZo6SNL8wSdCIjCKAwXNuhOk",
			"typ": "cyphr.me/msg/create"
		},
		"sig": "CYvvuDEDPtjJrtbCjl5eLaVgODAwNJj6KuHxqod3c4c8g5ijE3WyhsS9qBrPEtvkDD5qgltiDu_SQ7dqQesX0g"
}]
@zamicol zamicol added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant