Palm DateBook Archive file
application/octet-stream
Magic Bytes
Offset: 0
BE BA FE CA
The Palm DateBook Archive (DBA) is a proprietary file format developed by Palm Computing for storing calendar data within the Palm OS ecosystem. It primarily functions as a backup container for synchronized appointments, scheduling history, and repeat events managed through the Palm Desktop software suite. As a legacy format associated with obsolete hardware, it poses minimal security risks and is primarily encountered today during digital preservation or data migration projects involving older mobile computing devices.
Validation Code
How to validate .dba files in Python
Python
def is_dba(file_path: str) -> bool:
"""Check if file is a valid DBA by magic bytes."""
signature = bytes([0xBE, 0xBA, 0xFE, 0xCA])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .dba files in Node.js
Node.js
function isDBA(buffer: Buffer): boolean {
const signature = Buffer.from([0xBE, 0xBA, 0xFE, 0xCA]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsDBA(data []byte) bool {
signature := []byte{0xBE, 0xBA, 0xFE, 0xCA}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/dba
curl https://filesignature.org/api/v1/dba