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
Ah, not really, this is an upstream bug, the maximum size is hardcoded as 1 GiB, see the definition of maxmsgsize inside signify.c:
constunsigned long longmaxmsgsize=1UL << 30;
fd=xopen(filename, O_RDONLY | O_NOFOLLOW, 0);
if (fstat(fd, &sb) ==0&&S_ISREG(sb.st_mode)) {
if (sb.st_size>maxmsgsize)
errx(1, "msg too large in %s", filename);
space=sb.st_size+1;
} else {
space=64*1024-1;
}
Created a 2G file for test purposes.
Tried to sign it.
result:
Could you please add support for signing arbitrarily large files?
The text was updated successfully, but these errors were encountered: