hello.. i use this ffmpeg command and the problem is read only the first 3 segments https://prnt.sc/xrm2vd and only when i put the hls_key_info without the key is everything ok what i am doing wrong?

Code:
for file in *.mp4; do ffmpeg -i "$file" -f hls -codec: copy \
   -hls_time 4 -hls_playlist_type vod \
   -hls_allow_cache 1 \
   -master_pl_name "${file%.mp4}".m3u8 \
   -hls_key_info_file /var/www/html/enc.keyinfo \
   -hls_segment_filename ./"${file%.mp4}"%v/segment_%03d.ts ./"${file%.mp4}"%v/done.m3u8 ; done