mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-17 04:20:59 +01:00
added encryption support
This commit is contained in:
@@ -54,8 +54,12 @@ func ListTable(writer io.Writer, conf *cfg.Config, entries app.DbEntries) error
|
||||
for _, row := range entries {
|
||||
size := len(row.Value)
|
||||
|
||||
if row.Encrypted {
|
||||
row.Value = "<encrypted-content>"
|
||||
}
|
||||
|
||||
if len(row.Bin) > 0 {
|
||||
row.Value = "binary-content"
|
||||
row.Value = "<binary-content>"
|
||||
size = len(row.Bin)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user