I am guessing wood, hammered into holes along with wool or human hair to help seal it up.
So, not really rivets, but pegs?