Pass actually has a similar feature: different directories in your git repo can have different gpg keys, effectively doing the same thing you like.