The code for detecting whether or not an OSD is encrypted does not do any checking if the device is bluestore., it just assumes "encrypted = 0".
One possible fix would be to check the path of the block device, similar to the filestore check:
linkpath = os.readlink(block_link)
encrypted = linkpath.startswith('/dev/mapper')