mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-08 13:01:09 +00:00
internal/stream: reject trailing data (no EOF) after end of stream
This commit is contained in:
10
testdata/testkit/stream_short_chunk
vendored
Normal file
10
testdata/testkit/stream_short_chunk
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
expect: payload failure
|
||||
payload: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
||||
file key: 59454c4c4f57205355424d4152494e45
|
||||
identity: AGE-SECRET-KEY-1XMWWC06LY3EE5RYTXM9MFLAZ2U56JJJ36S0MYPDRWSVLUL66MV4QX3S7F6
|
||||
|
||||
age-encryption.org/v1
|
||||
-> X25519 TEiF0ypqr+bpvcqXNyCVJpL7OuwPdVwPL7KQEbFDOCc
|
||||
EmECAEcKN+n/Vs9SbWiV+Hu0r+E8R77DdWYyd83nw7U
|
||||
--- Vn+54jqiiUCE+WZcEVY3f1sqHjlu/z1LCQ/T7Xm7qI0
|
||||
îÏbÇΑ´3'NhÔòùL[æè.½Ó#Èw
|
||||
Reference in New Issue
Block a user